美的项目前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1419 lines
30 KiB

/* stylelint-disable */
@import url(../src/assets/less/common.less);
/********************************* 自定义变量 ************************************/
@font-family: @fant-family;
@modal-form-background-color: #fcfcfc;
@form-control-fontsize: 12px;
@form-label-fontsize: 12px;
@form-lineheight: 12px;
@form-element-height: 22px;
@form-element-lineheight: 22px;
@btn-height: 24px;
@btn-lineheight: 24px;
@table-fontsize: 12px;
@tab-border-topcolor: @theme-color;
@border-color: #d9d9d9;
@arrow-color: @theme-color;
@table-selected-row-bg: #9ce7fd; //
@table-selected-row-hover-bg: #9ce7fd; //
/********************* body ************************/
html,
body {
font-family: @font-family;
overflow: hidden hidden;
}
///自定义设置
.thor-fit {
width: auto;
overflow: auto;
position: relative;
}
/******************************** menu **************************/
.ant-menu-vertical > .ant-menu-item,
.ant-menu-vertical-left > .ant-menu-item,
.ant-menu-vertical-right > .ant-menu-item,
.ant-menu-inline > .ant-menu-item,
.ant-menu-vertical > .ant-menu-submenu > .ant-menu-submenu-title,
.ant-menu-vertical-left > .ant-menu-submenu > .ant-menu-submenu-title,
.ant-menu-vertical-right > .ant-menu-submenu > .ant-menu-submenu-title,
.ant-menu-inline > .ant-menu-submenu > .ant-menu-submenu-title {
height: 36px;
line-height: 36px;
font-size: 14px !important;
margin: 0;
}
.ant-menu-vertical .ant-menu-submenu,
.ant-menu-vertical-left .ant-menu-submenu,
.ant-menu-vertical-right .ant-menu-submenu,
.ant-menu-inline .ant-menu-submenu {
padding-bottom: 0;
}
.ant-menu-vertical .ant-menu-item:not(:last-child),
.ant-menu-vertical-left .ant-menu-item:not(:last-child),
.ant-menu-vertical-right .ant-menu-item:not(:last-child),
.ant-menu-inline .ant-menu-item:not(:last-child) {
margin-bottom: 0;
}
.ant-menu-sub.ant-menu-inline > .ant-menu-item,
.ant-menu-sub.ant-menu-inline > .ant-menu-submenu > .ant-menu-submenu-title {
height: 36px;
line-height: 36px;
list-style-position: inside;
list-style-type: disc;
}
.ant-menu-inline > .ant-menu-item {
font-size: 14px !important;
font-weight: 400;
}
/******************************** tab 导航菜单 **************************/
.ant-tabs {
box-sizing: border-box;
margin: 0;
padding: 0;
color: rgb(0 0 0 / 65%);
font-size: @form-control-fontsize;
font-variant: tabular-nums;
line-height: 1.5;
list-style: none;
font-feature-settings: 'tnum';
position: relative;
overflow: hidden;
zoom: 1;
}
.ant-tabs-nav-container {
font-family: @font-family;
font: @form-control-fontsize Tahoma;
margin-top: 0;
height: 36px;
background: #f3f3f3;
}
.tab-layout-tabs {
position: fixed;
}
/* 修改 ant-tabs 样式 */
.tab-layout-tabs.ant-tabs {
position: relative;
z-index: top;
width: calc(100vw - 200px);
.ant-tabs-bar {
margin: 0;
border: none;
height: 40px;
}
}
.tab-layout-tabs.ant-tabs {
&.ant-tabs-card .ant-tabs-tab,
.ant-tabs-tab-active {
border: 0;
padding: 0 24px !important;
background: #ffffff;
margin-right: 3px !important;
color: #000000;
height: 40px;
line-height: 40px;
.ant-tabs-close-x {
width: 12px !important;
height: 12px !important;
opacity: 0 !important;
cursor: pointer !important;
font-size: 12px !important;
margin: 0 !important;
position: absolute;
top: 40%;
right: 6px;
}
&:hover .ant-tabs-close-x {
opacity: 1 !important;
}
}
}
.tab-layout-tabs.ant-tabs {
&.ant-tabs-card .ant-tabs-tab-active {
background: #ffffff;
}
}
.tab-layout-tabs.ant-tabs.ant-tabs-card > .ant-tabs-bar {
.ant-tabs-tab {
border-left: 0;
}
.ant-tabs-tab-active {
border-left: 0;
border-bottom: 3px solid @theme-color !important;
background-color: #ffffff;
}
}
.ant-tabs-bar {
margin: 0;
border-bottom: 1px solid #e8e8e8;
outline: none;
transition: padding 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-nav-container {
height: 40px;
}
.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab {
height: 40px;
margin: 0;
margin-right: 2px;
padding: 0 16px;
line-height: 40px;
background: @theme-color-container;
color: @theme-color-blur;
border: 0 solid #e8e8e8;
border-radius: 4px 4px 0 0;
transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-active {
height: 40px;
color: @theme-color;
background-color: #ffffff;
border-radius: 4px 4px 0 0;
}
.ant-tabs .ant-tabs-top-content > .ant-tabs-tabpane,
.ant-tabs .ant-tabs-bottom-content > .ant-tabs-tabpane {
background-color: #ffffff;
box-shadow: 6px 6px 6px 6px rgb(0 0 0 / 16%) !important;
}
////内部Tab类型,横向的菜单
.ant-modal-tab {
.ant-tabs-nav-container,
.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab {
background-color: @theme-color-container !important;
height: 30px !important;
line-height: 30px !important;
}
.ant-tabs-nav-container {
.ant-tabs-tab {
height: 30px !important;
line-height: 30px !important;
}
.ant-tabs-tab-active {
height: 30px !important;
background: #ffffff;
border-radius: 6px 6px 0 0 !important;
box-shadow: 0 6px 6px 0 rgb(0 0 0 / 16%) !important;
}
}
}
.ant-modal-tab.ant-tabs {
box-shadow: 1px 1px 6px 2px rgb(0 0 0 / 16%) !important;
}
/************************ 固定底部 *************************************/
.layout .ant-footer-fixedfooter {
position: relative;
bottom: 0;
right: 0;
z-index: 9;
width: 100%;
transition: width 0.2s;
height: 30px;
background-color: @theme-color-container;
color: #cccccc;
}
/******************************** common.less **********************************/
///
.ant-card {
height: 100%;
}
.ant-card-body {
padding: 0;
zoom: 1;
margin: 0;
}
/* 列表中有图片的加这个样式 参考用户管理 */
.anty-img-wrap {
height: 25px;
position: relative;
}
.anty-img-wrap > img {
max-height: 100%;
}
/* 列表中范围查询样式 */
.query-group-cust {
width: calc(50% - 10px);
}
.query-group-split-cust::before {
content: '~';
width: 20px;
display: inline-block;
text-align: center;
}
/* erp风格子表外框padding设置 */
.ant-card-wider-padding.cust-erp-sub-tab > .ant-card-body {
padding: 5px 12px;
}
/* 内嵌子表背景颜色 */
.j-inner-table-wrapper /deep/ .ant-table-expanded-row .ant-table-wrapper .ant-table-tbody .ant-table-row {
background-color: #ffffff;
}
/** 隐藏样式-modal确定按钮 */
.jee-hidden {
display: none;
}
/**************** alter ****************************/
.ant-alert {
box-sizing: border-box;
bottom: 0;
color: rgb(0 0 0 / 65%);
font-size: @form-control-fontsize;
font-variant: tabular-nums;
line-height: 1.5;
list-style: none;
font-feature-settings: 'tnum';
padding: 2px 4px 2px 18px;
word-wrap: break-word;
border-radius: 0;
position: absolute;
width: 400px;
}
.ant-alert-icon {
position: absolute;
top: 4.5px;
left: 2px;
}
.ant-alert-info {
background-color: #ffffff;
border: 0 solid #e8e8e8;
}
/******************* model *******************/
.ant-modal {
height: calc(100vh - 100px);
}
.ant-modal-header {
padding: 0;
height: 40px;
color: rgb(0 0 0 / 65%);
background: #ffffff;
border-bottom: 1px solid #e8e8e8;
border-radius: 4px 4px 0 0;
}
.ant-modal-title {
margin: 0;
color: rgb(0 0 0 / 85%);
font-weight: bolder;
font-size: @form-control-fontsize;
word-wrap: break-word;
height: 30px;
line-height: 30px;
}
.ant-modal-close {
top: 2px;
}
.ant-modal-close-x {
display: block;
width: 28px;
height: 28px;
font-size: 16px;
font-style: normal;
line-height: 32px !important;
text-align: center;
text-transform: none;
text-rendering: auto;
}
.ant-modal-body {
padding: 8px;
font-size: 14px;
line-height: 1.5;
word-wrap: break-word;
// background-color: @theme-color-container;
.ant-spin-container:first {
box-shadow: 0 0 10px 0 rgb(0 0 0 / 10%);
padding-top: 6px;
padding-bottom: 6px;
background-color: #ffffff;
}
}
.ant-modal-footer {
padding: 6px 16px;
text-align: right;
background: transparent;
border-top: 1px solid #e8e8e8;
border-radius: 0 0 4px 4px;
}
.ant-drawer-header {
position: relative;
height: 31px;
padding: 6px 12px;
color: rgb(0 0 0 / 65%);
///background: linear-gradient(to right, #fff 0%, #c5daf0 50%, #b1cee7 100%);
background-color: #ffffff;
border-bottom: 1px solid #e8e8e8;
border-radius: 4px 4px 0 0;
}
.ant-drawer-title {
margin: 0;
color: rgb(0 0 0 / 85%);
font-weight: bolder;
font-size: @form-control-fontsize;
line-height: @form-element-lineheight;
}
.ant-drawer-close {
position: absolute;
top: 0;
right: 0;
z-index: 10;
display: block;
width: 28px;
height: 28px;
padding: 0;
color: rgb(0 0 0 / 45%);
font-weight: 700;
font-size: 16px;
font-style: normal;
line-height: 28px;
text-align: center;
text-transform: none;
text-decoration: none;
background: transparent;
border: 0;
outline: 0;
cursor: pointer;
transition: color 0.3s;
text-rendering: auto;
}
.drawer-bootom-button {
position: absolute;
bottom: 0;
width: 100%;
border-top: 1px solid #e8e8e8;
padding: 6px 16px;
text-align: right;
left: 0;
background: #ffffff;
border-radius: 0 0 2px 2px;
}
/* 列表页面弹出modal */
.ant-modal-cust-warp {
height: 100%;
}
/* 弹出modal Y轴滚动条 */
.ant-modal-cust-warp .ant-modal-body {
height: calc(100% - 110px) !important;
overflow-y: auto;
}
/* 弹出modal 先有content后有body 故滚动条控制在body上 */
.ant-modal-cust-warp .ant-modal-content {
height: 90% !important;
overflow-y: hidden;
}
////对话框样式修改
.ant-modal-confirm {
.ant-modal,
.ant-modal-content,
.ant-modal-body {
border-radius: 6px;
}
}
/**************** serch *******************/
.table-page-search-wrapper {
padding: 6px;
border: 0 solid #e8e8e8;
}
.table-page-search-wrapper .ant-form-inline {
border-bottom: 1px solid #e8e8e8;
border-left: 1px solid #e8e8e8;
}
.table-page-search-wrapper .ant-form-inline .ant-form-item {
display: flexbox;
display: flex;
margin-bottom: 0;
margin-right: 0;
padding-right: 2px;
border-bottom: 0 solid #e8e8e8;
border-left: 0 solid #e8e8e8;
}
.table-page-search-wrapper .ant-form-inline .ant-form-item > .ant-form-item-label {
line-height: 32px;
padding-right: 0;
width: auto;
}
.table-page-search-wrapper .ant-form-inline .ant-form-item .ant-form-item-control-wrapper {
flex: 1 1;
display: inline-block;
vertical-align: middle;
}
.table-page-search-wrapper .ant-col .ant-form-item-label {
background-color: @modal-form-background-color;
min-width: 100px;
padding-right: 0;
}
.table-page-search-wrapper {
.w-col.md-col {
display: flex;
align-items: center;
height: 30px;
// line-height: 30px;
}
}
.table-page-search-wrapper .ant-row .ant-form-item {
background-color: #ffffff;
}
/******************************************************** antdesignform ************************************/
.ant-form {
background-color: #ffffff;
font-size: @form-control-fontsize;
border-right: 1px solid #e8e8e8;
border-top: 1px solid #e8e8e8;
}
.ant-form label {
font-size: @form-label-fontsize;
}
.ant-form-item {
box-sizing: border-box;
margin: 0;
padding: 0;
color: rgb(0 0 0 / 65%);
font-size: @form-control-fontsize;
font-variant: tabular-nums;
line-height: 1;
font-feature-settings: 'tnum';
margin-bottom: 0;
vertical-align: top;
border-bottom: 1px solid #e8e8e8;
border-left: 1px solid #e8e8e8;
}
.ant-form .ant-form-item {
background-color: #ffffff;
}
.ant-input {
box-sizing: border-box;
margin: 1.5px 0;
font-variant: tabular-nums;
list-style: none;
font-feature-settings: 'tnum';
position: relative;
display: inline-block;
width: 100%;
height: @form-element-height;
padding: 2px;
color: rgb(0 0 0 / 65%);
font-size: @form-control-fontsize;
line-height: @form-lineheight;
background-color: #ffffff;
background-image: none;
border: 1px solid #d9d9d9;
border-radius: 0;
transition: all 0.3s;
}
.ant-input-number {
box-sizing: border-box;
font-variant: tabular-nums;
list-style: none;
font-feature-settings: 'tnum';
position: relative;
width: 100%;
height: @form-element-height;
color: rgb(0 0 0 / 65%);
font-size: @form-control-fontsize;
line-height: @form-lineheight;
background-color: #ffffff;
background-image: none;
transition: all 0.3s;
display: inline-block;
margin: 1.5px 0;
padding: 0;
border: 1px solid #d9d9d9;
border-radius: 0;
}
.ant-input-number-input {
width: 100%;
height: @form-element-height;
padding: 2px;
text-align: left;
background-color: transparent;
border: 0;
border-radius: 0;
outline: 0;
transition: all 0.3s linear;
appearance: textfield !important;
}
.ant-form-item-label {
display: inline-block;
overflow: hidden;
line-height: 26px;
height: 26px;
white-space: nowrap;
text-align: right;
vertical-align: middle;
background-color: @modal-form-background-color;
}
.ant-form-item-control {
position: relative;
line-height: @form-element-lineheight;
zoom: 1;
}
.ant-select {
box-sizing: border-box;
margin: 1.5px 0;
padding: 0;
font-size: @form-label-fontsize;
font-variant: tabular-nums;
line-height: @btn-lineheight;
list-style: none;
font-feature-settings: 'tnum';
position: relative;
display: inline-block;
outline: 0;
}
.ant-select-disabled .ant-select-selection {
background-color: #f5f5f5 !important;
}
.ant-select-selection {
display: block;
box-sizing: border-box;
background-color: #ffffff;
border: 1px solid #d9d9d9;
border-top-width: 1.02px;
border-radius: 1px;
outline: none;
transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
user-select: none;
}
.ant-select-dropdown {
box-shadow: 1px 1px 6px 3px #00000066;
border-radius: 0;
margin-top: -2px;
}
.ant-select-selection-selected-value {
float: left;
max-width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
padding-left: 5px;
}
/* 解决下拉框样式问题 错误情况下样式 20220829 reeve st */
.has-error .ant-select-selection {
border-color: #f5222d !important;
}
/* 解决下拉框样式问题 20220829 reeve ed */
.ant-select-dropdown-menu li:nth-child(odd) {
background-color: #ffffff;
}
.ant-select-dropdown-menu li:nth-child(even) {
background-color: #fafafa;
}
.ant-select-dropdown-menu-item {
height: @form-element-height;
font-size: @form-control-fontsize;
line-height: @form-element-lineheight;
padding: 0 0 0 8px;
}
.ant-select-selection--single {
position: relative;
// height: @form-element-height;
height: 24px;
line-height: @form-element-lineheight;
cursor: pointer;
}
.ant-select-selection--multiple {
min-height: @form-element-height;
padding-bottom: 0;
cursor: text;
zoom: 1;
}
.ant-select-selection__rendered {
line-height: 20px;
margin-left: 0;
}
.ant-select-selection--multiple > ul > li,
.ant-select-selection--multiple .ant-select-selection__rendered > ul > li {
height: 19px;
margin-top: 0;
line-height: 19px;
}
.ant-select-arrow {
display: inline-block;
font-style: normal;
line-height: calc(@form-element-lineheight - 2px);
height: calc(@form-element-height - 2px);
width: calc(@form-element-height - 4px);
border-left: 1px solid @border-color;
text-align: center;
text-transform: none;
vertical-align: -0.125em;
text-rendering: optimizelegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
position: absolute;
top: 0;
right: 0;
margin-top: 0;
color: rgb(0 0 0 / 62%);
font-size: @form-control-fontsize;
transform-origin: 50% 50%;
}
.ant-select-arrow > * {
line-height: calc(@form-element-lineheight - 2px);
}
.ant-select-selection__clear {
right: calc(@form-element-height - 4px);
}
.ant-select-sm .ant-select-selection__clear,
.ant-select-sm .ant-select-arrow {
right: 0;
}
.ant-form-explain,
.ant-form-extra {
clear: both;
min-height: 22px;
margin-top: -22px;
color: rgb(0 0 0 / 45%);
font-size: @form-control-fontsize;
line-height: 1.5;
transition: color 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
display: none;
}
.ant-tree {
box-sizing: border-box;
color: rgb(0 0 0 / 65%);
font-size: @form-control-fontsize;
font-variant: tabular-nums;
line-height: 1.5;
list-style: none;
font-feature-settings: 'tnum';
margin: 0;
padding: 0;
}
.ant-radio-button-wrapper {
position: relative;
display: inline-block;
height: 22px;
margin: 0;
padding: 0 10px;
color: rgb(0 0 0 / 65%);
line-height: 20px;
background: #ffffff;
border: 1px solid #d9d9d9;
border-top-width: 1.02px;
border-left: 0;
cursor: pointer;
transition: color 0.3s, background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.ant-list-item {
padding: 0;
}
.ant-input::input-placeholder {
color: transparent;
}
.ant-input::placeholder {
color: transparent;
}
.ant-input:placeholder {
color: transparent;
}
.ant-input:input-placeholder {
color: transparent;
}
.ant-selct::input-placeholder {
color: transparent;
}
.ant-selct::placeholder {
color: transparent;
}
.ant-selct:placeholder {
color: transparent;
}
.ant-selct:input-placeholder {
color: transparent;
}
.ant-select-selection__placeholder,
.ant-select-search__field__placeholder {
color: transparent;
}
.antnumber::input-placeholder {
color: transparent;
}
.antnumber::placeholder {
color: transparent;
}
.antnumber:placeholder {
color: transparent;
}
.antnumber:input-placeholder {
color: transparent;
}
.antnumber-input::input-placeholder {
color: transparent;
}
.antnumber-input::placeholder {
color: transparent;
}
.antnumber-input:placeholder {
color: transparent;
}
.antnumber-input:input-placeholder {
color: transparent;
}
/********************************* drawer ************************************/
.ant-drawer-body {
background-color: @modal-form-background-color;
}
.ant-drawer-content {
background-color: @modal-form-background-color;
}
.ant-drawer-title {
margin: 0;
font-weight: bolder;
font-size: 9pt;
line-height: 30px;
padding: 0 20px;
///background-color: #1890ff;
background-color: #ffffff;
color: #000000;
height: 30px;
left: 0;
top: 0;
position: absolute;
}
/**************************************** button ***********************************************/
.table-operator {
padding-left: 6px;
background: #ffffff;
border-bottom: solid 1px @border-color;
border: solid 1px @border-color;
padding-top: 4px;
margin-bottom: 0;
}
/** Button按钮间距 */
.table-operator .ant-btn {
margin: 0 8px 4px 0;
}
.table-operator .ant-btn-group .ant-btn {
margin: 0;
}
.table-operator .ant-btn-group .ant-btn:last-child {
margin: 8px 8px 4px;
}
.ant-btn {
line-height: 1.499;
height: @btn-height;
font-size: @form-control-fontsize;
border-radius: 2px;
padding: 0 10px;
}
///页面按钮样式
.ant-btn-primary,
.ant-modal-footer .ant-btn {
background: #ffffff;
border: 1px solid @theme-color;
color: @theme-color;
}
.table-operator > .ant-dropdown-menu {
background-color: @theme-color;
color: #ffffff;
}
.ant-modal-footer .ant-btn:last-child {
background-color: @theme-color;
color: #ffffff;
}
/******************************** table ****************************************/
.ant-table {
box-sizing: border-box;
margin: 0;
padding: 0;
font-size: @table-fontsize;
font-variant: tabular-nums;
line-height: 1.5;
list-style: none;
font-feature-settings: 'tnum';
position: relative;
clear: both;
}
.ant-table-fixed-right{
height: 100%;
}
.ant-table-fixed-right > .ant-table-body-outer{
height: calc(100% - 29px);
}
.ant-table > table > th {
font-weight: 500;
}
.ant-table-middle > .ant-table-content > .ant-table-header > table > .ant-table-thead > tr > th,
.ant-table-middle > .ant-table-content > .ant-table-body > table > .ant-table-thead > tr > th,
.ant-table-middle > .ant-table-content > .ant-table-scroll > .ant-table-header > table > .ant-table-thead > tr > th,
.ant-table-middle > .ant-table-content > .ant-table-scroll > .ant-table-body > table > .ant-table-thead > tr > th,
.ant-table-middle > .ant-table-content > .ant-table-fixed-left > .ant-table-header > table > .ant-table-thead > tr > th,
.ant-table-middle
> .ant-table-content
> .ant-table-fixed-right
> .ant-table-header
> table
> .ant-table-thead
> tr
> th,
.ant-table-middle
> .ant-table-content
> .ant-table-fixed-left
> .ant-table-body-outer
> .ant-table-body-inner
> table
> .ant-table-thead
> tr
> th,
.ant-table-middle
> .ant-table-content
> .ant-table-fixed-right
> .ant-table-body-outer
> .ant-table-body-inner
> table
> .ant-table-thead
> tr
> th {
font-weight: 600;
}
.ant-table-middle > .ant-table-content > .ant-table-header > table > .ant-table-thead > tr > th,
.ant-table-middle > .ant-table-content > .ant-table-body > table > .ant-table-thead > tr > th,
.ant-table-middle > .ant-table-content > .ant-table-scroll > .ant-table-header > table > .ant-table-thead > tr > th,
.ant-table-middle > .ant-table-content > .ant-table-scroll > .ant-table-body > table > .ant-table-thead > tr > th,
.ant-table-middle > .ant-table-content > .ant-table-fixed-left > .ant-table-header > table > .ant-table-thead > tr > th,
.ant-table-middle
> .ant-table-content
> .ant-table-fixed-right
> .ant-table-header
> table
> .ant-table-thead
> tr
> th,
.ant-table-middle
> .ant-table-content
> .ant-table-fixed-left
> .ant-table-body-outer
> .ant-table-body-inner
> table
> .ant-table-thead
> tr
> th,
.ant-table-middle
> .ant-table-content
> .ant-table-fixed-right
> .ant-table-body-outer
> .ant-table-body-inner
> table
> .ant-table-thead
> tr
> th,
.ant-table-middle > .ant-table-content > .ant-table-header > table > .ant-table-tbody > tr > td,
.ant-table-middle > .ant-table-content > .ant-table-body > table > .ant-table-tbody > tr > td,
.ant-table-middle > .ant-table-content > .ant-table-scroll > .ant-table-header > table > .ant-table-tbody > tr > td,
.ant-table-middle > .ant-table-content > .ant-table-scroll > .ant-table-body > table > .ant-table-tbody > tr > td,
.ant-table-middle > .ant-table-content > .ant-table-fixed-left > .ant-table-header > table > .ant-table-tbody > tr > td,
.ant-table-middle
> .ant-table-content
> .ant-table-fixed-right
> .ant-table-header
> table
> .ant-table-tbody
> tr
> td,
.ant-table-middle
> .ant-table-content
> .ant-table-fixed-left
> .ant-table-body-outer
> .ant-table-body-inner
> table
> .ant-table-tbody
> tr
> td,
.ant-table > .ant-table-content > .ant-table-body > table > .ant-table-thead > tr > th,
.ant-table > .ant-table-content > .ant-table-body > table > .ant-table-tbody > tr > td,
.ant-table > .ant-table-content > .ant-table-scroll > .ant-table-header > table > .ant-table-thead > tr > th,
.ant-table > .ant-table-content > .ant-table-scroll > .ant-table-body > table > .ant-table-tbody > tr > td,
.ant-table-middle
> .ant-table-content
> .ant-table-fixed-right
> .ant-table-body-outer
> .ant-table-body-inner
> table
> .ant-table-tbody
> tr
> td {
padding: 2px;
padding: 2px 6px;
height: 28px;
}
/* 固定列-滚动条的轨道-颜色透明 起到隐藏小横线的效果 */
.ant-table-fixed-left .ant-table-body-inner::-webkit-scrollbar-track {
background: transparent !important;
}
.ant-table-thead > tr > th {
// background-color: @theme-color-table-th;
background-color: #f0f1f6;
}
.ant-table-tbody > tr.ant-table-row-selected td {
color: inherit;
background: @table-selected-row-bg;
}
.ant-table-tbody > tr.ant-table-row-selected.ant-table-row-hover td {
color: inherit;
background: @table-selected-row-bg;
}
.ant-table-thead > tr.ant-table-row-hover:not(.ant-table-expanded-row, .ant-table-row-selected) > td,
.ant-table-tbody > tr.ant-table-row-hover:not(.ant-table-expanded-row, .ant-table-row-selected) > td,
.ant-table-thead > tr:hover:not(.ant-table-expanded-row, .ant-table-row-selected) > td,
.ant-table-tbody > tr:hover:not(.ant-table-expanded-row, .ant-table-row-selected) > td {
background: @table-selected-row-bg;
}
.ant-table-tbody > tr.ant-table-row-selected > td.ant-table-column-sort,
.ant-table-tbody > tr:hover.ant-table-row-selected > td,
.ant-table-tbody > tr:hover.ant-table-row-selected > td.ant-table-column-sort,
.ant-table-thead > tr.ant-table-row-selected > td.ant-table-column-sort,
.ant-table-thead > tr:hover.ant-table-row-selected > td,
.ant-table-thead > tr:hover.ant-table-row-selected > td.ant-table-column-sort {
background: #99fdfd;
}
.ant-table-pagination.ant-pagination {
float: right;
margin: 0 20px;
height: 28px;
margin-top: 5px;
}
.ant-table-tbody > .table-striped td {
background-color: #fafafa !important;
}
.ant-table-tbody > .table-selected td {
background-color: #fbc9f2 !important;
}
.ant-table-tbody > .table-bill-selected td {
background-color: #e7a1f5 !important;
}
.ant-pagination {
box-sizing: border-box;
margin: 0;
padding: 0;
color: rgb(0 0 0 / 65%);
font-size: @form-control-fontsize;
font-variant: tabular-nums;
line-height: 1.5;
list-style: none;
font-feature-settings: 'tnum';
}
.ant-table-placeholder {
position: absolute !important;
z-index: 1;
width: 100%;
top: 24px;
border-width: 0;
padding: 0;
margin-top: 16px;
background-color: transparent;
}
.ant-table-footer {
position: relative;
padding: 5px 0;
border-radius: 0;
}
.ant-table-bordered.ant-table-empty .ant-table-placeholder {
border: 0 !important;
}
/******************************* 头像 ************************************/
.ant-avatar {
height: 22px;
width: 22px;
line-height: 22px;
}
/***************************************** 字体设置粗体 ******************************/
.entry.title {
font-weight: bolder;
font-size: 10pt;
}
/*********************************** 特别按钮 ************************************/
.round-button {
border-radius: 100%;
color: #ffffff;
background-color: #40a9ff;
border-color: #40a9ff;
text-shadow: 0 -1px 0 rgb(0 0 0 / 12%);
box-shadow: 0 2px 0 rgb(0 0 0 / 5%);
border: 1px solid transparent;
}
/************************** data-tooltip span标签的提示 ***************************/
[data-tooltip] {
display: inline-block;
position: relative;
cursor: help;
}
/* Tooltip styling */
[data-tooltip]::before {
content: attr(data-tooltip);
display: none;
position: absolute;
background: #000000;
color: #ffffff;
padding: 4px 8px;
font-size: 14px;
line-height: 1.4;
min-width: 100px;
text-align: center;
border-radius: 4px;
}
/* Dynamic horizontal centering */
[data-tooltip-position='top']::before,
[data-tooltip-position='bottom']::before {
left: 50%;
transform: translateX(-50%);
}
/* Dynamic vertical centering */
[data-tooltip-position='right']::before,
[data-tooltip-position='left']::before {
top: 50%;
transform: translateY(-50%);
}
[data-tooltip-position='top']::before {
bottom: 100%;
margin-bottom: 6px;
}
[data-tooltip-position='right']::before {
left: 100%;
margin-left: 6px;
}
[data-tooltip-position='bottom']::before {
top: 100%;
margin-top: 6px;
}
[data-tooltip-position='left']::before {
right: 100%;
margin-right: 6px;
}
/* Tooltip arrow styling/placement */
[data-tooltip]::after {
content: '';
display: none;
position: absolute;
width: 0;
height: 0;
border-color: transparent;
border-style: solid;
}
/* Dynamic horizontal centering for the tooltip */
[data-tooltip-position='top']::after,
[data-tooltip-position='bottom']::after {
left: 50%;
margin-left: -6px;
}
/* Dynamic vertical centering for the tooltip */
[data-tooltip-position='right']::after,
[data-tooltip-position='left']::after {
top: 50%;
margin-top: -6px;
}
[data-tooltip-position='top']::after {
bottom: 100%;
border-width: 6px 6px 0;
border-top-color: #000000;
}
[data-tooltip-position='right']::after {
left: 100%;
border-width: 6px 6px 6px 0;
border-right-color: #000000;
}
[data-tooltip-position='bottom']::after {
top: 100%;
border-width: 0 6px 6px;
border-bottom-color: #000000;
}
[data-tooltip-position='left']::after {
right: 100%;
border-width: 6px 0 6px 6px;
border-left-color: #000000;
}
/* Show the tooltip when hovering */
[data-tooltip]:hover::before,
[data-tooltip]:hover::after {
display: block;
z-index: 50;
}
/***************************************** 页面提示信息 *******************************************/
.ant-message {
box-sizing: border-box;
margin: 0;
padding: 0;
color: rgb(0 0 0 / 65%);
font-size: 14px;
font-variant: tabular-nums;
line-height: 1.5;
list-style: none;
font-feature-settings: 'tnum';
position: fixed;
top: 40%;
left: 0;
z-index: 1010;
width: 100%;
pointer-events: none;
}
/********************************************************************************************** */
.j-table-force-nowrap {
min-height: 150px;
table{
.ant-table-selection-column {
min-width: 50px;
padding: 0 !important;
}
td, th {
white-space: nowrap;
}
}
}
/***************** entryHead **************************************/
.biz-entry-h,
.biz-entry-l {
.entry-element_lists {
.display_flex;
float: left;
}
.table-operator {
.display_flex;
width: 100%;
padding-top: 4px;
padding-bottom: 4px;
.ant-btn {
height: 22px;
margin: 0 8px 0 0;
}
}
.table-operator button {
float: left;
}
.btn-cycle {
text-align: center;
border-radius: 8px;
background: @theme-color;
color: #ffffff;
font-weight: bold;
font-size: 14px;
line-height: 16px;
position: absolute;
}
.help {
width: 16px;
height: 16px;
display: inline-block;
cursor: pointer;
margin: 2px 0 0 2px;
position: absolute;
}
.ant-form-item {
border-bottom: 0 solid #e8e8e8;
border-left: 0;
}
.center {
text-align: center;
}
}
.biz-entry-h > .ant-row,
.biz-entry-l > .ant-row {
border-bottom: 1px solid #e8e8e8;
border-left: 1px solid #e8e8e8;
border-right: 1px solid #e8e8e8;
}
.biz-entry-l {
.table-page-search-wrapper {
padding: 0;
}
.ant-table-empty .ant-table-body {
min-height: 148px !important;
}
.ant-empty-normal {
margin: 0 8px !important;
}
}
.biz-entry-right_container {
.display_flex;
flex-direction: column;
padding: 6px;
border: 1px solid @theme-color-border;
margin-left: 4px;
box-shadow: 0 1px 1px rgb(99 92 92 / 8.2%) inset;
.ant-empty-normal {
margin: 0 8px !important;
}
}