aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/KeyValueBox.scss
blob: 80ace6ae0a88bef929587ba83dc85ba811f6806d (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
@use '../global/globalCssVariables.module.scss' as global;
.keyValueBox-cont {
    overflow-y: scroll;
    width: 100%;
    height: 100%;
    background-color: global.$white;
    border: 1px solid global.$medium-gray;
    border-radius: global.$border-radius;
    box-sizing: border-box;
    display: inline-block;
    cursor: default;
    .imageBox-cont img {
        width: auto;
    }
}
$header-height: 30px;
.keyValueBox-tbody {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow-y: scroll;
}
.keyValueBox-key {
    display: inline-block;
    height: 100%;
    width: 50%;
    text-align: center;
}
.keyValueBox-fields {
    display: inline-block;
    height: 100%;
    width: 50%;
    text-align: center;
}

.keyValueBox-table {
    position: absolute;
    width: 100%;
    height: 100%;
    border-collapse: collapse;
}
.keyValueBox-td-key {
    display: inline-block;
    height: 30px;
}
.keyValueBox-td-value {
    display: inline-block;
    height: 30px;
}
.keyValueBox-valueRow {
    width: 100%;
    height: 30px;
    display: inline-block;
}
.keyValueBox-header {
    width: 100%;
    position: relative;
    display: inline-block;
    background: global.$medium-gray;
    color: global.$white;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    height: $header-height;
    padding-top: 4px;
    th {
        font-weight: normal;
        &:first-child {
            border-right: 1px solid global.$white;
        }
    }
}

.keyValueBox-evenRow {
    position: relative;
    display: flex;
    width: 100%;
    height: $header-height;
    background: global.$white;
    .formattedTextBox-cont {
        background: global.$white;
    }
}
.keyValueBox-cont {
    .collectionfreeformview-overlay {
        position: relative;
    }
}
.keyValueBox-dividerDraggerThumb {
    position: relative;
    width: 4px;
    float: left;
    height: 30px;
    width: 5px;
    z-index: 20;
    right: 0px;
    top: 0px;
    border-radius: 0px;
    background: black;
    pointer-events: all;
}
.keyValueBox-dividerDragger {
    position: relative;
    width: 100%;
    float: left;
    height: 37px;
    z-index: 20;
    right: 0px;
    top: 0px;
    background: transparent;
    pointer-events: none;
}

.keyValueBox-oddRow {
    position: relative;
    display: flex;
    width: 100%;
    height: 30px;
    background: global.$light-gray;
    .formattedTextBox-cont {
        background: global.$light-gray;
    }
}