Core

/client/src/style/table.css (1.3 KB)

 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
table {
border-collapse: separate;
border-spacing: 0;
margin: 0;
padding: 0;
text-align: left;
}

table tr {
margin: 0;
padding: 0;
}

table th label {
display: block;
}

table td, table th {
padding: var(--padding-small);
border-bottom: var(--border);
margin: 0;
min-width: 1px;
vertical-align: top;
}

table tbody tr:last-child td, table tbody tr:last-child th {
border-bottom: none;
}

table thead th {
margin: 0;
text-align: left;
font-weight: bold;
}

table.expanded {
width: 100%;
}

table .shrink {
width: 1px;
white-space: nowrap;
}

.min-200 > tr > th:first-child, .min-200 > thead > tr > th:first-child, .min-200 > tbody > tr > th:first-child, .min-200 > tr > td:first-child, .min-200 > thead > tr > td:first-child, .min-200 > tbody > tr > td:first-child {
min-width: 200px;
}

table .resize {
padding: var(--padding-small);
resize: horizontal;
overflow: hidden;
width: 100%;
}

table .noresize {
padding: var(--padding-small);
}

@supports (-moz-appearance:none) {
table .resize {
min-width: 100%;
}
}

table .tfill {
width: 99%;
border-bottom: none;
}

table.centered th, table.centered td {
text-align: center;
}

table.centered th.left-align, table.centered td.left-align {
text-align: left;
}