Changeset View
Changeset View
Standalone View
Standalone View
src/gtk3/widgets/_button.scss
Show First 20 Lines • Show All 83 Lines • ▼ Show 20 Line(s) | 21 | // | |||
---|---|---|---|---|---|
84 | // | 84 | // | ||
85 | // backdrop button | 85 | // backdrop button | ||
86 | // | 86 | // | ||
87 | color: gtk("@theme_button_foreground_backdrop"); | 87 | color: gtk("@theme_button_foreground_backdrop"); | ||
88 | border-color: gtk("@unfocused_borders"); | 88 | border-color: gtk("@unfocused_borders"); | ||
89 | background-color: gtk("@theme_button_background_backdrop"); | 89 | background-color: gtk("@theme_button_background_backdrop"); | ||
90 | } | 90 | } | ||
91 | 91 | | |||
92 | @else if $t==backdrop-hover { | ||||
93 | // | ||||
94 | // backdrop hover button | ||||
95 | // | ||||
96 | color: gtk("@theme_button_foreground_backdrop"); | ||||
97 | border-color: gtk("@theme_button_decoration_hover"); | ||||
98 | background-color: gtk("@theme_button_background_backdrop"); | ||||
99 | } | ||||
100 | | ||||
92 | @else if $t==backdrop-active { | 101 | @else if $t==backdrop-active { | ||
93 | // | 102 | // | ||
94 | // backdrop pushed button | 103 | // backdrop pushed button | ||
95 | // | 104 | // | ||
96 | color: gtk("@theme_button_foreground_active_backdrop"); | 105 | color: gtk("@theme_button_foreground_active_backdrop"); | ||
97 | border-color: gtk("@theme_button_decoration_focus_backdrop"); | 106 | border-color: gtk("@theme_button_decoration_focus_backdrop"); | ||
98 | background-color: gtk("@theme_button_decoration_focus_backdrop"); | 107 | background-color: gtk("@theme_button_decoration_focus_backdrop"); | ||
99 | } | 108 | } | ||
▲ Show 20 Lines • Show All 89 Lines • ▼ Show 20 Line(s) | 196 | &:active, &:checked, &:focus { | |||
189 | transition-duration: 50ms; | 198 | transition-duration: 50ms; | ||
190 | &:hover { | 199 | &:hover { | ||
191 | @include button(active-hover); | 200 | @include button(active-hover); | ||
192 | } | 201 | } | ||
193 | } | 202 | } | ||
194 | &:backdrop { | 203 | &:backdrop { | ||
195 | @include button(backdrop); | 204 | @include button(backdrop); | ||
196 | -gtk-icon-effect: none; | 205 | -gtk-icon-effect: none; | ||
206 | &:hover { | ||||
207 | @include button(backdrop-hover); | ||||
208 | } | ||||
197 | &:active, &:checked, &:focus { | 209 | &:active, &:checked, &:focus { | ||
198 | @include button(backdrop-active); | 210 | @include button(backdrop-active); | ||
199 | } | 211 | } | ||
200 | &:disabled { | 212 | &:disabled { | ||
201 | @include button(backdrop-insensitive); | 213 | @include button(backdrop-insensitive); | ||
202 | } | 214 | } | ||
203 | &:disabled:active, &:disabled:checked, &:disabled:focus { | 215 | &:disabled:active, &:disabled:checked, &:disabled:focus { | ||
204 | @include button(backdrop-insensitive-active); | 216 | @include button(backdrop-insensitive-active); | ||
▲ Show 20 Lines • Show All 314 Lines • Show Last 20 Lines |