1
0
mirror of https://github.com/kremalicious/umami.git synced 2024-12-30 16:57:44 +01:00
umami/components/metrics/MetricsTable.module.css

108 lines
1.5 KiB
CSS
Raw Normal View History

2020-08-01 04:05:14 +02:00
.container {
position: relative;
2020-09-26 08:38:28 +02:00
min-height: 430px;
2020-08-06 04:04:02 +02:00
font-size: var(--font-size-small);
2020-08-05 07:45:05 +02:00
display: flex;
flex-direction: column;
2020-08-01 05:37:29 +02:00
}
.header {
display: flex;
align-items: center;
justify-content: space-between;
2020-08-01 05:37:29 +02:00
line-height: 40px;
}
.title {
display: flex;
2020-08-01 05:37:29 +02:00
font-weight: 600;
2020-08-06 04:04:02 +02:00
font-size: var(--font-size-normal);
2020-08-01 05:37:29 +02:00
}
.metric {
2020-08-06 04:04:02 +02:00
font-size: var(--font-size-small);
2020-09-26 08:38:28 +02:00
font-weight: 600;
2020-08-01 05:37:29 +02:00
text-align: center;
width: 100px;
cursor: pointer;
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-23 09:23:47 +02:00
.label a {
color: inherit;
text-decoration: none;
}
.label a:hover {
color: var(--primary400);
}
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;
cursor: pointer;
2020-08-01 05:37:29 +02:00
}
.percent {
2020-08-04 03:12:28 +02:00
position: relative;
2020-08-01 05:37:29 +02:00
width: 50px;
2020-09-26 08:38:28 +02:00
color: var(--gray600);
border-left: 1px solid var(--gray600);
2020-08-01 05:37:29 +02:00
padding-left: 10px;
2020-08-04 03:12:28 +02:00
z-index: 1;
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;
2020-08-06 04:04:02 +02:00
background: var(--primary400);
2020-08-01 06:56:25 +02:00
z-index: -1;
2020-08-01 04:05:14 +02:00
}
.body {
position: relative;
2020-08-05 07:45:05 +02:00
flex: 1;
2020-08-10 00:13:38 +02:00
overflow: hidden;
}
2020-08-09 12:04:48 +02:00
.footer {
display: flex;
justify-content: center;
}
2020-08-06 04:04:02 +02:00
@media only screen and (max-width: 992px) {
.container {
min-height: auto;
}
}