iep-ui
Version:
An enterprise-class UI design language and Vue-based implementation
126 lines (125 loc) • 3.19 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 */
/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
width: 6px;
background-color: transparent;
}
/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
-webkit-box-shadow: none;
border-radius: 4px;
background-color: transparent;
}
/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
border-radius: 6px;
-webkit-box-shadow: none;
background-color: rgba(144, 147, 153, 0.3);
}
/*定义最上方和最下方的按钮*/
::-webkit-scrollbar-button {
display: none;
background-color: #252540;
border: 1px solid #252540;
}
.ant-iep-tab-treeselect {
position: relative;
}
.ant-iep-tab-treeselect .anticon-down {
color: rgba(0, 0, 0, 0.45);
}
.ant-iep-tab-treeselect-wrapper {
margin-top: 4px;
background: #fff;
border-radius: 4px;
transition: all 0.3s;
border-color: rgba(0, 0, 0, 0.09);
box-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.16), 0 3px 6px 0 rgba(0, 0, 0, 0.12), 0 5px 12px 4px rgba(0, 0, 0, 0.09);
padding: 4px 11px;
}
.ant-iep-tab-treeselect-wrapper .ant-tabs-bar {
margin-bottom: 6px;
}
.ant-iep-tab-treeselect-wrapper .ant-tabs-tab {
margin: 0 32px 0 0;
}
.ant-iep-tab-treeselect-tbas {
margin-top: 4px;
}
.ant-iep-tab-treeselect-scrollbar {
height: 400px;
}
.ant-iep-tab-treeselect-input {
box-sizing: border-box;
margin: 0;
padding: 0;
color: rgba(0, 0, 0, 0.85);
font-size: 14px;
font-variant: tabular-nums;
line-height: 1.5715;
list-style: none;
font-feature-settings: 'tnum';
position: relative;
display: inline-block;
width: 100%;
text-align: start;
}
.ant-iep-tab-treeselect-input-box {
box-sizing: border-box;
margin: 0;
font-variant: tabular-nums;
list-style: none;
font-feature-settings: 'tnum';
position: relative;
display: inline-block;
width: 100%;
min-height: 32px;
cursor: text;
padding: 4px 30px 4px 11px;
color: rgba(0, 0, 0, 0.85);
font-size: 14px;
background-color: #fff;
background-image: none;
border: 1px solid #d9d9d9;
border-radius: 4px;
transition: padding 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.ant-iep-tab-treeselect-input-box .ant-tag-container {
max-width: 99%;
margin-right: 4px;
display: inline-block;
margin-top: 3px;
cursor: default;
line-height: 1;
}
.ant-iep-tab-treeselect-input-box .ant-tag {
margin-right: 0;
display: inline-block;
max-width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.ant-iep-tab-treeselect-input-box-active {
border-color: #388eff;
border-right-width: 1px ;
outline: 0;
box-shadow: 0 0 0 2px rgba(15, 110, 255, 0.2);
}
.ant-iep-tab-treeselect-input-box-placeholder {
color: #bfbfbf;
}
.ant-iep-tab-treeselect-input-suffix {
position: absolute;
top: 50%;
z-index: 2;
display: flex;
align-items: center;
color: rgba(0, 0, 0, 0.85);
line-height: 0;
transform: translateY(-50%);
right: 12px;
}