body,
html {
color: #212121;
background: #f8fafb;
}
[chinaz-wrapper] {
max-width: 1200px;
font-size: 14px;
margin: 0 auto;
background: #fff;
box-shadow: 0px 0px 15px 0px rgba(29, 73, 120, 0.1);
border-radius: 6px;
}
[chinaz-wrapper][layout] {
background: unset;
box-shadow: unset;
}
[chinaz-header] {
display: flex;
align-items: center;
height: 56px;
overflow: hidden;
border-bottom: 1px solid #e4e7eb;
gap: 20px;
padding: 0 20px;
font-size: 14px;
}
[chinaz-header][no-padding] {
padding: 0;
}
[chinaz-header][center] {
justify-content: center;
}
[chinaz-header] > a {
position: relative;
display: flex;
height: 100%;
align-items: center;
padding: 0 4px;
color: #212121;
cursor: pointer;
}
[chinaz-header] > a.selected,
[chinaz-header] > a:hover {
color: #1d8eff;
text-decoration: unset;
}
[chinaz-header] > a.selected::after {
position: absolute;
left: 0;
bottom: 0;
width: 100%;
content: " ";
border-bottom: 4px solid #1d8eff;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
}
[chinaz-input-search] {
position: relative;
display: flex;
align-items: flex-start;
font-size: 14px;
}
[chinaz-input-search] [input-box-wrapper] {
position: relative;
width: 700px;
}
[chinaz-input-search] [input-box] {
position: absolute;
width: 100%;
background: #ffffff;
border: 2px solid;
border-color: #1d8eff;
border-radius: 6px 0px 0px 6px;
z-index: 1;
overflow: auto;
}
[chinaz-input-search] [input-box] input {
width: 100%;
height: 44px;
outline: unset;
padding: 0 20px;
border-radius: 6px;
}
[chinaz-input-search] [input-box] [pull-box],
[chinaz-input-search] [input-box] [search-box] {
position: relative;
display: none;
}
[chinaz-input-search] [input-box] [pull-box]::before,
[chinaz-input-search] [input-box] [search-box]::before {
content: "";
position: absolute;
left: 20px;
right: 20px;
height: 1px;
background: #e4e7eb;
}
[history-box] {
padding: 12px 0;
max-height: 200px;
overflow-y: auto;
border-radius: 6px;
}
[history-box] [history-li] {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 20px;
height: 30px;
cursor: pointer;
}
[history-box] [history-li]:hover {
background: rgba(0, 0, 0, 0.02);
}
[history-box] [history-li] [history-li-del] {
display: none;
}
[history-box] [history-li]:hover [history-li-del] {
display: block;
}
[chinaz-input-search] > button {
width: 100px;
height: 48px;
background: #1d8eff;
border-radius: 0px 6px 6px 0px;
color: #fff;
}
[chinaz-input-search] .clear-icon {
display: none;
position: absolute;
top: 11px;
right: 114px;
color: #cccccc;
cursor: pointer;
z-index: 1;
}
[chinaz-card-wrapper]:not([layout]) {
box-shadow: 0px 0px 15px 0px rgba(29, 73, 120, 0.1);
border-radius: 6px;
}
[card-header] {
display: flex;
align-items: center;
width: 100%;
height: 56px;
padding: 0 20px;
background: #f5f9fc;
border-radius: 6px 6px 0 0;
}
[card-header][between] {
justify-content: space-between;
}
[card-container] {
position: relative;
padding: 20px;
background: #fff;
border-radius: 0 0 6px 6px;
}
[card-container][no-padding] {
padding: 0;
}
[card-container][is-loading] {
height: 184px;
overflow: hidden;
}
[card-container] [chinaz-loading] {
display: none;
}
[card-container] [is-empty] {
display: none;
}
[card-container][is-loading] [chinaz-loading] {
position: absolute;
top: 0;
bottom: 0;
right: 0;
left: 0;
display: flex;
z-index: 2;
}
[chinaz-ellipsis] {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
[chinaz-button] {
min-width: 90px;
padding: 0 5px;
height: 36px;
color: #1d8eff;
background: rgba(29, 142, 255, 0.2);
border: 1px solid #1d8eff;
border-radius: 4px;
font-size: 14px;
}
[chinaz-button]:hover {
background: #1a8cff;
color: #fff;
}
[chinaz-button][primary] {
color: #fff;
background: #1d8eff;
border: 1px solid #1d8eff;
}
[chinaz-button][primary-warn] {
color: #ffffff;
background: #ff894d;
border: 1px solid #ff894d;
}
[chinaz-button][warn] {
color: #ff894d;
background: rgba(255, 137, 77, 0.2);
border: 1px solid #ff894d;
}
[chinaz-button][warn]:hover {
background: #ff894d;
color: #fff;
}
[chinaz-button][white] {
color: #212121;
background: #fff;
border: 1px solid #fff;
}
[chinaz-button][white]:hover {
color: #1d8eff;
}
[chinaz-button][primary-white] {
color: #212121;
background: #fff;
border: 1px solid #efefef;
}
[chinaz-button][primary-white]:hover {
color: #1d8eff;
background: #fff;
border: 1px solid #1d8eff;
}
[chinaz-button][no-border] {
border: unset;
}
[chinaz-button][green] {
width: 108px;
height: 32px;
background: #25c168;
border-radius: 5px;
color: #fff;
border: 1px solid #25c168;
}
[chinaz-button][green]:hover {
background: #25c168;
opacity: 0.8;
}
[chinaz-description] {
display: flex;
flex-wrap: wrap;
border: 1px solid #e4e7eb;
border-left: unset;
border-bottom: unset;
}
[chinaz-description][layout],
[chinaz-description][layout] [description-item] [item-label],
[chinaz-description][layout] [description-item] [item-value] {
border: unset;
border-bottom: unset;
border-right: unset;
border-left: unset;
background: unset;
}
[description-item] {
display: flex;
width: 100%;
}
[chinaz-description][label-right] [description-item] [item-label] {
justify-content: right;
}
[chinaz-description][label-left] [description-item] [item-label] {
justify-content: left;
}
[description-item] [item-label] {
display: flex;
width: 130px;
min-height: 44px;
padding: 0 12px;
align-items: center;
justify-content: center;
background: #f5f9fc;
border-bottom: 1px solid #e4e7eb;
border-right: 1px solid #e4e7eb;
border-left: 1px solid #e4e7eb;
}
[description-item]:last-child [item-label] {
/* border-bottom: 1px solid transparent; */
}
[description-item] [item-label][right] {
justify-content: flex-end;
}
[description-item] [item-label][left] {
justify-content: flex-start;
}
[description-item] [item-value] {
display: flex;
align-items: center;
flex: 1;
padding: 0 12px;
border-bottom: 1px solid #e4e7eb;
}
[description-item] [item-value][layout] {
padding: 0;
}
[description-item] [item-value][no-border] {
border-bottom: unset;
}
[description-item]:last-child [item-value] {
/* border-bottom: 1px solid transparent; */
}
[chinaz-table] {
position: relative;
width: 100%;
padding: 0 20px;
}
[chinaz-table][no-padding] {
padding: unset;
}
[chinaz-table] thead th {
font-weight: normal;
height: 48px;
}
[chinaz-table] thead tr {
border-bottom: 1px solid #e4e7eb;
}
[chinaz-table]:not([no-padding]) thead tr th,
[chinaz-table]:not([no-padding]) tbody tr td {
padding: 0 12px;
}
[chinaz-table] table {
width: 100%;
}
[chinaz-table] tr {
height: 48px;
background-color: #fff;
}
[chinaz-table] tbody tr:nth-child(odd) {
background: rgba(0, 0, 0, 0.02);
}
[chinaz-table] tr:not(:last-child) {
border-bottom: 1px solid #e4e7eb;
}
[chinaz-table][table-vip] [table-vip-mask] {
display: flex;
}
[chinaz-table] [table-vip-mask]::after {
content: " ";
position: absolute;
left: 0;
right: 0;
bottom: 0;
top: 48px;
z-index: 0;
backdrop-filter: blur(3px);
}
[chinaz-table] [table-vip-mask] [mask-content] {
display: flex;
align-items: center;
justify-content: center;
content: " ";
position: absolute;
left: 0;
right: 0;
bottom: 0;
top: 48px;
z-index: 1;
}
[chinaz-collapse] [collapse-item]:not(:last-child) {
border-bottom: 1px solid #e4e7eb;
}
[chinaz-collapse] [collapse-item] [collapse-item-header] {
height: 60px;
}
[chinaz-collapse] [collapse-item] [collapse-item-content] {
display: none;
}
[chinaz-collapse]
[collapse-item]
[collapse-item-header][show]
[collapse-item-content] {
display: block;
}
[chinaz-collapse]
[collapse-item]
[collapse-item-header][show]
[collapse-icon]::before {
content: "\e6bd";
}
[chinaz-collapse] [collapse-item] [collapse-item-active] {
cursor: pointer;
}
[vip-tag] {
position: relative;
}
[vip-tag]:not([small]) {
background: #fcf9f5;
}
[vip-tag]:not([small])::before {
position: absolute;
left: 0;
top: 0;
content: " ";
width: 32px;
height: 16px;
background: url(/uploads/image/ctimages/tool-tag-vip.png) no-repeat
50% 50%;
background-size: 100%;
z-index: 1;
}
[vip-tag][right]::before {
left: auto;
right: 0;
z-index: 1;
}
[vip-tag][small]::before {
content: "";
position: absolute;
background: url(/uploads/image/ctiip/viptag.png) no-repeat;
background-size: 100%;
width: 20px;
height: 10px;
right: -1px;
top: -1px;
z-index: 1;
}
[vip-tag][small][text-top]::before {
top: -5px;
}
[chinaz-link] {
color: #1d8eff;
}
[chinaz-link]:hover {
color: rgba(26, 140, 255, 0.5);
}
[chinaz-loading] {
display: flex;
min-height: 184px;
align-items: center;
justify-content: center;
flex-wrap: wrap;
background: #fff;
}
[chinaz-loading] > div {
font-size: 13px;
color: #b3b3b3;
text-align: center;
}
[chinaz-loading] > div::before {
display: block;
content: " ";
width: 60px;
height: 60px;
background: url(/uploads/image/ctimages/loading.png) no-repeat 50%
50%;
background-size: 100%;
transform: scale(1);
animation: rotate 2.6s linear infinite;
margin: 0 auto 8px;
}
@keyframes rotate {
from {
transform: rotate(0deg);
/* 从 0 度开始旋转 */
}
to {
transform: rotate(360deg);
/* 旋转到 360 度 */
}
}
[chinaz-modal] {
display: none;
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
z-index: 999;
}
[chinaz-modal][show] {
display: block;
}
[chinaz-modal][center][show] {
display: flex;
}
[chinaz-modal-mask] {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
z-index: 1;
}
[chinaz-modal][center] [chinaz-modal-wrapper] {
margin: auto;
}
[chinaz-modal-wrapper] {
width: 500px;
position: relative;
border-radius: 12px;
box-shadow: 0px 0px 15px 0px rgba(0, 38, 77, 0.15);
background: #fff;
z-index: 2;
}
[modal-header] {
position: relative;
font-size: 16px;
height: 64px;
line-height: 64px;
padding: 0 20px;
}
[modal-header][border] {
border-bottom: 1px solid #e4e7eb;
}
[modal-header] [close-icon] {
position: absolute;
width: 16px;
height: 16px;
cursor: pointer;
right: 20px;
top: 16px;
line-height: 1;
font-size: 12px;
color: rgba(0, 38, 77, 0.35);
z-index: 1;
}
[modal-header] [close-icon]::before {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
[modal-content] {
padding: 20px;
}
[chinaz-tooltips] {
position: relative;
display: inline;
}
[tooltips-wrapper] {
position: absolute;
box-shadow: 0px 0px 15px 0px rgba(0, 38, 77, 0.15);
background: #fff;
border-radius: 4px;
z-index: 66;
}
[tooltips-container] {
position: relative;
}
[tooltips-wrapper][top] [tooltips-arrow] {
bottom: 0;
left: 50%;
transform: translatex(-50%) translatey(100%) rotate(180deg);
}
[tooltips-arrow] {
position: absolute;
z-index: 1;
display: block;
pointer-events: none;
width: 16px;
height: 16px;
overflow: hidden;
}
[tooltips-arrow]::before {
position: absolute;
bottom: 0;
inset-inline-start: 0;
width: 16px;
height: 8px;
background: #fff;
clip-path: polygon(
1.6568542494923806px 100%,
50% 1.6568542494923806px,
14.34314575050762px 100%,
1.6568542494923806px 100%
);
clip-path: path(
"m 0 8 a 4 4 0 0 0 2.82842712474619 6.82842712474619 l 6.585786437626905 3.0710678118654755 a 2 2 0 0 1 9.414213562373096 3.0710678118654755 l 13.17157287525381 6.82842712474619 a 4 4 0 0 0 16 8 z"
);
content: "";
}
[tooltips-arrow]::after {
content: "";
position: absolute;
width: 8.970562748477143px;
height: 8.970562748477143px;
bottom: 0;
inset-inline: 0;
margin: auto;
border-radius: 0 0 2px 0;
transform: translatey(50%) rotate(-135deg);
box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.1);
z-index: 0;
background: transparent;
}
[chinaz-radio] {
display: flex;
gap: 15px;
}
[radio-item-container] {
display: flex;
align-items: center;
gap: 8px;
cursor: pointer;
}
[chinaz-radio] input[type="radio"]:checked {
border-color: #0000;
background-color: currentcolor;
background-size: 100% 100%;
background-position: 70%;
background-repeat: no-repeat;
background-image: ;
}
[chinaz-radio] input[type="radio"] {
-webkit-appearance: none;
appearance: none;
padding: 0;
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
display: inline-block;
vertical-align: middle;
background-origin: border-box;
-webkit-user-select: none;
user-select: none;
flex-shrink: 0;
height: 16px;
width: 16px;
color: #1a8cff;
background-color: #fff;
border-color: #e4e7eb;
border-width: 1px;
border-radius: 50%;
}
[chinaz-radio] input[type="radio"] label {
cursor: pointer;
color: #212121;
}
[chinaz-radio] input[type="radio"]:checked label {
color: #1a8cff;
}
[chinaz-input]:not([disabled]):hover,
[chinaz-input]:focus {
border-color: #1a8cff;
}
[chinaz-radio-btn] {
position: relative;
padding: 0 12px;
min-width: 80px;
height: 36px;
line-height: 36px;
background: #ffffff;
border: 1px solid #ebebeb;
display: flex;
align-items: center;
justify-content: center;
color: #212121;
font-size: 14px;
cursor: pointer;
border-right-color: transparent;
overflow: hidden;
}
[chinaz-radio-btn]:hover {
color: #1a8cff;
}
[chinaz-radio-btn][vip]::after {
content: "";
position: absolute;
background: url(/uploads/image/ctiip/viptag.png) no-repeat;
background-size: 20px 10px;
width: 20px;
height: 10px;
right: -1px;
top: -1px;
}
[chinaz-radio-btn]:first-child {
border-radius: 4px 0px 0px 4px;
}
[chinaz-radio-btn]:last-child {
border-radius: 0px 4px 4px 0px;
border-right-color: #e4e7eb;
}
[chinaz-radio-btn][active] {
color: #ffffff;
background: #1a8cff;
border-color: #1a8cff;
}
[chinaz-radio-btn-wrapper] {
display: flex;
}
[chinaz-radio-btn-wrapper][auto-width] [chinaz-radio-btn] {
min-width: unset;
}
[chinaz-radio-btn-wrapper][tab] {
padding: 5px;
background: #edf3fc;
border-radius: 5px;
}
[chinaz-radio-btn-wrapper][tab] [chinaz-radio-btn] {
background: #edf3fc;
border-color: #edf3fc;
}
[chinaz-radio-btn-wrapper][tab] [chinaz-radio-btn][active] {
background: #fff;
border-color: #fff;
border-radius: 5px;
color: #212121;
}
[chinaz-radio-btn-wrapper][tab-title] {
flex-wrap: wrap;
background: #fff;
}
[chinaz-radio-btn-wrapper][tab-title] [chinaz-radio-btn] {
background: #fff;
border-color: #fff;
height: 28px;
margin: 7px 0;
}
[chinaz-radio-btn-wrapper][tab-title] [chinaz-radio-btn][active] {
background: #175dff;
border-color: #175dff;
border-radius: 20px;
color: #fff;
}
[chinaz-tab] {
text-align: left;
}
[chinaz-tab] [chinaz-tab-title] {
position: relative;
left: 0;
height: 50px;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #e4e7eb;
transition: all 0.2s;
}
[chinaz-tab] [chinaz-tab-title] [li] {
position: relative;
line-height: 50px;
min-width: 65px;
margin: 0;
padding: 0 15px;
text-align: center;
display: inline-block;
vertical-align: middle;
font-size: 14px;
transition: all 0.2s;
cursor: pointer;
}
[chinaz-tab-brief] > [chinaz-tab-title] [active],
[chinaz-tab] [chinaz-tab-title] [li]:hover {
color: #1d8eff;
}
[chinaz-tab-brief] > [chinaz-tab-title] [active]:after {
position: absolute;
left: 0;
top: 0;
content: "";
width: 100%;
height: 51px;
border: none;
border-radius: 0;
border-bottom: 2px solid #1d8eff;
}
/* 多选框 */
[tool-select-options-container] input[type="checkbox"] {
display: inline-block;
text-align: center;
vertical-align: middle;
margin-right: 10px;
position: relative;
width: 14px;
height: 14px;
background: #ffffff;
/* 行高问题 会导致 before after 位移变动 */
line-height: 14px;
cursor: pointer;
pointer-events: none;
}
[tool-select-label] {
cursor: pointer;
}
[chinaz-select] {
position: relative;
min-width: 120px;
}
[chinaz-select][open] [tool-select-options-container] {
display: block;
}
[chinaz-select][open] [tool-select-icon] {
transform: translatey(-50%) scale(0.8) rotate(90deg);
}
[tool-select] {
background: #ffffff;
border: 1px solid #d2dcef;
border-radius: 5px;
cursor: pointer;
position: relative;
padding: 10px 30px 10px 15px;
height: 36px;
display: flex;
align-items: center;
}
[chinaz-select][no-border] [tool-select]{
border: none;
border-radius: unset;
}
[chinaz-select][center-border] [tool-select]{
border-top: 2px solid #1d8eff;
border-bottom: 2px solid #1d8eff;
}
/* [chinaz-select][center-border] [tool-select]{
display: flex;
align-items: center;
} */
[chinaz-select][no-border][big] [tool-select-icon]{
right: 12px;
font-size: 15px;
}
[tool-select] [tool-select-icon] {
position: absolute;
right: 8px;
color: #d2dcef;
top: 50%;
transform: translatey(-50%) scale(0.8) rotate(-90deg);
}
[tool-select-options-container] {
position: absolute;
width: 100%;
left: 0;
display: none;
top: calc(100% 1px);
padding-top: 8px;
z-index: 2;
}
[tool-select-options-bg] {
width: 100%;
padding: 11px 0;
background: #ffffff;
border-radius: 10px;
box-shadow: 0px 0px 30px 0px #eef2f6;
overflow-y: auto;
overflow-x: hidden;
max-height: 197px;
}
[tool-select-options-item] {
padding: 9px 20px;
font-size: 14px;
line-height: 18px;
cursor: pointer;
}
[tool-select-value] {
font-size: 14px;
line-height: 16px;
width: 100%;
text-align: left;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
[tool-select-value][placeholder] {
color: #999;
}
[tool-select-options-item]:hover,
[tool-select-options-item][active] {
background: #f7f9fc;
}
/* 级联选择 */
[chinaz-cascade] [tool-select-options-container] {
width: auto;
}
[chinaz-cascade] [tool-select-options-item] {
min-width: 100px;
}
[chinaz-cascade] [tool-cascade-content-list] {
display: none;
}
[chinaz-cascade] [tool-select-options-bg] {
padding: 11px;
}
[chinaz-checkbox-wrapper] {
display: flex;
flex-wrap: wrap;
}
[chinaz-checkbox-wrapper] [checkbox-items]:has(:checked) {
color: #175dff;
}
[checkbox-items] {
display: flex;
align-items: center;
gap: 3px;
height: 42px;
cursor: pointer;
margin-right: 30px;
}
[checkbox-items] input[type="checkbox"] {
display: none;
}
[checkbox-items] .checkmark {
display: flex;
align-items: center;
justify-content: center;
width: 16px;
height: 16px;
background-color: #fff;
border: 1px solid #e4e7eb;
border-radius: 3px;
margin-right: 8px;
position: relative;
}
[checkbox-items] input[type="checkbox"]:checked .checkmark {
background-color: #175dff;
border-color: #175dff;
}
[checkbox-items] .checkmark::after {
position: relative;
top: -1.5px;
content: "";
display: none;
}
[checkbox-items] input[type="checkbox"]:checked .checkmark::after {
display: block;
}
[checkbox-items] .checkmark::after {
width: 6px;
height: 12px;
border: solid white;
border-width: 0 2px 2px 0;
transform: rotate(45deg);
}
/* 新增无背景 checkbox */
[checkbox-items][checkbox-empty] {
height: auto;
gap: 0;
color: #212121;
line-height: 22px;
margin-right: 0px;
}
[checkbox-items][checkbox-empty][disabled] {
color: #919191;
cursor: not-allowed;
}
[checkbox-items][checkbox-empty][disabled] input[type="checkbox"] .checkmark {
background: #f2f2f2 !important;
border: 1px solid #919191 !important;
}
[checkbox-items][checkbox-empty] input[type="checkbox"] .checkmark {
border-radius: 3px;
background-color: #ffffff !important;
border: 1px solid #212121;
font-size: 20px;
font-family: "iconfont" !important;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
[checkbox-items][checkbox-empty][all] input[type="checkbox"] .checkmark {
border: 1px solid #1a8cff;
}
[checkbox-items][checkbox-empty][all] {
color: #1a8cff;
}
[checkbox-items][checkbox-empty] .checkmark::after {
width: 20px;
height: 20px;
content: "\e777";
border: none;
transform: rotate(0deg) scale(0.5);
line-height: 1;
margin-top: 3px;
margin-left: -2px;
}
/* ================= */
[chinaz-input] {
background: #ffffff;
border: 1px solid #e4e7eb;
border-radius: 4px;
padding: 0 12px;
min-height: 36px;
outline: none;
}
[watermarked] {
position: relative;
/* 确保伪元素相对于这个容器定位 */
}
[watermarked]::before {
width: 100%;
height: 100%;
background-image: url(/uploads/image/ctiip/watermark.png);
background-size: 1200px;
left: 0;
top: 0;
right: 0;
bottom: 0;
position: absolute;
z-index: 1;
content: " ";
pointer-events: none;
}
.chinaz-input-box {
position: absolute;
display: none;
box-shadow: 0px 0px 15px 0px rgba(0, 38, 77, 0.15);
background: #fff;
border-radius: 4px;
padding: 10px;
z-index: 2;
}
.chinaz-input-box input {
padding: 5px;
border: 1px solid #e4e7eb;
border-radius: 4px;
width: 150px;
font-size: 14px;
outline: none;
}
.chinaz-input-box button {
padding: 5px 10px;
margin-left: 10px;
border: none;
font-size: 14px;
background-color: #1d8eff;
color: #fff;
border-radius: 4px;
cursor: pointer;
}
[login-tip-bg] {
background: linear-gradient(90deg, #e0f0ff, #d1e8ff 100%, #d1e8ff 100%);
}
[vip-tip-bg] {
background: linear-gradient(90deg, #fff7e5, #ffeec7 100%);
}
/* [right-top-gif]{
position: relative;
}
[right-top-gif]::before{
content: " ";
position: absolute;
right: 0;
top: -28px;
background-image: url(/uploads/image/ctimages/righttop.gif);
pointer-events: none;
background-repeat: no-repeat;
background-size: 80px 30px;
width: 80px;
height: 30px;
} */