aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/KeyValueBox.scss
blob: 63ae75424dbacc04ef6e5cf52cb3f6afd2022cf2 (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
46
47
48
49
50
51
52
53
54
55
56
57
@import "../global_variables";
.keyValueBox-cont {
    overflow-y: scroll;
    height: 100%;
    background-color: $light-color;
    border: 1px solid $intermediate-color;
    border-radius: $border-radius;
    box-sizing: border-box;
    display: inline-block;
    .imageBox-cont img {
        max-height: 45px;
        height: auto;
    }
    td {
        padding: 6px 8px;
        border-right: 1px solid $intermediate-color;
        border-top: 1px solid $intermediate-color;
        &:last-child {
            border-right: none;
        }
    }
}

.keyValueBox-table {
    position: relative;
    border-collapse: collapse;
}

.keyValueBox-header {
    background: $intermediate-color;
    color: $light-color;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    height: 30px;
    padding-top: 4px;
    th {
        font-weight: normal;
        &:first-child {
            border-right: 1px solid $light-color;
        }
    }
}

.keyValueBox-evenRow {
    background: $light-color;
    .formattedTextBox-cont {
        background: $light-color;
    }
}

.keyValueBox-oddRow {
    background: $light-color-secondary;
    .formattedTextBox-cont {
        background: $light-color-secondary;
    }
}