[Gtk-3.22][Button-Redesign] Fixed spinbutton hover-state color

pull/614/merge
Khurshid Alam 2017-02-04 14:32:13 +05:30
parent 9e4844a70b
commit 8670cc05f0
1 changed files with 4 additions and 3 deletions

View File

@ -419,7 +419,7 @@
&:not(.vertical) { &:not(.vertical) {
@extend %entry; @extend %entry;
@include linear-gradient($base_color, to top); @include linear-gradient($base_color, to top);
@include border($base_color); border-color: border_normal($base_color);
padding: 0; padding: 0;
@ -430,7 +430,6 @@
&:disabled { &:disabled {
@include linear-gradient(shade($base_color, .9), to top); @include linear-gradient(shade($base_color, .9), to top);
color: mix($base_color, $text_color, .5); color: mix($base_color, $text_color, .5);
} }
@ -445,9 +444,12 @@
border-radius: 0; border-radius: 0;
border-color: alpha($borders_color, .8); border-color: alpha($borders_color, .8);
border-style: none none none solid; border-style: none none none solid;
background-color: shade($bg_color, 1.08);
background-image: none; background-image: none;
box-shadow: none; box-shadow: none;
&:hover { background-color: shade($bg_color, 1.2); }
&:dir(rtl) { border-style: none solid none none; } &:dir(rtl) { border-style: none solid none none; }
&:active { box-shadow: inset 0 2px 3px -1px transparentize($black, .8); } &:active { box-shadow: inset 0 2px 3px -1px transparentize($black, .8); }
@ -456,7 +458,6 @@
&:backdrop:disabled { &:backdrop:disabled {
border-style: none none none solid; // It is needed or it gets overridden border-style: none none none solid; // It is needed or it gets overridden
&:dir(rtl) { border-style: none solid none none; } &:dir(rtl) { border-style: none solid none none; }
} }