DemuMesDataV/lib/components/capsuleChart/src/main.css

56 lines
1.1 KiB
CSS
Raw Normal View History

2019-08-29 16:50:19 +08:00
.capsule-chart {
position: relative;
display: flex;
flex-direction: row;
box-sizing: border-box;
padding: 10px;
color: #fff;
}
.capsule-chart .label-column {
display: flex;
flex-direction: column;
justify-content: space-between;
box-sizing: border-box;
padding-right: 10px;
text-align: right;
font-size: 12px;
}
.capsule-chart .label-column div {
height: 20px;
line-height: 20px;
}
.capsule-chart .capsule-container {
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.capsule-chart .capsule-item {
box-shadow: 0 0 3px #999;
height: 10px;
margin: 5px 0px;
border-radius: 5px;
}
.capsule-chart .capsule-item div {
height: 8px;
margin-top: 1px;
border-radius: 5px;
transition: all 0.3s;
}
.capsule-chart .unit-label {
2019-08-30 09:44:38 +08:00
height: 20px;
font-size: 12px;
2019-08-29 16:50:19 +08:00
display: flex;
flex-direction: row;
2019-08-30 09:44:38 +08:00
align-items: center;
justify-content: space-between;
2019-08-29 16:50:19 +08:00
}
.capsule-chart .unit-text {
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
}