2019-08-30 18:24:50 +08:00
|
|
|
.dv-capsule-chart {
|
2019-08-29 16:50:19 +08:00
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 10px;
|
|
|
|
color: #fff;
|
|
|
|
}
|
2019-08-30 18:24:50 +08:00
|
|
|
.dv-capsule-chart .label-column {
|
2019-08-29 16:50:19 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding-right: 10px;
|
|
|
|
text-align: right;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
2019-08-30 18:24:50 +08:00
|
|
|
.dv-capsule-chart .label-column div {
|
2019-08-29 16:50:19 +08:00
|
|
|
height: 20px;
|
|
|
|
line-height: 20px;
|
|
|
|
}
|
2019-08-30 18:24:50 +08:00
|
|
|
.dv-capsule-chart .capsule-container {
|
2019-08-29 16:50:19 +08:00
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
2019-08-30 18:24:50 +08:00
|
|
|
.dv-capsule-chart .capsule-item {
|
2019-08-29 16:50:19 +08:00
|
|
|
box-shadow: 0 0 3px #999;
|
|
|
|
height: 10px;
|
|
|
|
margin: 5px 0px;
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
2019-08-30 18:24:50 +08:00
|
|
|
.dv-capsule-chart .capsule-item div {
|
2020-04-30 13:38:11 +08:00
|
|
|
position: relative;
|
2019-08-29 16:50:19 +08:00
|
|
|
height: 8px;
|
|
|
|
margin-top: 1px;
|
|
|
|
border-radius: 5px;
|
|
|
|
transition: all 0.3s;
|
|
|
|
}
|
2020-04-27 18:19:20 +08:00
|
|
|
.dv-capsule-chart .capsule-item div .capsule-item-val {
|
|
|
|
position: absolute;
|
|
|
|
top: -5px;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
2019-08-30 18:24:50 +08:00
|
|
|
.dv-capsule-chart .unit-label {
|
2019-08-30 09:44:38 +08:00
|
|
|
height: 20px;
|
|
|
|
font-size: 12px;
|
2020-04-27 18:19:20 +08:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.dv-capsule-chart .unit-label:not(:first-child) {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
.dv-capsule-chart .unit-label div {
|
|
|
|
position: absolute;
|
2019-08-29 16:50:19 +08:00
|
|
|
}
|
2019-08-30 18:24:50 +08:00
|
|
|
.dv-capsule-chart .unit-text {
|
2019-08-29 16:50:19 +08:00
|
|
|
text-align: right;
|
|
|
|
display: flex;
|
2019-08-30 09:44:38 +08:00
|
|
|
align-items: flex-end;
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 20px;
|
|
|
|
margin-left: 10px;
|
2019-08-29 16:50:19 +08:00
|
|
|
}
|