Skip to content

Commit d56f32f

Browse files
committed
Fixes #403 and Fixes #509
1 parent bbf00f2 commit d56f32f

2 files changed

Lines changed: 5 additions & 13 deletions

File tree

gtk-3.0/scss/widgets/_button.scss

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -173,12 +173,8 @@
173173
}
174174

175175
&:insensitive:insensitive {
176-
@if (lightness($button_bg) > 50) {
177-
@include linear-gradient(shade($button_bg, .95));
178-
} @else {
179-
@include linear-gradient(alpha($button_bg, .3));
180-
}
181-
176+
background-color: transparent;
177+
background-image: none;
182178
color: mix($bg, $fg, .5);
183179
box-shadow: none;
184180
}

gtk-3.20/scss/widgets/_button.scss

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -321,12 +321,8 @@
321321
}
322322

323323
&:disabled:disabled {
324-
@if (lightness($button_bg) > 50) {
325-
@include linear-gradient(shade($button_bg, .95));
326-
} @else {
327-
@include linear-gradient(alpha($button_bg, .3));
328-
}
329-
324+
background-color: transparent;
325+
background-image: none;
330326
color: mix($bg, $fg, .5);
331327
box-shadow: none;
332328
}
@@ -457,7 +453,7 @@
457453

458454
&.down {
459455
border-style: none solid solid solid;
460-
border-radius: 0 0 $roundness $roundness;
456+
border-radius: 0 0 $roundness $roundness;
461457
}
462458
}
463459
}

0 commit comments

Comments
 (0)