Debian Codegraph @

ivette/src/dome/renderer/frame/style.css

raw
1 /* -------------------------------------------------------------------------- */
2 /* --- Tabs & Tab Style Sheet --- */
3 /* -------------------------------------------------------------------------- */
4
5 /* Tabs Bar */
6
7 .dome-xTabsBar {
8 flex: 0 1 auto ;
9 position: relative ;
10 height: 20px ;
11 width: calc( 100% + 1px ); /* hides last border */
12 display: flex ;
13 flex: row wrap ;
14 border-width: 1px ;
15 border-bottom-style: solid ;
16 }
17
18 /* Tab Content */
19
20 .dome-xTab-content {
21 width: 100% ;
22 height: 100% ;
23 }
24
25 /* Tab Item */
26
27 .dome-xTab {
28 flex: 1 1 150px ;
29 position: relative ;
30 font-size: 10px ;
31 text-align: center ;
32 padding: 4px 20px 4px 20px ;
33 border-color: inherit ;
34 border-width: 1px ;
35 border-top-style: none ;
36 border-bottom-style: none ;
37 border-left-style: none ;
38 border-right-style: solid ;
39 }
40
41 .dome-xTab.dome-inactive:hover {
42 background: var(--background-disabled-hover) ;
43 }
44
45 .dome-xTab.dome-inactive {
46 color: var(--text-discrete) ;
47 border-color: var(--border) ;
48 background: var(--background-disabled) ;
49 }
50
51 /* Closing Tab button */
52
53 .dome-xTab-closing {
54 display: inline ;
55 border-radius: 4px ;
56 position: absolute ;
57 width: 12px ;
58 height: 12px ;
59 padding: 2px ;
60 top: 2px ;
61 opacity: 0 ;
62 transition: opacity .1s linear 0.1s , background .1s linear 0.1s ;
63 }
64
65 .dome-platform-darwin .dome-xTab-closing {
66 right: initial ;
67 left: 5px ;
68 }
69
70 .dome-xTab-closing {
71 right: 5px ;
72 left: initial ;
73 }
74
75 .dome-xTab-closing:hover {
76 background: var(--background-button-hover);
77 }
78
79 .dome-xTab:hover .dome-xTab-closing {
80 opacity: 1 ;
81 }
82
83 /* -------------------------------------------------------------------------- */
84 /* --- Styling SideBars --- */
85 /* -------------------------------------------------------------------------- */
86
87 .dome-xSideBar {
88 width: 100% ;
89 height: 100% ;
90 overflow-x: hidden ;
91 overflow-y: auto ;
92 padding: 0px ;
93 }
94
95 .dome-xSideBar.dome-color-frame,
96 .dome-xSideBarSection-title.dome-color-frame
97 {
98 background: var(--background-sidebar) ;
99 }
100
101 /* -------------------------------------------------------------------------- */
102 /* --- SideBar Section --- */
103 /* -------------------------------------------------------------------------- */
104
105 .dome-xSideBarSection {
106 display: block ;
107 padding: 0px ;
108 padding-top: 3px;
109 }
110
111 .dome-xSideBarSection-title {
112 position: sticky ;
113 top: 0px ;
114 padding-top: 0px;
115 padding-bottom: 0px ;
116 padding-left: 3px ;
117 padding-right: 2px ;
118 display: flex ;
119 flex-flow: row nowrap ;
120 align-items: center ;
121 }
122
123 .dome-xSideBarSection-title > .dome-xLabel {
124 flex: 1 1 ;
125 overflow: hidden ;
126 text-overflow: ellipsis ;
127 font-weight: bold ;
128 }
129
130 .dome-xSideBarSection-title > .dome-xBadge {
131 flex: 0 0 ;
132 }
133
134 .dome-xSideBarSection-filterButton {
135 margin: 0px;
136 padding: 0px;
137 }
138
139 .dome-xSideBarSection-hideshow {
140 flex: 0 0 ;
141 margin: 1px ;
142 color: var(--info-text) ;
143 width: 32px ;
144 font-weight: normal ;
145 display: inline ;
146 visibility: hidden ;
147 }
148
149 .dome-xSideBarSection-title:hover .dome-xSideBarSection-hideshow {
150 visibility: visible ;
151 }
152
153 .dome-xSideBarSection-content {
154 overflow: hidden ;
155 transition: max-height 250ms ease-in-out ;
156 }
157
158 .dome-xSideBarSection-content > .dome-xBoxButton {
159 margin-left: 20px;
160 margin-right: 10px;
161 margin-top: 7px;
162 color: var(--info-text);
163 fill: var(--info-text);
164 display: flex;
165 }
166
167 .dome-xSideBarSection-info {
168 color: var(--info-text-discrete);
169 font-style: italic;
170 padding-left: 20px;
171 padding-right: 10px;
172 display: block;
173 }
174
175 /* -------------------------------------------------------------------------- */
176 /* --- SideBar Items --- */
177 /* -------------------------------------------------------------------------- */
178
179 .dome-xSideBarItem {
180 padding-left: 2px ;
181 padding-right: 2px ;
182 display: flex ;
183 flex-flow: row nowrap ;
184 align-items: center ;
185 scroll-margin-top: 30px;
186 }
187
188 .dome-xSideBarItem.dome-active {
189 background: var(--background-profound) ;
190 }
191
192 .dome-xSideBarItem > .dome-xLabel {
193 flex: 1 1 ;
194 overflow: hidden ;
195 text-overflow: ellipsis ;
196 padding-left: 12px ;
197 }
198
199 .dome-xSideBarItem.dome-disabled > .dome-xLabel {
200 color: var(--disabled-text) ;
201 fill: var(--disabled-text) ;
202 }
203
204 .dome-xSideBarItem > .dome-xLabel:last-child {
205 margin-right: 20px ;
206 }
207
208 .dome-xSideBarItem > .dome-xBadge {
209 flex: 0 0 ;
210 }
211
212 /* -------------------------------------------------------------------------- */
213 /* --- Styling ToolBars --- */
214 /* -------------------------------------------------------------------------- */
215
216 .dome-xToolBar {
217 flex: 0 0 auto ;
218 width: 100% ;
219 min-height: 24px ;
220 display: flex ;
221 flex-direction: row ;
222 flex-wrap: wrap ;
223 align-items: center ;
224 border-width: 1px ;
225 border-bottom-style: solid ;
226 }
227
228 .dome-xToolBar:last-child {
229 border-top-style: solid ;
230 border-bottom-style: none ;
231 }
232
233 /* -------------------------------------------------------------------------- */
234 /* --- Styling ToolBar Spaces --- */
235 /* -------------------------------------------------------------------------- */
236
237 .dome-xToolBar-inset {
238 flex: 0 1 5px ;
239 }
240
241 .dome-xToolBar-space {
242 flex: 0 1 20px ;
243 }
244
245 .dome-xToolBar-filler {
246 flex: 1 1 20px ;
247 }
248
249 .dome-xToolBar-separator + .dome-xToolBar-separator {
250 display: none ;
251 }
252
253 .dome-xToolBar-separator {
254 flex: 0 0 10px ;
255 align-self: center ;
256 }
257
258 .dome-xToolBar-vrule {
259 width: 1px ;
260 position: relative ;
261 left: 4px ;
262 height: 18px ;
263 }
264
265 .dome-xToolBar-vrule {
266 background: var(--splitter) ;
267 }
268
269 /* -------------------------------------------------------------------------- */
270 /* --- Styling ToolBar Buttons --- */
271 /* -------------------------------------------------------------------------- */
272
273 /* Layout */
274
275 .dome-xToolBar-control {
276 flex: 0 0 auto ;
277 height: 21px ;
278 margin: 6px 5px 6px 5px ;
279 padding: 0px 4px 2px 4px ;
280 box-shadow: 0 1px 1px rgba(0, 0, 0, .06);
281 border: 1px solid transparent;
282 border-radius: 4px;
283 outline: none ;
284 }
285
286 .dome-xToolBar-control svg {
287 height: 10px ;
288 position: relative ;
289 }
290
291 .dome-xToolBar-control svg + label {
292 margin-left: 4px ;
293 }
294
295 /* Default button behaviors */
296
297 .dome-xToolBar-control {
298 background-image: var(--default-button-img);
299 color: var(--text);
300 }
301
302 .dome-xToolBar-control:hover:not(:disabled) {
303 background-color: var(--default-button-hover);
304 background-image: none ;
305 }
306
307 .dome-xToolBar-control:active:not(:disabled) {
308 background-color: var(--default-button-active);
309 background-image: none;
310 }
311
312 /* Positive button behaviors */
313
314 .dome-xToolBar-control.dome-xToolBar-positive:not(:disabled) {
315 background-image: var(--positive-button-img);
316 }
317
318 .dome-xToolBar-control.dome-xToolBar-positive:hover:not(:disabled) {
319 background-color: var(--positive-button-hover);
320 background-image: none ;
321 }
322
323 .dome-xToolBar-control.dome-xToolBar-positive:active:not(:disabled) {
324 background-color: var(--positive-button-active);
325 background-image: none;
326 }
327
328 /* Negative button behaviors */
329
330 .dome-xToolBar-control.dome-xToolBar-negative:not(:disabled) {
331 background-image: var(--negative-button-img);
332 }
333
334 .dome-xToolBar-control.dome-xToolBar-negative:hover:not(:disabled) {
335 background-color: var(--negative-button-hover);
336 background-image: none ;
337 }
338
339 .dome-xToolBar-control.dome-xToolBar-negative:active:not(:disabled) {
340 background-color: var(--negative-button-active);
341 background-image: none;
342 }
343
344 /* Warning button behaviors */
345
346 .dome-xToolBar-control.dome-xToolBar-warning:not(:disabled) {
347 background-image: var(--warning-button-img);
348 }
349
350 .dome-xToolBar-control.dome-xToolBar-warning:hover:not(:disabled) {
351 background-color: var(--warning-button-hover);
352 background-image: none ;
353 }
354
355 .dome-xToolBar-control.dome-xToolBar-warning:active:not(:disabled) {
356 background-color: var(--warning-button-active);
357 background-image: none;
358 }
359
360 /* Cancel button behaviors */
361
362 .dome-xToolBar-control.dome-xToolBar-cancel:not(:disabled) {
363 background-color: var(--cancel-button-img);
364 background-image: none ;
365 }
366
367 .dome-xToolBar-control.dome-xToolBar-cancel:hover:not(:disabled) {
368 background-image: var(--cancel-button-hover);
369 }
370
371 .dome-xToolBar-control.dome-xToolBar-cancel:active:not(:disabled) {
372 background-color: var(--cancel-button-active);
373 background-image: none;
374 }
375
376 /* Disabled */
377
378 .dome-xToolBar-control:disabled {
379 fill: var(--disabled-text) ;
380 color: var(--disabled-text) ;
381 }
382
383 /* Selected */
384
385 .dome-xToolBar-control.dome-selected {
386 fill: var(--info-text);
387 color: var(--info-text);
388 border: 1px solid transparent ;
389 background-color: var(--selected-button-img) ;
390 background-image: none ;
391 }
392
393 .dome-xToolBar-control.dome-selected:hover {
394 background-color: var(--selected-button-hover) ;
395 background-image: none ;
396 }
397
398 /* Selected & Disabled */
399
400 .dome-xToolBar-control.dome-selected:disabled {
401 fill: var(--info-text) ;
402 color: var(--info-text) ;
403 border: 1px solid var(--border-discrete) ;
404 }
405
406 /* -------------------------------------------------------------------------- */
407 /* --- Styling ToolBar Button Group --- */
408 /* -------------------------------------------------------------------------- */
409
410 .dome-xToolBar-group {
411 display: flex ;
412 flex-direction: row ;
413 flex-wrap: nowrap ;
414 margin: 6px 5px 6px 5px ;
415 }
416
417 .dome-xToolBar-group .dome-xToolBar-control {
418 margin: 0 ;
419 border-radius: 0;
420 }
421
422 .dome-xToolBar-group > .dome-xToolBar-control:first-child {
423 border-top-left-radius: 4px;
424 border-bottom-left-radius: 4px;
425 }
426
427 .dome-xToolBar-group > .dome-xToolBar-control:last-child {
428 border-top-right-radius: 4px;
429 border-bottom-right-radius: 4px;
430 }
431
432 /* -------------------------------------------------------------------------- */
433 /* --- Styling ToolBar Action Field --- */
434 /* -------------------------------------------------------------------------- */
435
436 .dome-xToolBar-actionComponent {
437 overflow: visible;
438 }
439
440 .dome-xToolBar-actionField {
441 display: flex;
442 flex-direction: row;
443 flex-wrap: nowrap;
444 margin: 2px 1px 2px 1px;
445 padding: 0;
446 overflow: hidden;
447 font-size: 13px;
448 width: 28px;
449 border-radius: 12px;
450 transition: width 0.4s ease-in-out;
451 z-Index: +1;
452 }
453
454 .dome-xToolBar-actionField:hover {
455 width: 228px;
456 }
457
458 .dome-xToolBar-actionField:focus-within {
459 width: 228px !important;
460 box-shadow: 0 0 2px var(--border-discrete);
461 }
462
463 .dome-xToolBar-actionField div.dome-xToolBar-modeSelection {
464 position: relative;
465 padding: 3px 8px 0px 8px;
466 cursor: pointer;
467 }
468
469 .dome-xToolBar-actionField SVG.dome-xToolBar-modeIcon {
470 position: relative;
471 }
472
473 /* Style the search box inside the navigation bar */
474 .dome-xToolBar-actionField input[type=search] {
475 border: none;
476 border-top-right-radius: 12px;
477 border-bottom-right-radius: 12px;
478 text-indent: 4px;
479 height: 21px;
480 width: 200px;
481 outline: none;
482 background: var(--background-softer);
483 color: var(--text);
484 }
485
486 .dome-xToolBar-actionComponent div.dome-xToolBar-suggestions {
487 position: absolute;
488 overflow-x: hidden;
489 overflow-y: auto;
490 max-height: 120px;
491 z-index: +1;
492 width: 0px;
493 background: var(--background-alterning-odd);
494 border-radius: 12px;
495 }
496
497 .dome-xToolBar-actionComponent:focus-within div.dome-xToolBar-suggestions {
498 width: 230px;
499 }
500
501 .dome-xToolBar-searchitem {
502 display: block ;
503 width: 100% ;
504 margin-left: 0px ;
505 margin-right: 0px ;
506 padding-left: 4px ;
507 padding-right: 2px ;
508 }
509
510 .dome-xToolBar-searchitem:hover, .dome-xToolBar-searchindex {
511 background: var(--selected-element) !important;
512 }
513
514 .dome-xToolBar-searchitem:nth-child(even) {
515 background: var(--background-alterning-even);
516 }
517
518 .dome-xToolBar-searchMode {
519 background: var(--primary-button-color);
520 fill: var(--text-discrete);
521 }
522
523 .dome-xToolBar-modeOfModes {
524 background: var(--background-profound);
525 fill: var(--text-discrete);
526 }
527
528 /* -------------------------------------------------------------------------- */
529
530 .dome-xSwitch {
531 position: relative;
532 display: inline-block;
533 width: 34px;
534 height: 21px;
535 }
536
537 .dome-xSwitch input {
538 visibility: hidden;
539 }
540
541 .dome-xSwitch-slider {
542 position: absolute;
543 cursor: pointer;
544 top: 0;
545 left: 0;
546 right: 0;
547 bottom: 0;
548 background-color: var(--background-softer);
549 box-shadow: 0 0 1px var(--border);
550 -webkit-transition: .4s;
551 transition: .4s;
552 border-radius: 21px;
553 }
554
555 .dome-xSwitch-slider:before {
556 position: absolute;
557 content: "";
558 height: 15px;
559 width: 15px;
560 left: 3px;
561 bottom: 3px;
562 background-color: var(--text-discrete);
563 -webkit-transition: .4s;
564 transition: .4s;
565 border-radius: 50%;
566 }
567
568 input:checked + .dome-xSwitch-slider:before {
569 -webkit-transform: translateX(13px);
570 -ms-transform: translateX(13px);
571 transform: translateX(13px);
572 }