@deephaven/golden-layout 0.21.2-beta.2 → 0.21.2-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{dist/css → css}/goldenlayout-base.css +0 -0
- package/css/goldenlayout-base.css.map +1 -0
- package/{dist/css → css}/goldenlayout-dark-theme.css +0 -0
- package/css/goldenlayout-dark-theme.css.map +1 -0
- package/{dist/css → css}/goldenlayout-light-theme.css +0 -0
- package/css/goldenlayout-light-theme.css.map +1 -0
- package/{dist/css → css}/goldenlayout-soda-theme.css +0 -0
- package/css/goldenlayout-soda-theme.css.map +1 -0
- package/{dist/css → css}/goldenlayout-translucent-theme.css +0 -0
- package/css/goldenlayout-translucent-theme.css.map +1 -0
- package/package.json +7 -14
- package/scss/goldenlayout-base.scss +369 -0
- package/scss/goldenlayout-dark-theme.scss +234 -0
- package/scss/goldenlayout-light-theme.scss +242 -0
- package/scss/goldenlayout-soda-theme.scss +213 -0
- package/scss/goldenlayout-translucent-theme.scss +229 -0
- package/dist/css/goldenlayout-base.css.map +0 -1
- package/dist/css/goldenlayout-dark-theme.css.map +0 -1
- package/dist/css/goldenlayout-light-theme.css.map +0 -1
- package/dist/css/goldenlayout-soda-theme.css.map +0 -1
- package/dist/css/goldenlayout-translucent-theme.css.map +0 -1
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
// Color variables (appears count calculates by raw css)
|
|
2
|
+
$color0: #000000; // Appears 7 times
|
|
3
|
+
$color1: #222222; // Appears 3 times
|
|
4
|
+
$color2: #eeeeee; // Appears 2 times
|
|
5
|
+
$color3: #dddddd; // Appears 2 times
|
|
6
|
+
|
|
7
|
+
$color4: #cccccc; // Appears 1 time
|
|
8
|
+
$color5: #444444; // Appears 1 time
|
|
9
|
+
$color6: #999999; // Appears 1 time
|
|
10
|
+
$color7: #111111; // Appears 1 time
|
|
11
|
+
$color8: #452500; // Appears 1 time
|
|
12
|
+
$color9: #555555; // Appears 1 time
|
|
13
|
+
$color10: #ffffff; // Appears 2 time
|
|
14
|
+
|
|
15
|
+
// ".lm_dragging" is applied to BODY tag during Drag and is also directly applied to the root of the object being dragged
|
|
16
|
+
|
|
17
|
+
// Entire GoldenLayout Container, if a background is set, it is visible as color of "pane header" and "splitters" (if these latest has opacity very low)
|
|
18
|
+
.lm_goldenlayout {
|
|
19
|
+
background: $color0;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// Single Pane content (area in which final dragged content is contained)
|
|
23
|
+
.lm_content {
|
|
24
|
+
background: $color1;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// Single Pane content during Drag (style of moving window following mouse)
|
|
28
|
+
.lm_dragProxy {
|
|
29
|
+
.lm_content {
|
|
30
|
+
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// Placeholder Container of target position
|
|
35
|
+
.lm_dropTargetIndicator {
|
|
36
|
+
box-shadow: inset 0 0 30px $color0;
|
|
37
|
+
outline: 1px dashed $color4;
|
|
38
|
+
transition: all 200ms ease;
|
|
39
|
+
|
|
40
|
+
// Inner Placeholder
|
|
41
|
+
.lm_inner {
|
|
42
|
+
background: $color0;
|
|
43
|
+
opacity: 0.2;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// Separator line (handle to change pane size)
|
|
48
|
+
.lm_splitter {
|
|
49
|
+
background: $color0;
|
|
50
|
+
opacity: 0.001;
|
|
51
|
+
transition: opacity 200ms ease;
|
|
52
|
+
|
|
53
|
+
&:hover, // When hovered by mouse...
|
|
54
|
+
&.lm_dragging {
|
|
55
|
+
background: $color5;
|
|
56
|
+
opacity: 1;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// Pane Header (container of Tabs for each pane)
|
|
61
|
+
.lm_header {
|
|
62
|
+
height: 20px;
|
|
63
|
+
user-select: none;
|
|
64
|
+
|
|
65
|
+
&.lm_selectable {
|
|
66
|
+
cursor: pointer;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
// Single Tab container. A single Tab is set for each pane, a group of Tabs are contained in ".lm_header"
|
|
70
|
+
.lm_tab {
|
|
71
|
+
font-family: Arial, sans-serif;
|
|
72
|
+
font-size: 12px;
|
|
73
|
+
color: $color6;
|
|
74
|
+
background: $color7;
|
|
75
|
+
box-shadow: 2px -2px 2px rgba(0, 0, 0, 0.3);
|
|
76
|
+
margin-right: 2px;
|
|
77
|
+
padding-bottom: 2px;
|
|
78
|
+
padding-top: 2px;
|
|
79
|
+
|
|
80
|
+
/*.lm_title // Present in LIGHT Theme
|
|
81
|
+
{
|
|
82
|
+
padding-top:1px;
|
|
83
|
+
}*/
|
|
84
|
+
|
|
85
|
+
// Close Tab Icon
|
|
86
|
+
.lm_close_tab {
|
|
87
|
+
width: 11px;
|
|
88
|
+
height: 11px;
|
|
89
|
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAATElEQVR4nG3OwQ0DMQwDwZGRBtR/j1YJzMc5+IDoR+yCVO29g+pu981MFgqZmRdAfU7+CYWcbF11LwALjpBL0N0qybNx/RPU+gOeiS/+XCRwDlTgkQAAAABJRU5ErkJggg==);
|
|
90
|
+
background-position: center center;
|
|
91
|
+
background-repeat: no-repeat;
|
|
92
|
+
top: 4px;
|
|
93
|
+
right: 6px;
|
|
94
|
+
opacity: 0.4;
|
|
95
|
+
|
|
96
|
+
&:hover {
|
|
97
|
+
opacity: 1;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
// If Tab is active, so if it's in foreground
|
|
102
|
+
&.lm_active {
|
|
103
|
+
border-bottom: none;
|
|
104
|
+
box-shadow: 0 -2px 2px $color0;
|
|
105
|
+
padding-bottom: 3px;
|
|
106
|
+
|
|
107
|
+
.lm_close_tab {
|
|
108
|
+
opacity: 1;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.lm_dragProxy.lm_bottom,
|
|
115
|
+
.lm_stack.lm_bottom {
|
|
116
|
+
.lm_header .lm_tab {
|
|
117
|
+
box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
|
|
118
|
+
&.lm_active {
|
|
119
|
+
box-shadow: 0 2px 2px $color0;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
// If Pane Header (container of Tabs for each pane) is selected (used only if addition of new Contents is made "by selection" and not "by drag")
|
|
125
|
+
.lm_selected {
|
|
126
|
+
.lm_header {
|
|
127
|
+
background-color: $color8;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.lm_tab {
|
|
132
|
+
&:hover, // If Tab is hovered
|
|
133
|
+
&.lm_active // If Tab is active, so if it's in foreground
|
|
134
|
+
{
|
|
135
|
+
background: $color1;
|
|
136
|
+
color: $color3;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.lm_header .lm_tabs .lm_tab.lm_keyboard_active {
|
|
141
|
+
color: $color0;
|
|
142
|
+
background: $color3;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
// Dropdown arrow for additional tabs when too many to be displayed
|
|
146
|
+
.lm_header .lm_controls .lm_tabdropdown:before {
|
|
147
|
+
color: $color10;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
// Pane controls (popout, maximize, minimize, close)
|
|
151
|
+
.lm_controls {
|
|
152
|
+
// All Pane controls shares these
|
|
153
|
+
> li {
|
|
154
|
+
position: relative;
|
|
155
|
+
background-position: center center;
|
|
156
|
+
background-repeat: no-repeat;
|
|
157
|
+
opacity: 0.4;
|
|
158
|
+
transition: opacity 300ms ease;
|
|
159
|
+
|
|
160
|
+
&:hover {
|
|
161
|
+
opacity: 1;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
// Icon to PopOut Pane, so move it to a different Browser Window
|
|
166
|
+
.lm_popout {
|
|
167
|
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAPklEQVR4nI2Q0QoAIAwCNfr/X7aXCpGN8snBdgejJOzckpkxs9jR6K6T5JpU0nWl5pSXTk7qwh8SnNT+CAAWCgkKFpuSWsUAAAAASUVORK5CYII=);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
// Icon to Maximize Pane, so it will fill the entire GoldenLayout Container
|
|
171
|
+
.lm_maximise {
|
|
172
|
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAKElEQVR4nGP8////fwYCgImQAgYGBgYWKM2IR81/okwajIpgvsMbVgAwgQYRVakEKQAAAABJRU5ErkJggg==);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
// Icon to Close Pane and so remove it from GoldenLayout Container
|
|
176
|
+
.lm_close {
|
|
177
|
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAQUlEQVR4nHXOQQ4AMAgCQeT/f6aXpsGK3jSTuCVJAAr7iBdoAwCKd0nwfaAdHbYERw5b44+E8JoBjEYGMBq5gAYP3usUDu2IvoUAAAAASUVORK5CYII=);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.lm_tabnextbutton {
|
|
181
|
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJAQMAAADaX5RTAAAABlBMVEUAAAD///+l2Z/dAAAAAXRSTlMAQObYZgAAABxJREFUCNdjUGBgEGBg4GBgYGFgYAKTHCARoDgABscAe0vtWukAAAAASUVORK5CYII=);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.lm_tabpreviousbutton {
|
|
185
|
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJAQMAAADaX5RTAAAABlBMVEUAAAD///+l2Z/dAAAAAXRSTlMAQObYZgAAABxJREFUCNdjYGJgYGFg4GBgEGBgUACTHCARoDgABSMAXe2fzqEAAAAASUVORK5CYII=);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
// If a specific Pane is maximized
|
|
190
|
+
.lm_maximised {
|
|
191
|
+
// Pane Header (container of Tabs for each pane) can have different style when is Maximized
|
|
192
|
+
.lm_header {
|
|
193
|
+
background-color: $color0;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
// Pane controls are different in Maximized Mode, especially the old Icon "Maximise" that now has a different meaning, so "Minimize" (even if CSS Class did not change)
|
|
197
|
+
.lm_controls {
|
|
198
|
+
.lm_maximise {
|
|
199
|
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAJ0lEQVR4nGP8//8/AzGAiShVI1YhCwMDA8OsWbPwBmZaWhoj0SYCAN1lBxMAX4n0AAAAAElFTkSuQmCC);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.lm_transition_indicator {
|
|
205
|
+
background-color: $color0;
|
|
206
|
+
border: 1px dashed $color9;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
// If a specific Pane is Popped Out, so move it to a different Browser Window, Icon to restore original position is:
|
|
210
|
+
.lm_popin {
|
|
211
|
+
cursor: pointer;
|
|
212
|
+
|
|
213
|
+
// Background of Icon
|
|
214
|
+
.lm_bg {
|
|
215
|
+
background: $color10;
|
|
216
|
+
opacity: 0.3;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
// Icon to Restore original position in Golden Layout Container
|
|
220
|
+
.lm_icon {
|
|
221
|
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAJCAYAAADpeqZqAAAAWklEQVR4nJWOyw3AIAxDHcQC7L8jbwT3AlJBfNp3SiI7dtRaLSlKKeoA1oEsKSQZCEluexw8Tm3ohk+E7bnOUHUGcNh+HwbBygw4AZ7FN/Lt84p0l+yTflV8AKQyLdcCRJi/AAAAAElFTkSuQmCC);
|
|
222
|
+
background-position: center center;
|
|
223
|
+
background-repeat: no-repeat;
|
|
224
|
+
border-left: 1px solid $color2;
|
|
225
|
+
border-top: 1px solid $color2;
|
|
226
|
+
opacity: 0.7;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
&:hover {
|
|
230
|
+
.lm_icon {
|
|
231
|
+
opacity: 1;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
}
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
// Color variables (appears count calculates by raw css)
|
|
2
|
+
$color0: #e1e1e1; // Appears 3 times
|
|
3
|
+
$color1: #000000; // Appears 4 times
|
|
4
|
+
$color2: #cccccc; // Appears 3 times
|
|
5
|
+
$color3: #777777; // Appears 2 times
|
|
6
|
+
|
|
7
|
+
$color4: #ffffff; // Appears 1 time
|
|
8
|
+
$color5: #555555; // Appears 1 time
|
|
9
|
+
$color6: #452500; // Appears 1 time
|
|
10
|
+
$color7: #fafafa; // Appears 1 time
|
|
11
|
+
$color8: #999999; // Appears 1 time
|
|
12
|
+
$color9: #bbbbbb; // Appears 1 time
|
|
13
|
+
$color10: #888888; // Appears 1 time
|
|
14
|
+
|
|
15
|
+
// ".lm_dragging" is applied to BODY tag during Drag and is also directly applied to the root of the object being dragged
|
|
16
|
+
|
|
17
|
+
// Entire GoldenLayout Container, if a background is set, it is visible as color of "pane header" and "splitters" (if these latest has opacity very low)
|
|
18
|
+
.lm_goldenlayout {
|
|
19
|
+
//background:$color0;
|
|
20
|
+
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAGFBMVEX29vb19fXw8PDy8vL09PTz8/Pv7+/x8fGKuegbAAAAyUlEQVR42pXRQQ7CMBRDwST9pfe/MahEmgURbt7WmpVb6+vG0dd9REnn66xRy/qXiCgmEIIJhGACIZhACCYQgvlDCDFIEAwSBIMEwSBBMEgQDBIEgwTBIEEwCJEMQiSDENFMQmQzCZEbNyGemd6KeGZ6u4hnXe2qbdLHFjhf1XqNLXHev4wdMd9nspiEiWISJgqECQJhgkCYIBAmCIQJAmGCQJggECYJhAkCEUMEwhCBMEQgDJEIQ2RSg0iEIRJhiB/S+rrjqvXQ3paIJUgPBXxiAAAAAElFTkSuQmCC);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// Single Pane content (area in which final dragged content is contained)
|
|
24
|
+
.lm_content {
|
|
25
|
+
background: $color0;
|
|
26
|
+
border: 1px solid $color2;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
// Single Pane content during Drag (style of moving window following mouse)
|
|
30
|
+
.lm_dragProxy {
|
|
31
|
+
.lm_content {
|
|
32
|
+
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
|
|
33
|
+
box-sizing: border-box;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
// Placeholder Container of target position
|
|
38
|
+
.lm_dropTargetIndicator {
|
|
39
|
+
box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.4);
|
|
40
|
+
outline: 1px dashed $color2;
|
|
41
|
+
margin: 1px;
|
|
42
|
+
transition: all 200ms ease;
|
|
43
|
+
|
|
44
|
+
// Inner Placeholder
|
|
45
|
+
.lm_inner {
|
|
46
|
+
background: $color1;
|
|
47
|
+
opacity: 0.1;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// Separator line (handle to change pane size)
|
|
52
|
+
.lm_splitter {
|
|
53
|
+
background: $color8;
|
|
54
|
+
opacity: 0.001;
|
|
55
|
+
transition: opacity 200ms ease;
|
|
56
|
+
|
|
57
|
+
&:hover, // When hovered by mouse...
|
|
58
|
+
&.lm_dragging {
|
|
59
|
+
background: $color9;
|
|
60
|
+
opacity: 1;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// Pane Header (container of Tabs for each pane)
|
|
65
|
+
.lm_header {
|
|
66
|
+
height: 20px;
|
|
67
|
+
//user-select:none; // Present in DARK Theme
|
|
68
|
+
|
|
69
|
+
&.lm_selectable {
|
|
70
|
+
cursor: pointer;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
// Single Tab container. A single Tab is set for each pane, a group of Tabs are contained in ".lm_header"
|
|
74
|
+
.lm_tab {
|
|
75
|
+
font-family: Arial, sans-serif;
|
|
76
|
+
font-size: 12px;
|
|
77
|
+
color: $color10;
|
|
78
|
+
background: $color7;
|
|
79
|
+
margin-right: 2px;
|
|
80
|
+
padding-bottom: 4px;
|
|
81
|
+
border: 1px solid $color2;
|
|
82
|
+
border-bottom: none;
|
|
83
|
+
|
|
84
|
+
.lm_title {
|
|
85
|
+
padding-top: 1px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
// Close Tab Icon
|
|
89
|
+
.lm_close_tab {
|
|
90
|
+
width: 11px;
|
|
91
|
+
height: 11px;
|
|
92
|
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAIklEQVR4nGNgYGD4z4Ad/Mdg4ODDBXCZRFgCp5EEHQMXBwAQAgz0SVCcggAAAABJRU5ErkJggg==);
|
|
93
|
+
background-position: center center;
|
|
94
|
+
background-repeat: no-repeat;
|
|
95
|
+
right: 6px;
|
|
96
|
+
top: 4px;
|
|
97
|
+
opacity: 0.4;
|
|
98
|
+
|
|
99
|
+
&:hover {
|
|
100
|
+
opacity: 1;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
// If Tab is active, so if it's in foreground
|
|
105
|
+
&.lm_active {
|
|
106
|
+
border-bottom: none;
|
|
107
|
+
box-shadow: 2px -2px 2px -2px rgba(0, 0, 0, 0.2);
|
|
108
|
+
padding-bottom: 5px;
|
|
109
|
+
|
|
110
|
+
&.lm_focusin {
|
|
111
|
+
box-shadow: inset 0px 1px $color1;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.lm_close_tab {
|
|
115
|
+
opacity: 1;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.lm_window_blur .lm_tab.lm_active.lm_focusin {
|
|
122
|
+
box-shadow: none;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.lm_dragProxy.lm_bottom,
|
|
126
|
+
.lm_stack.lm_bottom {
|
|
127
|
+
.lm_header .lm_tab {
|
|
128
|
+
&.lm_active {
|
|
129
|
+
box-shadow: 2px 2px 2px -2px rgba(0, 0, 0, 0.2);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
// If Pane Header (container of Tabs for each pane) is selected (used only if addition of new Contents is made "by selection" and not "by drag")
|
|
135
|
+
.lm_selected {
|
|
136
|
+
.lm_header {
|
|
137
|
+
background-color: $color6;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.lm_tab {
|
|
142
|
+
&:hover, // If Tab is hovered
|
|
143
|
+
&.lm_active // If Tab is active, so if it's in foreground
|
|
144
|
+
{
|
|
145
|
+
background: $color0;
|
|
146
|
+
color: $color3;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.lm_header .lm_tabs .lm_tab.lm_keyboard_active {
|
|
151
|
+
color: $color0;
|
|
152
|
+
background: $color3;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
// Dropdown arrow for additional tabs when too many to be displayed
|
|
156
|
+
.lm_header .lm_controls .lm_tabdropdown:before {
|
|
157
|
+
color: $color1;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
// Pane controls (popout, maximize, minimize, close)
|
|
161
|
+
.lm_controls {
|
|
162
|
+
// All Pane controls shares these
|
|
163
|
+
> li {
|
|
164
|
+
position: relative;
|
|
165
|
+
background-position: center center;
|
|
166
|
+
background-repeat: no-repeat;
|
|
167
|
+
opacity: 0.4;
|
|
168
|
+
transition: opacity 300ms ease;
|
|
169
|
+
|
|
170
|
+
&:hover {
|
|
171
|
+
opacity: 1;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
// Icon to PopOut Pane, so move it to a different Browser Window
|
|
176
|
+
.lm_popout {
|
|
177
|
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAANUlEQVR4nI2QMQoAMAwCz5L/f9mOzZIaN0E9UDyZhaaQz6atgBHgambEJ5wBKoS0WaIvfT+6K2MIECN19MAAAAAASUVORK5CYII=);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
// Icon to Maximize Pane, so it will fill the entire GoldenLayout Container
|
|
181
|
+
.lm_maximise {
|
|
182
|
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAIklEQVR4nGNkYGD4z0AAMBFSAAOETPpPlEmDUREjAxHhBABPvAQLFv3qngAAAABJRU5ErkJggg==);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
// Icon to Close Pane and so remove it from GoldenLayout Container
|
|
186
|
+
.lm_close {
|
|
187
|
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAKUlEQVR4nGNgYGD4z4Af/Mdg4FKASwCnDf8JKSBoAtEmEXQTQd8RDCcA6+4Q8OvIgasAAAAASUVORK5CYII=);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.lm_tabnextbutton {
|
|
191
|
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJAQMAAADaX5RTAAAABlBMVEUAAAAAAAClZ7nPAAAAAXRSTlMAQObYZgAAABxJREFUCNdjUGBgEGBg4GBgYGFgYAKTHCARoDgABscAe0vtWukAAAAASUVORK5CYII=);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.lm_tabpreviousbutton {
|
|
195
|
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJAQMAAADaX5RTAAAABlBMVEUAAAAAAAClZ7nPAAAAAXRSTlMAQObYZgAAABxJREFUCNdjYGJgYGFg4GBgEGBgUACTHCARoDgABSMAXe2fzqEAAAAASUVORK5CYII=);
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
// If a specific Pane is maximized
|
|
200
|
+
.lm_maximised {
|
|
201
|
+
// Pane Header (container of Tabs for each pane) can have different style when is Maximized
|
|
202
|
+
.lm_header {
|
|
203
|
+
background-color: $color4;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
// Pane controls are different in Maximized Mode, especially the old Icon "Maximise" that now has a different meaning, so "Minimize" (even if CSS Class did not change)
|
|
207
|
+
.lm_controls {
|
|
208
|
+
.lm_maximise {
|
|
209
|
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAJklEQVR4nGP8//8/AyHARFDFUFbEwsDAwMDIyIgzHP7//89IlEkApSkHEScJTKoAAAAASUVORK5CYII=);
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.lm_transition_indicator {
|
|
215
|
+
background-color: $color1;
|
|
216
|
+
border: 1px dashed $color5;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
// If a specific Pane is Popped Out, so move it to a different Browser Window, Icon to restore original position is:
|
|
220
|
+
.lm_popin {
|
|
221
|
+
cursor: pointer;
|
|
222
|
+
|
|
223
|
+
// Background of Icon
|
|
224
|
+
.lm_bg {
|
|
225
|
+
background: $color1;
|
|
226
|
+
opacity: 0.7;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
// Icon to Restore original position in Golden Layout Container
|
|
230
|
+
.lm_icon {
|
|
231
|
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAJCAYAAADpeqZqAAAAWklEQVR4nJWOyw3AIAxDHcQC7L8jbwT3AlJBfNp3SiI7dtRaLSlKKeoA1oEsKSQZCEluexw8Tm3ohk+E7bnOUHUGcNh+HwbBygw4AZ7FN/Lt84p0l+yTflV8AKQyLdcCRJi/AAAAAElFTkSuQmCC);
|
|
232
|
+
background-position: center center;
|
|
233
|
+
background-repeat: no-repeat;
|
|
234
|
+
opacity: 0.7;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
&:hover {
|
|
238
|
+
.lm_icon {
|
|
239
|
+
opacity: 1;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
// Color variables (appears count calculates by raw css)
|
|
2
|
+
$color0: #000000; // Appears 7 times
|
|
3
|
+
$color1: #eeeeee; // Appears 3 times
|
|
4
|
+
$color2: #444444; // Appears 2 times
|
|
5
|
+
$color3: #222222; // Appears 1 time
|
|
6
|
+
$color4: #555555; // Appears 1 time
|
|
7
|
+
$color5: #452500; // Appears 1 time
|
|
8
|
+
$color6: #999999; // Appears 1 time
|
|
9
|
+
$color7: #272822; // Appears 1 time
|
|
10
|
+
$color8: #cccccc; // Appears 1 time
|
|
11
|
+
|
|
12
|
+
// ".lm_dragging" is applied to BODY tag during Drag and is also directly applied to the root of the object being dragged
|
|
13
|
+
|
|
14
|
+
// Entire GoldenLayout Container, if a background is set, it is visible as color of "pane header" and "splitters" (if these latest has opacity very low)
|
|
15
|
+
.lm_goldenlayout {
|
|
16
|
+
background: $color0;
|
|
17
|
+
background: linear-gradient($color0, $color1);
|
|
18
|
+
background-repeat: repeat;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// Single Pane content (area in which final dragged content is contained)
|
|
22
|
+
.lm_content {
|
|
23
|
+
background: $color7;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
// Single Pane content during Drag (style of moving window following mouse)
|
|
27
|
+
.lm_dragProxy {
|
|
28
|
+
.lm_content {
|
|
29
|
+
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
// Placeholder Container of target position
|
|
34
|
+
.lm_dropTargetIndicator {
|
|
35
|
+
box-shadow: inset 0 0 30px $color0;
|
|
36
|
+
outline: 1px dashed $color8;
|
|
37
|
+
transition: all 200ms ease;
|
|
38
|
+
|
|
39
|
+
// Inner Placeholder
|
|
40
|
+
.lm_inner {
|
|
41
|
+
background: $color0;
|
|
42
|
+
opacity: 0.2;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
// Separator line (handle to change pane size)
|
|
47
|
+
.lm_splitter {
|
|
48
|
+
background: $color0;
|
|
49
|
+
opacity: 0.001;
|
|
50
|
+
transition: opacity 200ms ease;
|
|
51
|
+
|
|
52
|
+
&:hover, // When hovered by mouse...
|
|
53
|
+
&.lm_dragging {
|
|
54
|
+
background: $color2;
|
|
55
|
+
opacity: 1;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
// Pane Header (container of Tabs for each pane)
|
|
60
|
+
.lm_header {
|
|
61
|
+
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAcCAIAAAAvP0KbAAAANElEQVR4nH2IsQ0AMAyDHM5J/v8qD3ixulWdOiAQmhkAquoi6frt33udBEnYprvZXZJg+wAKcQ/o96fYNQAAAABJRU5ErkJggg==);
|
|
62
|
+
height: 28px;
|
|
63
|
+
//user-select:none; // Present in DARK Theme
|
|
64
|
+
|
|
65
|
+
&.lm_selectable {
|
|
66
|
+
cursor: pointer;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
// Single Tab container. A single Tab is set for each pane, a group of Tabs are contained in ".lm_header"
|
|
70
|
+
.lm_tab {
|
|
71
|
+
font-family: Arial, sans-serif;
|
|
72
|
+
font-size: 13px;
|
|
73
|
+
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAcCAIAAAAvP0KbAAAANklEQVR4nHXGsQ0AMAgDQcuFh2EC9p+HhpIGaCMlKV5/cHdKoiQC+DYzl8+/nJk0M0YEu5tVtXqyIehfJSkOAAAAAElFTkSuQmCC);
|
|
74
|
+
color: $color6;
|
|
75
|
+
margin: 0;
|
|
76
|
+
padding-bottom: 4px;
|
|
77
|
+
|
|
78
|
+
// (Used in other Themes but actually not here)
|
|
79
|
+
/*
|
|
80
|
+
.lm_title
|
|
81
|
+
{
|
|
82
|
+
padding-top:1px;
|
|
83
|
+
}*/
|
|
84
|
+
|
|
85
|
+
// Close Tab Icon
|
|
86
|
+
.lm_close_tab {
|
|
87
|
+
width: 11px;
|
|
88
|
+
height: 11px;
|
|
89
|
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAATElEQVR4nG3OwQ0DMQwDwZGRBtR/j1YJzMc5+IDoR+yCVO29g+pu981MFgqZmRdAfU7+CYWcbF11LwALjpBL0N0qybNx/RPU+gOeiS/+XCRwDlTgkQAAAABJRU5ErkJggg==);
|
|
90
|
+
background-position: center center;
|
|
91
|
+
background-repeat: no-repeat;
|
|
92
|
+
right: 6px;
|
|
93
|
+
top: 4px;
|
|
94
|
+
opacity: 0.4;
|
|
95
|
+
|
|
96
|
+
&:hover {
|
|
97
|
+
opacity: 1;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
// If Tab is active, so if it's in foreground
|
|
102
|
+
&.lm_active {
|
|
103
|
+
border-bottom: none;
|
|
104
|
+
padding-bottom: 5px;
|
|
105
|
+
|
|
106
|
+
.lm_close_tab {
|
|
107
|
+
opacity: 1;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
.lm_stack.lm_left,
|
|
113
|
+
.lm_stack.lm_right {
|
|
114
|
+
.lm_header {
|
|
115
|
+
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAABCAIAAABCJ1mGAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4QQHEjUmFgXMqwAAADBJREFUCNdth7ENADAMwkjOIf9/xQMsqEPVTPVg2TUz3V0PANcb310nAWCbpKQktg/HHA+z1P+XmwAAAABJRU5ErkJggg==);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
// If Pane Header (container of Tabs for each pane) is selected (used only if addition of new Contents is made "by selection" and not "by drag")
|
|
119
|
+
.lm_selected {
|
|
120
|
+
.lm_header {
|
|
121
|
+
background-color: $color5;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.lm_tab {
|
|
126
|
+
&:hover, // If Tab is hovered
|
|
127
|
+
&.lm_active // If Tab is active, so if it's in foreground
|
|
128
|
+
{
|
|
129
|
+
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAcCAIAAAAvP0KbAAAAKUlEQVR4nGPw8vJi4ubmZmJgYGD6//8/nEZnY+MTUoPM/vfvH9PPnz8BJQc56Apw2moAAAAASUVORK5CYII=);
|
|
130
|
+
color: $color1;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
// Dropdown arrow for additional tabs when too many to be displayed
|
|
135
|
+
.lm_header .lm_controls .lm_tabdropdown:before {
|
|
136
|
+
color: $color1;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
// Pane controls (popout, maximize, minimize, close)
|
|
140
|
+
.lm_controls {
|
|
141
|
+
// All Pane controls shares these
|
|
142
|
+
> li {
|
|
143
|
+
position: relative;
|
|
144
|
+
background-position: center center;
|
|
145
|
+
background-repeat: no-repeat;
|
|
146
|
+
opacity: 0.4;
|
|
147
|
+
transition: opacity 300ms ease;
|
|
148
|
+
|
|
149
|
+
&:hover {
|
|
150
|
+
opacity: 1;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
// Icon to PopOut Pane, so move it to a different Browser Window
|
|
155
|
+
.lm_popout {
|
|
156
|
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAPklEQVR4nI2Q0QoAIAwCNfr/X7aXCpGN8snBdgejJOzckpkxs9jR6K6T5JpU0nWl5pSXTk7qwh8SnNT+CAAWCgkKFpuSWsUAAAAASUVORK5CYII=);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
// Icon to Maximize Pane, so it will fill the entire GoldenLayout Container
|
|
160
|
+
.lm_maximise {
|
|
161
|
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAKElEQVR4nGP8////fwYCgImQAgYGBgYWKM2IR81/okwajIpgvsMbVgAwgQYRVakEKQAAAABJRU5ErkJggg==);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
// Icon to Close Pane and so remove it from GoldenLayout Container
|
|
165
|
+
.lm_close {
|
|
166
|
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAQUlEQVR4nHXOQQ4AMAgCQeT/f6aXpsGK3jSTuCVJAAr7iBdoAwCKd0nwfaAdHbYERw5b44+E8JoBjEYGMBq5gAYP3usUDu2IvoUAAAAASUVORK5CYII=);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
// If a specific Pane is maximized
|
|
171
|
+
.lm_maximised {
|
|
172
|
+
// Pane Header (container of Tabs for each pane) can have different style when is Maximized
|
|
173
|
+
.lm_header {
|
|
174
|
+
background-color: $color0;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
// Pane controls are different in Maximized Mode, especially the old Icon "Maximise" that now has a different meaning, so "Minimize" (even if CSS Class did not change)
|
|
178
|
+
.lm_controls {
|
|
179
|
+
.lm_maximise {
|
|
180
|
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAJklEQVR4nGP8//8/AyHARFDFUFbEwsDAwMDIyIgzHP7//89IlEkApSkHEScJTKoAAAAASUVORK5CYII=);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.lm_transition_indicator {
|
|
186
|
+
background-color: $color0;
|
|
187
|
+
border: 1px dashed $color4;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
// If a specific Pane is Popped Out, so move it to a different Browser Window, Icon to restore original position is:
|
|
191
|
+
.lm_popin {
|
|
192
|
+
cursor: pointer;
|
|
193
|
+
|
|
194
|
+
// Background of Icon
|
|
195
|
+
.lm_bg {
|
|
196
|
+
background: $color1;
|
|
197
|
+
opacity: 0.7;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
// Icon to Restore original position in Golden Layout Container
|
|
201
|
+
.lm_icon {
|
|
202
|
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAJCAYAAADpeqZqAAAAWklEQVR4nJWOyw3AIAxDHcQC7L8jbwT3AlJBfNp3SiI7dtRaLSlKKeoA1oEsKSQZCEluexw8Tm3ohk+E7bnOUHUGcNh+HwbBygw4AZ7FN/Lt84p0l+yTflV8AKQyLdcCRJi/AAAAAElFTkSuQmCC);
|
|
203
|
+
background-position: center center;
|
|
204
|
+
background-repeat: no-repeat;
|
|
205
|
+
opacity: 0.7;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
&:hover {
|
|
209
|
+
.lm_icon {
|
|
210
|
+
opacity: 1;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|