aboutsummaryrefslogtreecommitdiff
path: root/src_scss/_grid.scss
blob: 68c9cb9640c4dc0fac96943420f2dfbb9576bc62 (plain) (blame)
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
@import 'color';


table.grid {
    table-layout: fixed;
    border-spacing: 0px;
    border: 1px solid $color-grey-400;

    td:not(:last-child) {
        border-right: 1px solid $color-grey-300;
    }

    thead tr, tfoot tr {
        background-color: $color-grey-200;
    }

    td, th {
        padding: 4px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    tbody td {
        background-color: white;
    }

    tbody td, tfoot td {
        border-top: 1px solid $color-grey-400;
    }

    input {
        width: 100%;
    }

    input[type=text] {
        position: relative;
        border: 1px;
        font-size: 10pt;
        font-family: 'Roboto';
    }

    tfoot td > div {
        display: flex;

        & > .spacer {
            flex-grow: 1;
        }
    }

    .invalid {
        background-color: rgba(red, 0.2);
    }
}