umami/components/RankingsChart.module.css

75 lines
979 B
CSS
Raw Normal View History

2020-08-01 04:05:14 +02:00
.container {
position: relative;
2020-08-01 06:56:25 +02:00
min-height: 430px;
2020-08-01 05:37:29 +02:00
font-size: 14px;
2020-08-02 06:20:52 +02:00
padding: 20px 0;
2020-08-01 05:37:29 +02:00
}
.header {
display: flex;
line-height: 40px;
}
.title {
flex: 1;
font-weight: 600;
font-size: 16px;
}
.heading {
font-size: 14px;
text-align: center;
width: 100px;
2020-08-01 04:05:14 +02:00
}
.row {
position: relative;
height: 30px;
line-height: 30px;
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 5px;
2020-08-01 06:56:25 +02:00
overflow: hidden;
2020-08-01 04:05:14 +02:00
}
.label {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
2020-08-01 05:37:29 +02:00
flex: 2;
2020-08-01 04:05:14 +02:00
}
2020-08-01 06:56:25 +02:00
.label:empty {
color: #b3b3b3;
}
.label:empty:before {
content: 'Unknown';
}
2020-08-01 04:05:14 +02:00
.value {
2020-08-01 05:37:29 +02:00
width: 50px;
2020-08-01 04:05:14 +02:00
text-align: right;
2020-08-01 05:37:29 +02:00
margin-right: 10px;
font-weight: 600;
}
.percent {
width: 50px;
color: #6e6e6e;
position: relative;
2020-08-01 06:56:25 +02:00
border-left: 1px solid #8e8e8e;
2020-08-01 05:37:29 +02:00
padding-left: 10px;
2020-08-01 04:05:14 +02:00
}
.bar {
position: absolute;
2020-08-01 05:37:29 +02:00
top: 0;
left: 0;
2020-08-01 04:05:14 +02:00
height: 30px;
opacity: 0.1;
background: #2680eb;
2020-08-01 06:56:25 +02:00
z-index: -1;
2020-08-01 04:05:14 +02:00
}