@import './theme.less';
|
|
@font-face {
|
font-family: siYuanHeiTi;
|
src: url('../assets/font/SourceHanSansCN-Regular-2.otf');
|
}
|
|
@font-face {
|
font-family: AlibabaPuHuiTi;
|
src: url('../assets/font/Alibaba_PuHuiTi_2.0_55_Regular_85_Bold.ttf');
|
}
|
|
@font-face {
|
font-family: DingTalk;
|
src: url('../assets/font/DingTalk_JinBuTi_Regular.ttf');
|
}
|
|
@font-face {
|
font-family: DouYu;
|
src: url('../assets/font/DingTalk_JinBuTi_Regular.ttf');
|
}
|
|
html,
|
body {
|
margin: 0;
|
padding: 0;
|
height: 100%;
|
width: 100%;
|
overflow: hidden;
|
}
|
|
#root {
|
font-size: @font-size-base;
|
line-height: @line-height-base;
|
// font-family: siYuanHeiTi;
|
color: @text-color;
|
background-color: @bg-color;
|
height: 100%;
|
width: 100%;
|
overflow: hidden;
|
}
|
|
h1,
|
h2,
|
h3,
|
h4,
|
h5,
|
.h6 {
|
font-weight: 600;
|
color: @text-color;
|
margin-bottom: 8px;
|
}
|
|
h1 {
|
font-size: 30px;
|
line-height: 38px;
|
}
|
|
h2 {
|
font-size: 24px;
|
line-height: 32px;
|
}
|
|
h3 {
|
font-size: 18px;
|
line-height: 26px;
|
}
|
|
h4 {
|
font-size: 16px;
|
line-height: 24px;
|
}
|
|
h5 {
|
font-size: 14px;
|
line-height: 22px;
|
}
|
|
.h6 {
|
font-size: 20px;
|
line-height: 28px;
|
}
|
|
ul {
|
margin: 0;
|
list-style: none;
|
padding: 0;
|
}
|
|
pre {
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji',
|
'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
white-space: pre-wrap;
|
word-wrap: break-word;
|
margin-bottom: 0;
|
}
|
|
// 滚动条样式
|
::-webkit-scrollbar {
|
width: 8px;
|
height: 8px;
|
background-color: #dfdfdf;
|
}
|
|
::-webkit-scrollbar-track {
|
background-color: @bg-color;
|
}
|
|
::-webkit-scrollbar-thumb {
|
border-radius: 8px;
|
background-color: #dfdfdf;
|
}
|
|
// ant-tabs样式
|
.ant-tabs-tab {
|
padding-bottom: 4px !important;
|
}
|
|
// form表单标题加粗
|
.ant-form-item-label {
|
font-weight: 600;
|
}
|
|
.tableSearch {
|
.ant-form-item-label {
|
font-weight: normal;
|
}
|
}
|
|
// TimePicker 不让展开的日历组件左右晃动
|
.ant-picker-panel-container {
|
margin-left: 0 !important;
|
}
|
|
// table 标题不缩略
|
.ant-table-thead>tr>th {
|
white-space: inherit;
|
}
|
|
// row 组件下的form的item设置边距
|
.ant-row {
|
.ant-form-item {
|
margin-bottom: 0;
|
}
|
}
|
|
// tooltip下的样式
|
.ant-tooltip {
|
max-width: 600px;
|
|
.public-a {
|
&:hover {
|
color: #ffffff;
|
}
|
}
|
|
.public-rightBorder {
|
&::before {
|
border-color: #ffffff;
|
}
|
}
|
}
|
|
// Descriptions 描述列表
|
.ant-descriptions-item-content {
|
overflow: hidden;
|
}
|
|
// antd提示modal层级
|
.ant-modal-wrap,
|
.ant-modal-mask {
|
z-index: 1005;
|
}
|
|
// 文本省略
|
.ellipsis-text-1 {
|
overflow: hidden;
|
text-overflow: ellipsis;
|
white-space: nowrap;
|
}
|
|
.ellipsis-text-2 {
|
-webkit-box-orient: vertical;
|
display: -webkit-box;
|
overflow: hidden;
|
text-overflow: ellipsis;
|
-webkit-line-clamp: 2;
|
}
|
|
.ellipsis-text-3 {
|
-webkit-box-orient: vertical;
|
display: -webkit-box;
|
overflow: hidden;
|
text-overflow: ellipsis;
|
-webkit-line-clamp: 3;
|
}
|
|
// 主颜色
|
.public-color {
|
color: @main-color;
|
}
|
|
// 下滑虚线
|
.public-underline {
|
cursor: pointer;
|
border-bottom: 1px dashed;
|
display: inline-block;
|
}
|
|
.public-buttonMargin {
|
margin-right: 16px;
|
}
|
|
// 星号
|
.leftRequired {
|
color: #d1021c;
|
margin-left: 4px;
|
}
|
|
.pageSearch {
|
background-color: #ffffff;
|
border-radius: @border-radius-base;
|
padding: 16px;
|
|
.ant-input-affix-wrapper,
|
.ant-picker,
|
.ant-select {
|
width: 100%;
|
}
|
}
|
|
.pageTabs {
|
width: 100%;
|
display: flex;
|
align-items: center;
|
justify-content: space-between;
|
|
&-action {
|
display: flex;
|
}
|
}
|
|
.pageTable {
|
background-color: #ffffff;
|
padding: 16px;
|
|
.ant-pagination {
|
margin: 16px 0 0;
|
}
|
}
|
|
.public-a {
|
cursor: pointer;
|
|
&:hover {
|
color: @main-color;
|
}
|
}
|
|
.public-a-no {
|
cursor: no-drop;
|
color: #d9d9d9;
|
}
|
|
.public-span {
|
position: relative;
|
|
&::before {
|
content: '';
|
position: absolute;
|
border-left: 1px solid rgba(0, 0, 0, 0.1);
|
top: 0;
|
bottom: 0;
|
left: -5px;
|
}
|
}
|
|
// tag
|
.public-tag {
|
display: inline-block;
|
height: 22px;
|
border: 1px solid;
|
border-radius: 2px;
|
font-size: 12px;
|
line-height: 20px;
|
padding: 0 8px;
|
|
&-default {
|
background-color: @tag-color;
|
border-color: @border-color-base;
|
}
|
|
&-tagRed {
|
color: #f5222d;
|
border-color: #ffa39e;
|
background-color: #fff1f0;
|
}
|
|
&-tagBlue {
|
color: #2f54eb;
|
border-color: #adc6ff;
|
background-color: #f0f5ff;
|
}
|
|
&-tagBlue2 {
|
color: #1890ff;
|
border-color: #91d5ff;
|
background-color: #e6f7ff;
|
}
|
|
&-tagGreen {
|
color: #52c41a;
|
border-color: #b7eb8f;
|
background-color: #f6ffed;
|
}
|
|
&-tagOrange {
|
color: #fa8c16;
|
border-color: #ffd591;
|
background-color: #fff7e6;
|
}
|
|
&-tagPurple {
|
color: #722ed1;
|
border-color: #d3adf7;
|
background-color: #f9f0ff;
|
}
|
}
|
|
// 字体左侧border
|
.public-rightBorder {
|
position: relative;
|
margin-left: 16px;
|
|
&::before {
|
content: '';
|
position: absolute;
|
border-left: 1px solid rgba(0, 0, 0, 0.2);
|
top: 50%;
|
margin-top: -7px;
|
height: 14px;
|
left: -8px;
|
}
|
}
|
|
// button
|
.public-mainBtn {
|
border-color: @main-color;
|
color: @main-color;
|
}
|
|
// 当事人姓名卡片展示样式
|
.public-nameCard {
|
display: flex;
|
padding: 8px;
|
|
&-card {
|
position: relative;
|
width: 66px;
|
height: 66px;
|
border-radius: 10px;
|
font-size: 30px;
|
line-height: 66px;
|
text-align: center;
|
color: #ffffff;
|
margin-right: 16px;
|
|
&-blue {
|
background: linear-gradient(138deg, #1890ff 0%, rgba(24, 144, 255, 0.75) 100%);
|
|
.public-nameCard-card-check,
|
.public-nameCard-card-bottomRight {
|
color: #1890ff;
|
}
|
}
|
|
&-orange {
|
background: linear-gradient(135deg, #ff5500, rgba(255, 85, 0, 0.65) 100%);
|
|
.public-nameCard-card-check,
|
.public-nameCard-card-bottomRight {
|
color: #ff5500;
|
}
|
}
|
|
&:hover {
|
.public-nameCard-card-check {
|
height: 32px;
|
}
|
}
|
|
&-check {
|
position: absolute;
|
bottom: 0;
|
width: 100%;
|
font-size: 12px;
|
height: 0;
|
transition: height 0.5s;
|
line-height: 32px;
|
text-align: center;
|
background-color: rgba(255, 255, 255, 0.9);
|
overflow: hidden;
|
}
|
|
&-bottomRight {
|
position: absolute;
|
bottom: 0;
|
right: 0;
|
background-color: rgba(255, 255, 255, 0.9);
|
overflow: hidden;
|
height: 18px;
|
font-size: 12px;
|
line-height: 14px;
|
border-top-left-radius: 10px;
|
padding: 2px 4px;
|
}
|
}
|
|
&-card-mini {
|
position: relative;
|
width: 24px;
|
height: 24px;
|
border-radius: 5px;
|
font-size: 12px;
|
line-height: 24px;
|
text-align: center;
|
color: #ffffff;
|
|
&-blue {
|
background: linear-gradient(138deg, #1890ff 0%, rgba(24, 144, 255, 0.75) 100%);
|
|
.public-nameCard-card-check,
|
.public-nameCard-card-bottomRight {
|
color: #1890ff;
|
}
|
}
|
|
&-orange {
|
background: linear-gradient(135deg, #ff5500, rgba(255, 85, 0, 0.65) 100%);
|
|
.public-nameCard-card-check,
|
.public-nameCard-card-bottomRight {
|
color: #ff5500;
|
}
|
}
|
|
&:hover {
|
.public-nameCard-card-check {
|
height: 32px;
|
}
|
}
|
|
&-check {
|
position: absolute;
|
bottom: 0;
|
width: 100%;
|
font-size: 12px;
|
height: 0;
|
transition: height 0.5s;
|
line-height: 32px;
|
text-align: center;
|
background-color: rgba(255, 255, 255, 0.9);
|
overflow: hidden;
|
}
|
|
&-bottomRight {
|
position: absolute;
|
bottom: 0;
|
right: 0;
|
background-color: rgba(255, 255, 255, 0.9);
|
overflow: hidden;
|
height: 18px;
|
font-size: 12px;
|
line-height: 14px;
|
border-top-left-radius: 10px;
|
padding: 2px 4px;
|
}
|
}
|
|
&-content {
|
flex: 1;
|
overflow: hidden;
|
}
|
|
&-title {
|
display: flex;
|
align-items: center;
|
}
|
|
&-tag {
|
font-size: 12px;
|
line-height: 20px;
|
border-radius: 2px;
|
padding: 0 4px;
|
display: flex;
|
align-items: center;
|
|
&-blue {
|
background: #e6f7ff;
|
color: #1890ff;
|
border: 1px solid #91d5ff;
|
}
|
|
&-grey {
|
background: #fafafa;
|
color: rgba(0, 0, 0, 0.85);
|
border: 1px solid #d9d9d9;
|
}
|
|
&-orange {
|
background: #fff2e8;
|
color: #fa541c;
|
border: 1px solid #ffbb96;
|
}
|
}
|
}
|
|
//来访登记当事人
|
.public-personCard {
|
display: flex;
|
padding: 8px;
|
|
&-card {
|
position: relative;
|
width: 66px;
|
height: 66px;
|
border-radius: 10px;
|
font-size: 30px;
|
line-height: 66px;
|
text-align: center;
|
color: #ffffff;
|
margin-right: 16px;
|
|
&-blue {
|
background: @main-color;
|
|
.public-personCard-card-check,
|
.public-personCard-card-bottomRight {
|
color: #1890ff;
|
}
|
}
|
|
&-orange {
|
background: linear-gradient(135deg, #ff5500, rgba(255, 85, 0, 0.65) 100%);
|
|
.public-personCard-card-check,
|
.public-personCard-card-bottomRight {
|
color: #ff5500;
|
}
|
}
|
|
&:hover {
|
.public-personCard-card-check {
|
height: 32px;
|
}
|
}
|
|
&-check {
|
position: absolute;
|
bottom: 0;
|
width: 100%;
|
font-size: 12px;
|
height: 0;
|
transition: height 0.5s;
|
line-height: 32px;
|
text-align: center;
|
background-color: rgba(255, 255, 255, 0.9);
|
overflow: hidden;
|
}
|
|
&-bottomRight {
|
position: absolute;
|
bottom: 0;
|
right: 0;
|
background-color: rgba(255, 255, 255, 0.9);
|
overflow: hidden;
|
height: 18px;
|
font-size: 12px;
|
line-height: 14px;
|
border-top-left-radius: 10px;
|
padding: 2px 4px;
|
}
|
}
|
|
&-card-mini {
|
position: relative;
|
width: 24px;
|
height: 24px;
|
border-radius: 5px;
|
font-size: 12px;
|
line-height: 24px;
|
text-align: center;
|
color: #ffffff;
|
|
&-blue {
|
background: linear-gradient(138deg, #1890ff 0%, rgba(24, 144, 255, 0.75) 100%);
|
|
.public-personCard-card-check,
|
.public-personCard-card-bottomRight {
|
color: #1890ff;
|
}
|
}
|
|
&-orange {
|
background: linear-gradient(135deg, #ff5500, rgba(255, 85, 0, 0.65) 100%);
|
|
.public-personCard-card-check,
|
.public-personCard-card-bottomRight {
|
color: #ff5500;
|
}
|
}
|
|
&:hover {
|
.public-personCard-card-check {
|
height: 32px;
|
}
|
}
|
|
&-check {
|
position: absolute;
|
bottom: 0;
|
width: 100%;
|
font-size: 12px;
|
height: 0;
|
transition: height 0.5s;
|
line-height: 32px;
|
text-align: center;
|
background-color: rgba(255, 255, 255, 0.9);
|
overflow: hidden;
|
}
|
|
&-bottomRight {
|
position: absolute;
|
bottom: 0;
|
right: 0;
|
background-color: rgba(255, 255, 255, 0.9);
|
overflow: hidden;
|
height: 18px;
|
font-size: 12px;
|
line-height: 14px;
|
border-top-left-radius: 10px;
|
padding: 2px 4px;
|
}
|
}
|
|
&-content {
|
flex: 1;
|
overflow: hidden;
|
}
|
|
&-title {
|
display: flex;
|
align-items: center;
|
}
|
|
&-tag {
|
font-size: 12px;
|
line-height: 20px;
|
border-radius: 2px;
|
padding: 0 4px;
|
overflow: hidden;
|
white-space: nowrap;
|
text-overflow: ellipsis;
|
|
&-blue {
|
background: #e6f7ff;
|
color: #1890ff;
|
border: 1px solid #91d5ff;
|
}
|
|
&-grey {
|
background: #fafafa;
|
color: rgba(0, 0, 0, 0.85);
|
border: 1px solid #d9d9d9;
|
}
|
|
&-orange {
|
background: #fff2e8;
|
color: #fa541c;
|
border: 1px solid #ffbb96;
|
}
|
}
|
}
|
|
// 警告颜色
|
.public-danger {
|
color: @error-color;
|
}
|
|
// 文书文件卡片展示样式
|
.public-fileCard {
|
position: relative;
|
padding: 8px;
|
border-radius: 10px;
|
display: flex;
|
align-items: center;
|
width: 354px;
|
border: 1px solid @divider-color;
|
|
&-noBorder {
|
border: none;
|
padding-bottom: 0;
|
}
|
|
&-noBorder2 {
|
border: none;
|
}
|
|
img {
|
width: 50px;
|
height: 60px;
|
margin-right: 16px;
|
}
|
|
&-main {
|
flex: 1;
|
overflow: hidden;
|
}
|
|
.ant-typography-ellipsis-single-line {
|
display: block;
|
}
|
|
&-action {
|
margin-top: 4px;
|
}
|
|
&-del {
|
position: absolute;
|
font-size: 20px;
|
top: -10px;
|
right: -8px;
|
cursor: pointer;
|
color: @error-color;
|
}
|
|
&-text {
|
padding: 8px 8px 0 14px;
|
font-size: 12px;
|
line-height: 20px;
|
color: @text-color-secondary;
|
}
|
}
|
|
// 字体背景颜色
|
.public-fontBg {
|
background-color: @main-color-1;
|
}
|
|
// 系列案图标样式
|
.public-folder {
|
color: #ffcf5c;
|
font-size: 22px;
|
}
|
|
//字节弹窗
|
.arco-modal {
|
border-radius: 0;
|
width: 900px;
|
|
.arco-modal-header {
|
padding: 0 16px;
|
|
.arco-modal-title {
|
text-align: left;
|
font-size: 16px;
|
font-family: PingFang SC, PingFang SC-400;
|
font-weight: 400;
|
color: #1d2129;
|
}
|
}
|
|
.arco-modal-content {
|
padding: 16px;
|
max-height: 700px;
|
}
|
|
.arco-modal-close-icon {
|
width: 20px;
|
height: 20px;
|
background: #86909C;
|
border-radius: 50%;
|
top: 14px;
|
right: 16px;
|
|
.arco-icon {
|
color: #fff;
|
width: 16px;
|
height: 16px;
|
left: 2px;
|
top: 2px;
|
}
|
|
&:hover {
|
.arco-icon {
|
color: #86909C;
|
}
|
}
|
}
|
}
|
|
//字节对话框
|
.arco-modal-simple {
|
width: 400px;
|
|
.arco-modal-header {
|
padding: 0;
|
margin-bottom: 0;
|
}
|
|
.arco-modal-footer {
|
text-align: right;
|
margin-top: 0;
|
}
|
}
|
|
//弹窗底部按钮
|
.dialogFooter {
|
width: 100%;
|
margin-top: 16px;
|
display: flex;
|
justify-content: flex-start;
|
align-items: center;
|
|
.dialogPrimary {
|
margin-right: 16px;
|
}
|
|
.dialogBack {}
|
}
|
|
// .arco-btn-primary:not(.arco-btn-disabled) {
|
// background-color: @main-color;
|
|
// &:hover {
|
// background-color: @main-color;
|
// }
|
// }
|
|
.arco-btn-primary:not(.arco-btn-disabled) {
|
background-color: @main-color;
|
}
|
|
.arco-btn-primary:not(.arco-btn-disabled):not(.arco-btn-loading):hover {
|
background-color: @main-color;
|
}
|