@fe6/water-pro
Version:
An enterprise-class UI design language and Vue-based implementation
187 lines (186 loc) • 4.5 kB
CSS
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/** @format */
@font-face {
font-weight: bold;
font-family: 'DINAlternate-Bold';
font-style: normal;
src: url(https://cdn.dev.mosh.cn/assets/font/din_alternate_bold.ttf) format('truetype');
}
.ant-checkbox-cascader {
display: flex;
}
.ant-checkbox-cascader-alert {
box-sizing: border-box;
margin: 0;
padding: 0;
font-variant: tabular-nums;
list-style: none;
font-feature-settings: 'tnum';
position: absolute;
z-index: 1050;
box-shadow: 0 2px 8px #00000026;
}
.ant-checkbox-cascader-item {
border: 1px solid #f0f0f0;
background: #fff;
}
.ant-checkbox-cascader-item:nth-of-type(2) {
border-left: none;
border-right: none;
}
.ant-checkbox-cascader-all {
padding: 0 8px;
line-height: 30px;
}
.ant-checkbox-cascader-one {
padding: 0 8px;
line-height: 40px;
position: relative;
display: flex;
justify-content: space-between;
}
.ant-checkbox-cascader-one-arrow {
position: absolute;
right: 8px;
top: 0;
}
.ant-checkbox-cascader-one-label {
cursor: pointer;
display: inline-block;
margin-right: 20px;
}
.ant-checkbox-cascader-select {
box-sizing: border-box;
margin: 0;
padding: 0;
font-size: 14px;
font-variant: tabular-nums;
line-height: 1.5715;
list-style: none;
font-feature-settings: "tnum";
position: relative;
display: inline-block;
cursor: pointer;
}
.ant-checkbox-cascader-select:hover .ant-checkbox-cascader-clear {
opacity: 1;
}
.ant-checkbox-cascader-select-inner {
position: relative;
background-color: #fff;
border: 1px solid #d9d9d9;
border-radius: 2px;
transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
display: flex;
flex-wrap: wrap;
align-items: center;
padding: 1px 11px;
}
.ant-checkbox-cascader-select-placeholder {
flex: 1;
overflow: hidden;
color: #bfbfbf;
white-space: nowrap;
text-overflow: ellipsis;
line-height: 28px;
}
.ant-checkbox-cascader-select-item {
position: relative;
display: flex;
flex: none;
box-sizing: border-box;
max-width: 100%;
height: 24px;
margin-top: 2px;
margin-right: 4px;
margin-bottom: 2px;
padding: 0 4px 0 8px;
line-height: 22px;
background: #f5f5f5;
border: 1px solid #f0f0f0;
border-radius: 2px;
cursor: pointer;
transition: font-size 0.3s, line-height 0.3s, height 0.3s;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
font-size: 14px;
}
.ant-checkbox-cascader-select-item-text {
display: inline-block;
margin-right: 4px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.ant-checkbox-cascader-select-item-remove {
color: inherit;
font-style: normal;
line-height: 0;
text-align: center;
text-transform: none;
vertical-align: -0.125em;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
color: #00000073;
font-weight: bold;
line-height: inherit;
cursor: pointer;
display: inline-block;
font-size: 12px;
transform: scale(0.83333333) rotate(0);
}
.ant-checkbox-cascader-select-item-remove:hover {
color: #000000bf;
}
.ant-checkbox-cascader-select-disabled .ant-checkbox-cascader-select-inner {
background: #f5f5f5;
cursor: not-allowed;
}
.ant-checkbox-cascader-select-disabled .ant-checkbox-cascader-select-item {
color: #bfbfbf;
border-color: #d9d9d9;
cursor: not-allowed;
}
.ant-checkbox-cascader-select-large .ant-checkbox-cascader-select-item {
height: 32px;
line-height: 32px;
}
.ant-checkbox-cascader-select-small .ant-checkbox-cascader-select-item {
height: 16px;
line-height: 14px;
font-size: 12px;
}
.ant-checkbox-cascader-clear {
position: absolute;
top: 50%;
right: 11px;
z-index: 1;
display: inline-block;
width: 12px;
height: 12px;
margin-top: -6px;
color: rgba(0, 0, 0, 0.25);
font-size: 12px;
font-style: normal;
line-height: 1;
text-align: center;
text-transform: none;
background: #fff;
cursor: pointer;
opacity: 0;
transition: color 0.3s ease, opacity 0.15s ease;
text-rendering: auto;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.ant-checkbox-cascader-clear:hover {
color: rgba(0, 0, 0, 0.45);
}