aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/KeyValueBox.scss
blob: a26880c9e45a23dc14bbbbcb1990468cfaac909e (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
124
@import "../globalCssVariables";
.keyValueBox-cont {
    overflow-y: scroll;
    width:100%;
    height: 100%;
    background-color: $light-color;
    border: 1px solid $intermediate-color;
    border-radius: $border-radius;
    box-sizing: border-box;
    display: inline-block;
    pointer-events: all;
    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: $intermediate-color;
    color: $light-color;
    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 $light-color;
        }
    }
}

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

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