| 1 |
@charset "UTF-8"; |
| 2 |
|
| 3 |
hdydialer { |
| 4 |
button { |
| 5 |
font-weight: lighter; |
| 6 |
background-color: transparent; |
| 7 |
border: 0; |
| 8 |
box-shadow: none; |
| 9 |
&:backdrop { |
| 10 |
background-color: transparent; |
| 11 |
} |
| 12 |
&:focus { |
| 13 |
background-color: transparent; |
| 14 |
border: none; |
| 15 |
} |
| 16 |
} |
| 17 |
} |
| 18 |
hdyviewswitcher { |
| 19 |
> button { |
| 20 |
border: 0; |
| 21 |
background-color: transparent; |
| 22 |
&:backdrop:hover, |
| 23 |
&:hover, |
| 24 |
&:active, |
| 25 |
&:hover:focus, |
| 26 |
&:active:focus, |
| 27 |
&:checked, |
| 28 |
&:checked:hover { |
| 29 |
background-color: transparent; |
| 30 |
} |
| 31 |
&:checked, |
| 32 |
&:checked:backdrop { |
| 33 |
border-top: 0; |
| 34 |
border-left: 0; |
| 35 |
border-right: 0; |
| 36 |
background-color: transparent; |
| 37 |
> stack { |
| 38 |
border-bottom: 3px solid transparent; |
| 39 |
border-top: 3px solid |
| 40 |
gtk("@theme_button_decoration_focus"); |
| 41 |
} |
| 42 |
} |
| 43 |
&.needs-attention > stack > box label { |
| 44 |
animation: needs_attention 150ms ease-in; |
| 45 |
background-image: -gtk-gradient( |
| 46 |
radial, |
| 47 |
center center, |
| 48 |
0, |
| 49 |
center center, |
| 50 |
0.5, |
| 51 |
to(gtk("@theme_button_decoration_focus")), |
| 52 |
to(transparent) |
| 53 |
); |
| 54 |
background-size: 6px 6px, 6px 6px; |
| 55 |
background-repeat: no-repeat; |
| 56 |
background-position: right 0px, right 1px; |
| 57 |
} |
| 58 |
} |
| 59 |
} |
| 60 |
headerbar hdyviewswitcher > button:checked > stack { |
| 61 |
&:backdrop { |
| 62 |
border-top: 3px solid transparent; |
| 63 |
border-bottom: 3px solid |
| 64 |
gtk("@theme_button_decoration_focus"); |
| 65 |
} |
| 66 |
border-top: 3px solid transparent; |
| 67 |
border-bottom: 3px solid |
| 68 |
gtk("@theme_button_decoration_focus"); |
| 69 |
} |
| 70 |
viewswitcher { |
| 71 |
border-radius: 0; |
| 72 |
margin: 0; |
| 73 |
padding: 0; |
| 74 |
background-color: transparent; |
| 75 |
button { |
| 76 |
border-radius: 0; |
| 77 |
margin: 0; |
| 78 |
padding: 0; |
| 79 |
background-color: transparent; |
| 80 |
border: 0; |
| 81 |
box-shadow: none; |
| 82 |
> stack { |
| 83 |
color: gtk("@theme_button_foreground_normal"); |
| 84 |
> box label.active { |
| 85 |
font-weight: bold; |
| 86 |
} |
| 87 |
> box.narrow { |
| 88 |
font-size: 0.75rem; |
| 89 |
padding-top: 7px; |
| 90 |
padding-bottom: 5px; |
| 91 |
image, |
| 92 |
label { |
| 93 |
padding-left: 8px; |
| 94 |
padding-right: 8px; |
| 95 |
} |
| 96 |
} |
| 97 |
> box.wide { |
| 98 |
padding: 8px 12px; |
| 99 |
label:dir(ltr) { |
| 100 |
padding-right: 7px; |
| 101 |
} |
| 102 |
label:dir(rtl) { |
| 103 |
padding-left: 7px; |
| 104 |
} |
| 105 |
} |
| 106 |
} |
| 107 |
&:backdrop, |
| 108 |
&:active, |
| 109 |
&:active:focus, |
| 110 |
&:checked:hover, |
| 111 |
&:checked:focus:hover, |
| 112 |
&:backdrop:checked:hover, |
| 113 |
&:focus { |
| 114 |
background-color: transparent; |
| 115 |
} |
| 116 |
&:hover, |
| 117 |
&:focus:hover, |
| 118 |
&:backdrop:hover, |
| 119 |
&:backdrop:focus:hover { |
| 120 |
background-color: gtk("@insensitive_borders"); |
| 121 |
} |
| 122 |
&:checked, |
| 123 |
&:checked:backdrop, |
| 124 |
label:backdrop viewswitcher > selection:checked { |
| 125 |
border-top: 0; |
| 126 |
border-left: 0; |
| 127 |
border-right: 0; |
| 128 |
background-color: transparent; |
| 129 |
> stack { |
| 130 |
border-bottom: 3px solid transparent; |
| 131 |
border-top: 3px solid |
| 132 |
gtk("@theme_button_decoration_focus"); |
| 133 |
} |
| 134 |
} |
| 135 |
&.needs-attention { |
| 136 |
> stack > box label { |
| 137 |
animation: needs_attention 150ms ease-in; |
| 138 |
background-image: -gtk-gradient( |
| 139 |
radial, |
| 140 |
center center, |
| 141 |
0, |
| 142 |
center center, |
| 143 |
0.5, |
| 144 |
to(gtk("@theme_button_decoration_focus")), |
| 145 |
to(transparent) |
| 146 |
); |
| 147 |
background-size: 6px 6px, 6px 6px; |
| 148 |
background-repeat: no-repeat; |
| 149 |
background-position: right 0px, right 1px; |
| 150 |
} |
| 151 |
&:checked > stack > box label { |
| 152 |
animation: needs_attention 150ms ease-out; |
| 153 |
background-image: none; |
| 154 |
} |
| 155 |
} |
| 156 |
} |
| 157 |
} |
| 158 |
headerbar viewswitcher button:checked { |
| 159 |
> stack { |
| 160 |
border-top: 3px solid transparent; |
| 161 |
border-bottom: 3px solid |
| 162 |
gtk("@theme_button_decoration_focus"); |
| 163 |
> box label { |
| 164 |
font-weight: bold; |
| 165 |
} |
| 166 |
} |
| 167 |
> stack:backdrop { |
| 168 |
border-top: 3px solid transparent; |
| 169 |
border-bottom: 3px solid |
| 170 |
gtk("@theme_button_decoration_focus"); |
| 171 |
} |
| 172 |
} |
| 173 |
viewswitcherbar { |
| 174 |
actionbar > revealer > box { |
| 175 |
margin: 0; |
| 176 |
padding: 0; |
| 177 |
} |
| 178 |
} |
| 179 |
|
| 180 |
window.unified { |
| 181 |
border-radius: $window-border-radius; |
| 182 |
&.maximized, |
| 183 |
&.fullscreen, |
| 184 |
&.tiled { |
| 185 |
border-radius: 0; |
| 186 |
} |
| 187 |
} |