UNPKG

iep-ui

Version:

An enterprise-class UI design language and Vue-based implementation

95 lines (94 loc) 2.17 kB
/* 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; } .tooltip { height: 100%; display: inline-flex; flex-direction: column; justify-content: space-around; color: #fbfbfb; } .tooltip-inner-light .tooltip-item { background: rgba(255, 255, 255, 0.9); color: #888; } .tooltip-item { box-shadow: rgba(0, 0, 0, 0.2) 1px 2px 10px; background: rgba(2, 2, 2, 0.8); padding: 10px; border-radius: 4px; color: #fbfbfb; } .tooltip-header { margin-bottom: var(--gap); } .tooltip-title { display: flex; justify-content: space-between; align-items: center; color: #999; font-size: 14px; } .tooltip-sub { margin-top: 18px; } .tooltip-sub-cell { display: flex; justify-content: space-between; align-items: center; } .tooltip-sub-cell-item { display: flex; justify-content: space-between; align-items: center; width: 100px; } .tooltip-sub-cell-item:first-child { width: 60px; display: flex; justify-content: flex-start; align-items: center; } .tooltip-sub-cell-item:first-child span:nth-child(1) { width: 8px; height: 8px; border-radius: 50%; margin-right: 10px; } .tooltip-sub-cell-item:last-child { flex: 1; display: flex; justify-content: flex-end; align-items: center; } .tooltip-sub-cell-item span { font-size: 12px; } .tooltip-light, .tooltip-dark { box-shadow: none !important; }