-
Notifications
You must be signed in to change notification settings - Fork 0
/
person_table_style.css
62 lines (52 loc) · 1.02 KB
/
person_table_style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
.styled-table {
border-collapse: collapse;
margin: 25px 0;
font-size: 0.9em;
font-family: sans-serif;
min-width: 400px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}
.styled-table thead tr {
background-color: #009879;
color: #ffffff;
text-align: left;
position: sticky;
top: 0;
}
.styled-table th,
.styled-table td {
padding: 12px 15px;
}
.styled-table tbody tr {
border-bottom: thin solid #dddddd;
}
.styled-table tbody tr:nth-of-type(even) {
background-color: #f3f3f3;
}
.styled-table tbody tr:last-of-type {
border-bottom: thick solid #009879;
}
.styled-table tbody tr.active-row {
font-weight: bold;
color: #009879;
}
.styled-table tbody tr.info-row.hidden {
display: none;
}
.info-wrapper {
display: grid;
grid-template-columns: auto auto;
gap: 10px;
width: max-content;
}
.info-label {
grid-column: 1;
}
.info-value {
grid-column: 2;
}
.Sünd, .Surm {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}