Skip to content

Commit 8670cc0

Browse files
committed
[Gtk-3.22][Button-Redesign] Fixed spinbutton hover-state color
1 parent 9e4844a commit 8670cc0

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/gtk-3.20/scss/widgets/_button.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@
419419
&:not(.vertical) {
420420
@extend %entry;
421421
@include linear-gradient($base_color, to top);
422-
@include border($base_color);
422+
border-color: border_normal($base_color);
423423

424424
padding: 0;
425425

@@ -430,7 +430,6 @@
430430

431431
&:disabled {
432432
@include linear-gradient(shade($base_color, .9), to top);
433-
434433
color: mix($base_color, $text_color, .5);
435434
}
436435

@@ -445,9 +444,12 @@
445444
border-radius: 0;
446445
border-color: alpha($borders_color, .8);
447446
border-style: none none none solid;
447+
background-color: shade($bg_color, 1.08);
448448
background-image: none;
449449
box-shadow: none;
450450

451+
&:hover { background-color: shade($bg_color, 1.2); }
452+
451453
&:dir(rtl) { border-style: none solid none none; }
452454

453455
&:active { box-shadow: inset 0 2px 3px -1px transparentize($black, .8); }
@@ -456,7 +458,6 @@
456458

457459
&:backdrop:disabled {
458460
border-style: none none none solid; // It is needed or it gets overridden
459-
460461
&:dir(rtl) { border-style: none solid none none; }
461462
}
462463

0 commit comments

Comments
 (0)