[libadwaita/wip/exalm/buttons-v2: 7/9] stylesheet: Drop .osd for spinbuttons
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/buttons-v2: 7/9] stylesheet: Drop .osd for spinbuttons
- Date: Sun, 23 May 2021 10:37:15 +0000 (UTC)
commit d0491d9354f3edaf3df4adc79c6ac92f3d026a35
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Sun May 23 15:07:05 2021 +0500
stylesheet: Drop .osd for spinbuttons
This style doesn't work correctly even in GTK3, while .osd spinbutton works
fine. With this I'm assuming it's a very old leftover.
src/stylesheet/widgets/_spin-button.scss | 47 --------------------------------
1 file changed, 47 deletions(-)
---
diff --git a/src/stylesheet/widgets/_spin-button.scss b/src/stylesheet/widgets/_spin-button.scss
index e8d4a567..f0492b47 100644
--- a/src/stylesheet/widgets/_spin-button.scss
+++ b/src/stylesheet/widgets/_spin-button.scss
@@ -48,42 +48,6 @@ spinbutton {
&:dir(rtl):first-child { border-radius: $button_radius 0 0 $button_radius; }
}
-
- .osd {
- > button.image-button.up:not(.flat),
- > button.image-button.down:not(.flat) {
- @include button(undecorated);
-
- color: $osd_fg_color;
- border-style: none none none solid;
- border-color: transparentize($osd_borders_color, 0.3);
- border-radius: 0;
- box-shadow: none;
-
- &:dir(rtl) { border-style: none solid none none; }
-
- &:hover {
- @include button(undecorated);
-
- color: $osd_fg_color;
- border-color: transparentize(opacify($osd_borders_color, 1), 0.5);
- background-color: darken($osd_bg_color,10%);
- box-shadow: none;
- }
-
- &:disabled {
- @include button(undecorated);
-
- color: $osd_insensitive_fg_color;
- border-color: transparentize(opacify($osd_borders_color, 1), 0.5);
- box-shadow: none;
- }
-
- &:dir(ltr):last-child { border-radius: 0 $button_radius $button_radius 0; }
-
- &:dir(rtl):first-child { border-radius: $button_radius 0 0 $button_radius; }
- }
- }
}
// Vertical
@@ -135,17 +99,6 @@ spinbutton {
}
}
- // OSD vertical
- .osd &.vertical > button:first-child {
- @include button(osd);
-
- &:hover { @include button(osd-hover);}
-
- &:active { @include button(osd-active); }
-
- &:disabled { @include button(osd-insensitive); }
- }
-
// Misc
treeview &:not(.vertical) {
min-height: 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]