Debian Codegraph @

src/gtk4/widgets/_toolbar.scss

raw
1 @charset "UTF-8";
2
3 /************
4 * Toolbars *
5 ************/
6 %toolbar {
7 padding: 4px;
8 background-color: gtk("@theme_bg_color");
9 }
10 .toolbar, toolbar {
11 @extend %toolbar;
12 padding: 4px 3px 3px 4px;
13 &:backdrop {
14 background-color: gtk("@theme_unfocused_bg_color");
15 box-shadow: none;
16 }
17 button {
18 margin: 2px;
19 padding: 3px;
20 &.image-button,
21 &.text-button.image-button {
22 padding: 3px;
23 }
24 }
25 separator {
26 margin-left: 3px;
27 margin-right: 3px;
28 }
29 entry {
30 margin: 3px;
31 }
32 // on OSD
33 .osd & {
34 background-color: transparent;
35 }
36 &.osd {
37 padding: 13px;
38 border: none;
39 border-radius: $r;
40 background-color: gtk("@theme_bg_color");
41 &:backdrop {
42 border-color: gtk("@unfocused_borders");
43 background-color: gtk("@theme_unfocused_bg_color");
44 box-shadow: none;
45 }
46 &.left,
47 &.right,
48 &.top,
49 &.bottom {
50 border-radius: 0;
51 } // positional classes for `attached` osd toolbars
52 }
53 }
54
55 //searchbar, location-bar & inline-toolbar
56 .inline-toolbar {
57 @extend %toolbar;
58 @extend %inset-bar;
59 border-width: 0px 0px 1px 0px;
60 padding: 3px;
61 border-radius: 0;
62 }
63 searchbar > revealer > box,
64 .location-bar {
65 @extend %toolbar;
66 @extend %inset-bar;
67 border-width: 0px 0px 1px 0px;
68 padding: 3px;
69 }
70
71 %inset-bar {
72 border-style: solid;
73 border-color: gtk("@borders");
74 text-shadow: none;
75 background-color: gtk("@theme_bg_color");
76 }