aboutsummaryrefslogtreecommitdiff
path: root/html/table.css
blob: 36f88bbb50aa5afecbd4ab568faed9f92728f580 (about) (plain)
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
.table_wrapper {
    display: block;
    background-color: #f0f0f0;
    margin: 6px 0;
}

.table_wrapper table {
    border-collapse: unset;
    width: 100%;
}

.table_wrapper.tight_table,
.table_wrapper.tight_table>*,
.table_wrapper.tight_table>*>table {
    width: -moz-min-content;
    width: min-content;
}

tr:nth-child(odd) {
    background-color: #e5e5e5;
}

td {
    vertical-align: middle;
    min-width: fit-content;
    min-width: -moz-fit-content;
}

.tight_table td {
    width: 1%;
}

td:first-child {
    padding: 3px 10px 6px;
}

.tight_table td:first-child {
    width: 100%;
}

td>div.button {
    margin-right: 4px;
    white-space: nowrap;
    float: right;
}