gtk-3.0/apps/_budgie.scss 22.4 K raw
1
/*********
2
* Budgie *
3
*********/
4
5
$alert_color: $red;
6
$button_bg: transparent;
7
$entry_border: transparent;
8
$mpris_overlay_fg: $fg_color;
9
$mpris_overlay_bg: transparentize(if($variant=='light',$base_color, darken($bg_color, 10%)), 0.1);
10
$mpris_overlay_border: $top_highlight;
11
$panel_bg: darken($dm_dark, 2%);
12
$panel_color: $headerbar_fg_color;
13
$panel_border: transparentize(darken($headerbar_color, 7%), 0.08);
14
$panel_shadow: transparentize(black, 0.7);
15
$raven_bg: $dm_dark;
16
$raven_expander_border: transparentize($borders_color, 0.05);
17
$raven_border: transparentize($borders_color, 0.08);
18
$raven_expander_bg: transparentize(lighten($panel_bg, 15%), 0.5);
19
$raven_background_bg: transparent;
20
$raven_background_border: transparent;
21
22
$depth: 0 1px 1px rgba(0, 0, 0, 0.06),
23
0 1px 2px rgba(0, 0, 0, 0.20),
24
inset 0px 1px 0px 0px $top_highlight;
25
26
@function gtkalpha($c,$a) {
27
    @return unquote("alpha(#{$c},#{$a})");
28
}
29
30
$roundness: 8px;
31
$border_width: 1px;
32
$pos_list: ((top, bottom),(bottom,top),(left,right),(right,left));
33
34
// Container for both the "panel" area and the shadow. Wise to keep
35
// this transparent..
36
.budgie-container {
37
  background-color: transparent;
38
  &:backdrop { background-color: transparent; }
39
40
  popover list,
41
  popover row {
42
    border: none;
43
    background: none;
44
    padding: 0;
45
    margin: 0;
46
  }
47
}
48
49
.budgie-popover .container,
50
.budgie-popover border,
51
.budgie-popover list,
52
.budgie-popover row {
53
    @extend %reset_style
54
}
55
56
%reset_style {
57
    padding: 0;
58
    margin: 0;
59
    background: none;
60
    border: none;
61
    box-shadow: none;
62
    text-shadow: none;
63
    -gtk-icon-shadow: none;
64
    opacity: 1;
65
    min-width: 0;
66
    min-height: 0;
67
}
68
69
.budgie-popover,
70
.budgie-popover.background {
71
    border-radius: 10px;
72
    padding: 0;
73
    background: $dm_dark;
74
    background-clip: border-box;
75
    box-shadow: 0 2px 3px 1px transparentize(black, 0.65);
76
    border: 1px solid $borders_color;
77
    list,
78
    row {
79
      &:hover { background: none; }
80
    }
81
82
    > frame.container {
83
      margin: 0 -1px -1px; // remove gap
84
      padding: 2px 0 0;
85
    }
86
    button {
87
      color: $panel_color;
88
      border: none;
89
      background: transparent;
90
        // @include button(normal-header);
91
        &:hover {
92
          color: $selected_bg_color;
93
        }
94
    }
95
}
96
97
.budgie-popover > .container {
98
    padding: 2px;
99
}
100
101
// Budgie Menu
102
.budgie-menu {
103
    color: $panel_color;
104
    .container { padding: 0; }
105
106
    button:hover { -gtk-icon-effect: none; }
107
108
    entry.search {
109
        border: none;
110
        background: none;
111
        padding: 5px 2px;
112
        border-bottom: 1px solid $borders_color;
113
        border-radius: 0;
114
        font-size: 120%;
115
        box-shadow: none;
116
        color:$panel_color;
117
        image {
118
            &:dir(ltr) { padding-left: 8px; padding-right: 12px; }
119
            &:dir(rtl) { padding-left: 12px; padding-right: 8px; }
120
        }
121
    }
122
123
    .categories {
124
        border-width: 0;
125
        margin-left: 3px;
126
        background: transparent;
127
        &:dir(ltr) { border-right: 1px solid $borders_color; }
128
        &:dir(rtl) { border-left: 1px solid $borders_color; }
129
    }
130
131
    .category-button {
132
        padding: 7px;
133
        border-radius: 2px 0 0 2px;
134
135
        &:hover {
136
          background-color: if(variant == light, transparentize($fg_color, 0.9), transparentize($fg_color, 0.85));
137
          color: $fg_color;
138
        }
139
        &:active { box-shadow: inset 0 2px 2px -2px transparentize(black, 0.8); }
140
        &:checked {
141
          color: $selected_fg_color;
142
          background: $selected_bg_color;
143
          &:hover { 
144
            color: transparentize($selected_fg_color, 0.4);
145
          }
146
        }
147
        &:checked:disabled {
148
            opacity: 0.5;
149
150
            label { color: transparentize($selected_fg_color, 0.3); }
151
        }
152
       
153
    }
154
155
    scrollbar {
156
      background-color: transparent;
157
      border-color: $borders_color;
158
    }
159
160
    button:not(.category-button) {
161
      padding-top: 5px;
162
      padding-bottom: 5px;
163
      border-radius: 0;
164
      box-shadow: none;
165
      background:transparent;
166
      &:hover {
167
        @include button(hover-header, $selected_bg_color, #fff);
168
      }
169
    }
170
    button{
171
        border: none;
172
        background: transparent;
173
    }
174
175
    undershoot, overshoot { background: none; }
176
177
    list {
178
      color: transparentize($panel_color, 0.3);
179
    }
180
}
181
182
// Menu Button
183
button.budgie-menu-launcher {
184
    padding: 0 2px;
185
    color: $headerbar_fg_color;
186
    box-shadow: none;
187
    background-color: transparent;
188
    &:hover { color: $headerbar_fg_color; }
189
    &:active, &:checked { color: $headerbar_fg_color; }
190
191
    &:backdrop {
192
      color: $headerbar_fg_color;
193
      background-color: transparent;
194
      &:hover { color: $headerbar_fg_color; }
195
      &:active, &:checked {
196
        color: $selected_bg_color;
197
        box-shadow: none;
198
        background-color:  mix($bg_color, $base_color, 20%);
199
      }
200
    }
201
}
202
203
// User Menu
204
.user-menu {
205
206
    .content-box separator {
207
      margin-left: 6px;
208
      margin-right: 6px;
209
      background-color: transparentize($fg_color, 0.9);
210
    }
211
212
    button { margin: 5px; }
213
214
    // top-row (user-name and avatar)
215
    > box.vertical row.activatable:first-child,
216
    > frame.container > box.vertical row.activatable:first-child {
217
218
      .indicator-item {
219
        box-shadow: $depth;
220
        background-color: $selected_bg_color;
221
        transition-duration: 0.2s;
222
223
        &:dir(ltr) { // mask avatar's background
224
          padding-left: 7px; // non-scaling unit
225
          background-position: left center;
226
          background-repeat: no-repeat;
227
          background-size: 38px auto; // non-scaling unit
228
        }
229
        &:dir(rtl) {
230
          padding-right: 7px;
231
          background-position: right center;
232
          background-repeat: no-repeat;
233
          background-size: 38px auto;
234
        }
235
236
        label {
237
          color: $selected_fg_color;
238
239
          &:dir(ltr) { padding-left: 5px; }
240
          &:dir(rtl) { padding-right: 5px; }
241
        }
242
243
        image {
244
          color: $selected_fg_color;
245
246
          &:first-child { // avatar image
247
            min-width: 24px;
248
            min-height: 20px;
249
          }
250
        }
251
      }
252
    }
253
}
254
255
// Raven Trigger
256
button.raven-trigger {
257
    padding-left: 2px;
258
    padding-right: 2px;
259
    color: $headerbar_fg_color;
260
    box-shadow: none;
261
    &:hover {
262
      color: $headerbar_fg_color;
263
      background-color: transparent;
264
    }
265
    &:active, &:checked {
266
      box-shadow: none;
267
      background-color: transparent;
268
      color: $selected_bg_color;
269
    }
270
    &:backdrop {
271
      color: $headerbar_fg_color;
272
      &:hover {
273
        color: $headerbar_fg_color;
274
      }
275
      &:active, &:checked {
276
        box-shadow: none;
277
        color: $selected_bg_color;
278
        background-color: transparent;
279
      }
280
    }
281
}
282
283
// Places Menu
284
.places-menu {
285
    .container { padding: 0; }
286
287
    .message-bar {
288
        border-top-left-radius: 3px;
289
        border-top-right-radius: 3px;
290
    }
291
292
    .name-button {
293
        border: 0;
294
        border-radius: 0;
295
        padding: 4px 6px;
296
    }
297
298
    .unmount-button {
299
        padding: 4px 4px;
300
        border: 0;
301
        border-radius: 0;
302
    }
303
304
    .places-section-header {
305
        padding: 0px;
306
        border-bottom: 1px solid $raven_expander_border;
307
        box-shadow: 0px 1px 1px #{"alpha(@theme_fg_color, 0.03)"};
308
    }
309
310
    .places-section-header > button {
311
        padding: 8px;
312
        border: none;
313
        border-bottom-left-radius: 0px;
314
        border-bottom-right-radius: 0px;
315
    }
316
317
    .places-list {
318
        background: transparentize($fg_color, 0.96);
319
        border-bottom: 1px solid $raven_expander_border;
320
    }
321
322
    .unlock-area {
323
        border-top: 1px solid transparentize($raven_expander_border, 0.1);
324
        border-bottom: 1px solid transparentize($raven_expander_border, 0.1);
325
    }
326
327
    .unlock-area entry {
328
        border-radius: 0;
329
        border: 0;
330
    }
331
332
    .unlock-area button {
333
        border-radius: 0;
334
        border: 0;
335
        border-left: 1px solid transparentize($raven_expander_border, 0.1);
336
    }
337
338
    .alternative-label {
339
        font-size: 15px;
340
        padding: 3px;
341
    }
342
343
    .always-expand {
344
        background: transparent;
345
        border-bottom: none;
346
    }
347
}
348
349
// Night Light indicator
350
.night-light-indicator {
351
    .container { padding: 0; }
352
353
    .view-header {
354
        font-size: 14px;
355
        padding: 10px;
356
        border-bottom: #{"1px solid mix(@theme_base_color, #000000, 0.35);"};
357
        box-shadow: #{"0px 1px 1px alpha(@theme_fg_color, 0.04);"};
358
    }
359
360
    .display-settings-button {
361
        border-top-left-radius: 0px;
362
        border-top-right-radius: 0px;
363
        border: none;
364
        padding: 3px;
365
        border-top: #{"1px solid mix(@theme_base_color, #000000, 0.35);"};
366
        box-shadow: #{"inset 0px 1px 1px alpha(@theme_fg_color, 0.04);"};
367
    }
368
}
369
370
// Panel
371
.budgie-panel {
372
    color: $headerbar_fg_color;
373
    background-color: $panel_bg;
374
    background-image: none;
375
    box-shadow: none;
376
    border: none;
377
    transition: all 150ms ease-in;
378
379
    .alert { color: $alert_color; }
380
381
    &:backdrop {
382
      color: $headerbar_fg_color;
383
      background-color: $panel_bg;
384
    }
385
386
    button {
387
      border-top-width: 0;
388
      border-bottom-width: 0;
389
      border-radius: 0;
390
      &.flat {
391
          background: transparent;
392
          border: none;
393
          &:hover, &:active, &:checked {
394
            background: transparentize($selected_bg_color, 0.3);
395
            color: lighten($fg_color, 5%);
396
          }
397
      }
398
    }
399
400
    popover list,
401
    popover row {
402
      padding: 0;
403
      margin: 0;
404
    }
405
406
    label {
407
      color: $headerbar_fg_color;
408
      font-weight: 700;
409
    }
410
411
    &.transparent {
412
        background-color: transparentize($panel_bg, 0.15);
413
414
        .top & {
415
            border-bottom-color: transparent;
416
        }
417
418
        .bottom & {
419
            border-top-color: transparent;
420
        }
421
422
        .left & {
423
            border-right-color: transparent;
424
        }
425
426
        .right & {
427
            border-left-color: transparent;
428
        }
429
430
        &:backdrop, label, button.raven-trigger:backdrop, button.budgie-menu-launcher {
431
          color: lighten($headerbar_fg_color, 10%);
432
        }
433
    }
434
435
    .end-region {
436
     // background-color: rgba(0,0,0,0.3);
437
      border-radius: 0px;
438
      separator { background-color: transparentize($headerbar_fg_color, 0.85); }
439
      label {
440
        font-weight: 700;
441
        color: $headerbar_fg_color;
442
      }
443
    }
444
}
445
446
// Tasklist
447
.budgie-panel #tasklist-button,
448
.budgie-panel #tasklist-button:backdrop {
449
    outline-color: transparent;
450
    transition: all 100ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
451
    border-color: transparentize($panel_bg,1); // fixes the transition
452
    border-radius: 0;
453
    background-color: transparent;
454
    box-shadow: none;
455
    background-clip: padding-box;
456
457
    @extend %underscores;
458
}
459
460
// Icon Tasklist
461
.budgie-panel {
462
463
    button.flat.launcher {
464
        outline-color: transparent;
465
        transition: all 100ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
466
        border-color: transparentize($panel_bg,1); // fixes the transition
467
        border-radius: 0;
468
        padding: 0;
469
        background-clip: padding-box;
470
        background-color: transparent;
471
        & { box-shadow: none; }
472
    }
473
474
    .unpinned button.flat.launcher,
475
    .pinned button.flat.launcher.running { @extend %underscores; }
476
}
477
478
%underscores {
479
    &:hover { box-shadow: none; }
480
    &:active, &:checked { box-shadow: none; }
481
482
    @each $pos, $b_pos in $pos_list {
483
        .#{$pos} & {
484
            padding-#{$b_pos}: 2px;
485
            border-#{$pos}: 2px solid transparent;
486
487
            @at-root {
488
                .#{$pos} .budgie-panel .pinned button.flat.launcher:not(.running) { border-#{$pos}: 2px solid transparent; }
489
                .#{$pos} .budgie-panel .pinned button.flat.launcher:not(.running):hover { border-#{$pos}: 2px solid transparentize(white, 0.9); }
490
                .#{$pos} .budgie-panel .unpinned button.flat.launcher,
491
                .#{$pos} .budgie-panel .pinned button.flat.launcher.running { border-#{$pos}: 2px solid transparentize(white, 0.9); }
492
            }
493
            &:hover {
494
                border-#{$pos}: 2px solid transparentize(white, 0.75);
495
            }
496
            &:active, &:checked {
497
                border-#{$pos}: 2px solid $selected_bg_color;
498
            }
499
        }
500
    }
501
}
502
503
@each $pos, $b_pos in $pos_list {
504
505
    // Panel borders
506
    .#{$pos} .budgie-panel { border-#{$b_pos}: $border_width solid $panel_border; }
507
508
    // Raven borders
509
    .#{$pos} .raven-frame {
510
        padding: 0;
511
        background: none;
512
513
        border {
514
            border: none;
515
            border-#{$b_pos}: $border_width solid $raven_border;
516
        }
517
    }
518
519
    // Shadows
520
    .#{$pos} .shadow-block {
521
        background-color: transparent;
522
        background-image: linear-gradient(to $b_pos,
523
                                          $panel_shadow,
524
                                          transparent);
525
    }
526
}
527
528
// Raven
529
.raven {
530
    padding: 0;
531
    color: $panel_color;
532
    background: $raven_bg;
533
    transition: 170ms ease-out;
534
535
    list {
536
      color: $panel_color;
537
      background-color: transparent;
538
      &:selected { background-color: transparentize($selected_bg_color,0.1); }
539
      row,
540
      row.activatable {
541
        
542
        background-color: transparent;
543
        &:hover { background-color: transparentize(lighten($panel_bg, 15%), 0.7);}
544
        &:selected { background-color: transparentize($selected_bg_color,0.1); }
545
      }
546
    }
547
548
    .raven-background {
549
        color: $panel_color;
550
        background-color: transparent;
551
        border-color: transparent;
552
553
        &.middle { border-bottom-style: none; }  // applet background between two headers
554
    }
555
556
    .powerstrip {
557
      background-color: transparent;
558
      border-top-color: transparent;
559
    }
560
561
    .powerstrip button.image-button {
562
      border-radius:50%;
563
      padding: 5px;
564
      min-width: 32px;
565
      min-height: 32px;
566
      margin-bottom: 3px;
567
     
568
      background: $purple; 
569
      
570
      color: $selected_fg_color;
571
      box-shadow: $depth;
572
      border: none;
573
      font-size: 100%;
574
575
      &:hover {
576
        background: transparentize($purple,0.15);
577
        color: $selected_fg_color;
578
      }
579
      &:active {
580
        background: $purple;
581
        color: $selected_fg_color;
582
      }
583
      &:first-child {
584
        background: $suggested_bg_color;
585
586
        &:hover {
587
          background: transparentize($selected_bg_color, 0.15);
588
        }
589
        &:active {
590
          background: $selected_bg_color;
591
        }
592
      }
593
      &:last-child {
594
        background: $destructive_bg_color;
595
596
        &:hover {
597
          background: transparentize($red, 0.15);
598
        }
599
        &:active {
600
          background: $red;
601
        }
602
      }
603
    }
604
    .option-subtitle {
605
        font-size: 13px;
606
    }
607
}
608
609
// Calendar
610
calendar.raven-calendar {
611
  padding: 4px;
612
  color: $panel_color;
613
  background: transparent;
614
  border-color: transparent;
615
616
  &:indeterminate { color: gtkalpha(currentColor,0.3); }
617
618
  &:selected {
619
    background: transparentize($selected_bg_color, 0.4);
620
    color:$panel_color;
621
    font-weight: bold;
622
  }
623
624
  &:backdrop { background-color: transparent; }
625
626
  &.header {
627
    color: $panel_color;
628
    border: none;
629
    border-radius: 0;
630
    background-color: transparent;
631
  }
632
  & button, & button:focus {
633
    color: gtkalpha(currentColor,0.5);
634
    background-color: transparent;
635
636
    &:hover {
637
      color: $fg_color;
638
      background-color: transparent;
639
    }
640
  }
641
}
642
643
// MPRIS Applet
644
.raven-mpris {
645
    color: $mpris_overlay_fg;
646
    background-color: $mpris_overlay_bg;
647
    border: solid $mpris_overlay_border;
648
    border-width: 1px 0;
649
    border-bottom-color: $bottom_highlight;
650
651
    button.image-button {
652
      padding: 10px;
653
      background-color: $base_color;
654
      box-shadow: $depth;
655
656
      &:hover { background-color: $selected_bg_color; }
657
658
      &:active { background-color: darken($selected_bg_color,5%); }
659
660
      &:first-child { margin-right: 4px; }
661
662
      &:last-child { margin-left: 4px; }
663
664
      &:last-child,
665
      &:first-child {
666
        padding: 4px;
667
        margin-top: 6px;
668
        margin-bottom: 6px;
669
      }
670
    }
671
}
672
673
// Notifications
674
.budgie-notification-window {
675
    background: none;
676
    border-radius: 1px;
677
    button {
678
      background-color: $selected_bg_color;
679
      color: $selected_fg_color;
680
      border: none;
681
      &:hover {
682
        background-color: darken($selected_bg_color, 5%);
683
        border: none;
684
      }
685
      &:active, &:checked { background-color: darken($selected_bg_color, 5%); }
686
    }
687
}
688
689
.budgie-notification {
690
    &.background {
691
        border-radius: 1px;
692
    }
693
    .notification-title {
694
        font-size: 110%;
695
        color: $headerbar_fg_color;
696
    }
697
    .notification-body { color: transparentize($headerbar_fg_color, 0.3); }
698
    button {
699
      background-color: transparent;
700
      color: $selected_fg_color;
701
      &:hover {
702
        background-color: transparent;
703
        color: $red;
704
        box-shadow: none;
705
      }
706
      &:active, &:checked {
707
        background-color: transparent;
708
        color: darken($red, 5%);
709
      }
710
    }
711
}
712
713
.drop-shadow {
714
    color: $headerbar_fg_color;
715
    background-color: transparentize(if($variant=='light', $headerbar_color, $bg_color), 0.05);
716
    box-shadow: 0 1px 2px 0 transparentize(black, 0.8);
717
    border-radius: 2px;
718
}
719
720
// On Screen Display in Budgie
721
.budgie-osd-window {
722
    @extend .budgie-notification-window;
723
}
724
725
// Internal part of the OSD
726
.budgie-osd {
727
    @extend .budgie-notification;
728
}
729
730
// Alt+tab switcher in Budgie
731
.budgie-switcher-window {
732
    @extend .budgie-notification-window;
733
734
    // Flowbox
735
    flowbox { color: $fg_color; }
736
    flowboxchild {
737
        padding: 3px;
738
        margin: 3px;
739
        color: $fg_color;
740
741
        &:hover { background-color: $button_bg; }
742
        &:active { color: $fg_color; }
743
        &:selected {
744
            color: $selected_fg_color;
745
            background-color: transparentize($selected_bg_color,0.5);
746
747
            &:active { color: $selected_fg_color; }
748
            &:hover { background-color: mix(black, $selected_bg_color, 10%); }
749
            &:disabled {
750
                color: transparentize($selected_fg_color, 0.3);
751
                background-color: transparentize($selected_bg_color, 0.3);
752
                label { color: transparentize($selected_fg_color, 0.3); }
753
            }
754
        }
755
    }
756
}
757
758
// Internal part of the Switcher
759
.budgie-switcher {
760
    @extend .budgie-notification;
761
}
762
763
// Session Dialog
764
.budgie-session-dialog {
765
    color: $headerbar_fg_color;
766
    background-color: $panel_bg;
767
768
    label:backdrop { color: $backdrop_headerbar_fg_color; }
769
    &.background { @extend .drop-shadow; }
770
    .dialog-title { font-size: 120%; }
771
772
    .linked.horizontal > button {
773
      margin-bottom: 0;
774
      min-height: 32px;
775
      border-bottom: none;
776
      border-color:$borders_color;
777
      border-radius: 0;
778
      color: $headerbar_fg_color;
779
      background-color: transparent;
780
      box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), inset 0 1px 2px rgba(0, 0, 0, 0.20);
781
782
      label { font-weight: 700; }
783
      &:first-child { border-left: none; border-bottom-left-radius: 2px; }
784
      &:last-child { border-right: none; border-bottom-right-radius: 2px; background:transparent;}
785
      &:hover {
786
        background-color: transparentize($selected_bg_color, 0.1);
787
        color: $selected_fg_color;
788
        &:backdrop {
789
          label { color: transparentize($selected_fg_color, 0.5); }
790
        }
791
      }
792
793
      @each $b_type, $b_color in (suggested-action, $selected_bg_color),
794
                                 (destructive-action, $destructive_color) {
795
        &.#{$b_type} {
796
          background-color: transparentize($b_color, 0.1);
797
          &:hover { background-color: transparentize(lighten($b_color,5%), 0.1); }
798
          &:active, &:checked { background-color: transparentize(lighten($b_color,5%), 0.1); }
799
        }
800
      }
801
    }
802
803
    entry {
804
      background-color: #505359;
805
      color: $headerbar_fg_color;
806
      &:focus { background-color:  #505359; }
807
      &:backdrop { background-color: #505359; }
808
    }
809
}
810
811
// PolKit Dialog
812
.budgie-polkit-dialog {
813
    @extend .budgie-session-dialog;
814
815
    .message { color: transparentize($headerbar_fg_color, 0.3); }
816
    .failure { color: $alert_color; }
817
}
818
819
// Run Dialog
820
.budgie-run-dialog {
821
    @extend .budgie-session-dialog;
822
823
    entry.search, entry.search:focus {
824
        font-size: 120%;
825
        padding: 8px 5px;
826
        border: none;
827
        box-shadow: none;
828
829
        image {
830
            color: $headerbar_fg_color;
831
            &:dir(ltr) { padding-left: 8px; padding-right: 12px; }
832
            &:dir(rtl) { padding-left: 12px; padding-right: 8px; }
833
        }
834
    }
835
836
    list row:selected .dim-label { opacity: 1; }
837
838
    scrolledwindow { border-top: 1px solid darken($entry_border, 5%); }
839
}
840
841
// Budgie styled Gtk Menus
842
.budgie-menubar {
843
    menu {
844
      margin: 4px;
845
      padding: 5px;
846
      border-radius: 0;
847
      background-color: $panel_bg;
848
      menuitem:hover {
849
        background-color: $selected_bg_color;
850
        color: $selected_fg_color;
851
      }
852
    }
853
854
    arrow {
855
        border:none;
856
        min-width:16px;
857
        min-height:16px;
858
859
        &.top {
860
            -gtk-icon-source:-gtk-icontheme("pan-up-symbolic");
861
            border-bottom: 1px solid mix($fg_color, $raven_bg, 10%);
862
        }
863
864
        &.bottom {
865
            -gtk-icon-source:-gtk-icontheme("pan-down-symbolic");
866
            border-top: 1px solid mix($fg_color, $raven_bg, 10%);
867
        }
868
    }
869
870
    menuitem {
871
        accelerator {
872
            color: transparentize($fg_color, 0.65);
873
        }
874
875
        check, radio {
876
            min-height: 16px;
877
            min-width: 16px;
878
        }
879
    }
880
}
881
882
// settings-window
883
window.background.budgie-settings-window.csd {
884
885
  > box.horizontal > stack > scrolledwindow {
886
887
      // hide double-borders
888
      buttonbox.inline-toolbar { border-style: none none solid; }
889
890
  }
891
}
892
893
894
// main menu styling
895
.workspace-switcher {
896
  
897
  .workspace-layout {
898
    border: 0 solid $panel_bg;
899
900
    .top &,
901
    .bottom & {
902
      &:dir(ltr) { border-left-width: 1px; }
903
904
      &:dir(rtl) { border-right-width: 1px; }
905
    }
906
907
    .left &,
908
    .right & { border-top-width: 1px; }
909
  }
910
911
  .workspace-item,
912
  .workspace-add-button {
913
    border: 0 solid lighten($panel_bg, 10%);
914
915
    .top &,
916
    .bottom & {
917
      &:dir(ltr) { border-right-width: 1px; }
918
919
      &:dir(rtl) { border-left-width: 1px; }
920
    }
921
922
    .left &,
923
    .right & { border-bottom-width: 1px; }
924
  }
925
926
  .workspace-item {
927
928
    &.current-workspace { background-color: darken($panel_bg, 5%); }
929
  }
930
931
  .workspace-add-button {
932
    border: none;
933
    background: transparent;
934
    &:hover { box-shadow: none; }
935
936
    &:active { background-image: none; }
937
938
    &:active image { margin: 1px 0 -1px; }
939
  }
940
941
  .workspace-icon-button {
942
    .budgie-panel & { // to overwrite the .budgie-panel button style below
943
      min-height: 24px;
944
      min-width: 24px;
945
      padding: 0;
946
      border-radius: 2px;
947
    }
948
  }
949
}