Project

General

Profile

Download (705 Bytes) Statistics
| Branch: | Tag: | Revision:

haketilo / html / table.css @ 453ba039

1
.table_wrapper {
2
    display: block;
3
    background-color: #f0f0f0;
4
    margin: 6px 0;
5
}
6

    
7
.table_wrapper table {
8
    border-collapse: unset;
9
    width: 100%;
10
}
11

    
12
.table_wrapper.tight_table,
13
.table_wrapper.tight_table>*,
14
.table_wrapper.tight_table>*>table {
15
    width: -moz-min-content;
16
    width: min-content;
17
}
18

    
19
tr:nth-child(odd) {
20
    background-color: #e5e5e5;
21
}
22

    
23
td {
24
    vertical-align: middle;
25
    min-width: fit-content;
26
    min-width: -moz-fit-content;
27
}
28

    
29
.tight_table td {
30
    width: 1%;
31
}
32

    
33
td:first-child {
34
    padding: 3px 10px 6px;
35
    white-space: nowrap;
36
}
37

    
38
.tight_table td:first-child {
39
    width: 100%;
40
}
41

    
42
td>div.button {
43
    margin-right: 4px;
44
    white-space: nowrap;
45
    float: right;
46
}
(11-11/11)