iep-ui
Version:
An enterprise-class UI design language and Vue-based implementation
100 lines (99 loc) • 2.17 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-avatar {
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;
overflow: hidden;
color: #fff;
white-space: nowrap;
text-align: center;
vertical-align: middle;
background: #ccc;
width: 32px;
height: 32px;
line-height: 32px;
border-radius: 50%;
}
.ant-avatar-image {
background: transparent;
}
.ant-avatar-string {
position: absolute;
left: 50%;
transform-origin: 0 center;
}
.ant-avatar.ant-avatar-icon {
font-size: 18px;
}
.ant-avatar-lg {
width: 40px;
height: 40px;
line-height: 40px;
border-radius: 50%;
}
.ant-avatar-lg-string {
position: absolute;
left: 50%;
transform-origin: 0 center;
}
.ant-avatar-lg.ant-avatar-icon {
font-size: 24px;
}
.ant-avatar-sm {
width: 24px;
height: 24px;
line-height: 24px;
border-radius: 50%;
}
.ant-avatar-sm-string {
position: absolute;
left: 50%;
transform-origin: 0 center;
}
.ant-avatar-sm.ant-avatar-icon {
font-size: 14px;
}
.ant-avatar-square {
border-radius: 4px;
}
.ant-avatar > img {
display: block;
width: 100%;
height: 100%;
-o-object-fit: cover;
object-fit: cover;
}