umami/src/components/metrics/ListTable.module.css

103 lines
1.4 KiB
CSS
Raw Normal View History

.table {
position: relative;
display: grid;
grid-template-rows: fit-content(100%) auto;
2020-11-25 09:32:34 +01:00
overflow: hidden;
flex: 1;
}
2020-10-10 10:16:28 +02:00
.body {
position: relative;
height: 100%;
2020-10-13 01:31:51 +02:00
overflow: auto;
2020-10-10 10:16:28 +02:00
}
.header {
display: flex;
align-items: center;
justify-content: space-between;
line-height: 40px;
}
.title {
display: flex;
font-weight: 600;
}
.metric {
font-weight: 600;
text-align: center;
width: 100px;
}
.row {
position: relative;
height: 30px;
line-height: 30px;
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 5px;
overflow: hidden;
}
.label {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
flex: 2;
}
.label a {
color: inherit;
text-decoration: none;
}
.label a:hover {
color: var(--primary400);
}
.label:empty {
color: #b3b3b3;
}
.label:empty:before {
content: 'Unknown';
}
.value {
width: 50px;
2023-04-20 20:08:56 +02:00
text-align: end;
margin-inline-end: 10px;
font-weight: 600;
}
.percent {
position: relative;
width: 50px;
color: var(--base600);
border-left: 1px solid var(--base600);
2023-04-20 20:08:56 +02:00
padding-inline-start: 10px;
z-index: 1;
}
.bar {
position: absolute;
top: 0;
left: 0;
height: 30px;
opacity: 0.1;
background: var(--primary400);
z-index: -1;
}
2022-03-02 04:28:44 +01:00
2023-10-17 06:55:59 +02:00
.empty {
min-height: 200px;
}
2022-03-02 04:28:44 +01:00
@media only screen and (max-width: 992px) {
.body {
height: auto;
}
}