umami/components/common/Table.module.css

46 lines
644 B
CSS
Raw Normal View History

.table {
2020-08-07 09:24:01 +02:00
display: flex;
flex-direction: column;
flex: 1;
}
2020-08-07 09:24:01 +02:00
.header {
display: flex;
}
.head {
font-size: var(--font-size-small);
font-weight: 600;
line-height: 40px;
flex: 1;
2020-08-08 05:36:57 +02:00
border-bottom: 1px solid var(--gray300);
2020-08-07 09:24:01 +02:00
}
2020-08-07 11:27:12 +02:00
.body {
position: relative;
2020-08-07 11:27:12 +02:00
display: flex;
flex-direction: column;
flex: 1;
}
.body:empty:before {
content: 'No data available';
color: var(--gray500);
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
2020-08-07 11:27:12 +02:00
}
2020-08-07 09:24:01 +02:00
.row {
display: flex;
border-bottom: 1px solid var(--gray300);
padding: 10px 0;
}
.cell {
display: flex;
align-items: flex-start;
flex: 1;
}