iep-ui
Version:
An enterprise-class UI design language and Vue-based implementation
142 lines (141 loc) • 3.37 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-air-quality-trend-chart-aqi-title {
font-weight: bold;
font-size: 16px;
text-align: center;
color: #1a1e24;
margin-bottom: 20px;
}
.ant-air-quality-trend-chart-aqi-header {
display: flex;
justify-content: space-between;
align-items: flex-end;
}
.ant-air-quality-trend-chart-aqi-header-label {
font-weight: 400;
font-size: 12px;
color: #1a1e24;
margin-right: 12px;
line-height: 1;
}
.ant-air-quality-trend-chart-aqi-header-progress {
flex: 1;
overflow: hidden;
display: flex;
flex-direction: column;
}
.ant-air-quality-trend-chart-aqi-header-progress-label {
display: flex;
justify-content: space-between;
align-items: center;
}
.ant-air-quality-trend-chart-aqi-header-progress-label-item {
flex: 1;
font-weight: 400;
font-size: 12px;
text-align: left;
color: #1a1e24;
}
.ant-air-quality-trend-chart-aqi-header-progress-core {
margin-top: 4px;
height: 12px;
border-radius: 2px;
overflow: hidden;
position: relative;
}
.ant-air-quality-trend-chart-aqi-header-progress-default {
position: absolute;
top: 50%;
left: 0;
right: 0;
transform: translateY(-50%);
height: 8px;
}
.ant-air-quality-trend-chart-aqi-header-progress-mark {
position: absolute;
top: 0;
bottom: 0;
left: 0;
width: 30%;
z-index: 2;
border: 1px solid #2d343d;
box-shadow: 0 4px 8px #dde1ec;
cursor: pointer;
cursor: grab;
touch-action: pan-x;
}
.ant-air-quality-trend-chart-aqi-header-progress-mark:focus {
border-color: #3f8bff;
box-shadow: 0 0 0 5px #87b7ff;
outline: none;
}
.ant-air-quality-trend-chart-aqi-header-progress-mark:active {
cursor: grabbing;
}
.ant-air-quality-trend-chart-aqi-footer {
overflow: hidden;
margin-top: 16px;
width: 100%;
}
.ant-air-quality-trend-chart-aqi-footer-core {
display: flex;
justify-content: space-between;
align-items: center;
gap: 0 12px;
}
.ant-air-quality-trend-chart-aqi-panel {
height: 500px;
flex-shrink: 0;
position: relative;
display: flex;
flex-direction: column;
}
.ant-air-quality-trend-chart-aqi-panel::after {
content: "";
position: absolute;
top: 0;
bottom: 0;
right: -6px;
width: 1px;
height: 100%;
background: rgba(138, 151, 159, 0.3);
}
.ant-air-quality-trend-chart-aqi-panel-header {
margin-bottom: 8px;
font-weight: 400;
font-size: 14px;
color: #1a1e24;
}
.ant-air-quality-trend-chart-aqi-panel-header span {
padding-left: 56px;
}
.ant-air-quality-trend-chart-aqi-panel-footer {
flex: 1;
overflow: hidden;
}