GTK3: remove text-shadow from buttons
This commit is contained in:
@@ -287,7 +287,8 @@ notebook {
|
||||
**************/
|
||||
infobar {
|
||||
@mixin _infobar_button($bg) {
|
||||
button {
|
||||
button,
|
||||
button.flat {
|
||||
// FIXME: extend selection mode buttons
|
||||
@include button(normal, $bg, $selected_fg_color, none);
|
||||
|
||||
|
||||
@@ -198,7 +198,7 @@
|
||||
border-bottom-color: if($c != $bg_color, _border_color($c, true), $alt_borders_color);
|
||||
background-image: linear-gradient(to top, if($c != $bg_color, $c, lighten($c, 3%)) 2px, lighten($c, 5%)),
|
||||
$backimage;
|
||||
@include _button_text_shadow($tc, $c);
|
||||
//@include _button_text_shadow($tc, $c);
|
||||
@include _shadows(inset 0 1px $_hilight_color, $_button_edge, $_button_shadow);
|
||||
}
|
||||
|
||||
@@ -213,13 +213,13 @@
|
||||
@if $variant == 'light' {
|
||||
background-image: linear-gradient(to top, $c, lighten($c, 1%) 1px),
|
||||
$backimage;
|
||||
@include _button_text_shadow($tc, lighten($c, 6%));
|
||||
//@include _button_text_shadow($tc, lighten($c, 6%));
|
||||
@include _shadows(inset 0 1px _button_hilight_color(lighten($c, 6%)), $_button_edge, $_button_shadow);
|
||||
}
|
||||
@else {
|
||||
background-image: linear-gradient(to top, darken($c,1%), lighten($c, 1%) 1px),
|
||||
$backimage;
|
||||
@include _button_text_shadow($tc,lighten($c, 6%));
|
||||
//@include _button_text_shadow($tc,lighten($c, 6%));
|
||||
@include _shadows(inset 0 1px _button_hilight_color(darken($c, 2%)), $_button_edge, $_button_shadow);
|
||||
}
|
||||
}
|
||||
@@ -231,7 +231,7 @@
|
||||
color: $tc;
|
||||
outline-color: transparentize($tc, 0.7);
|
||||
border-color: if($c != $bg_color, _border_color($c, true), $alt_borders_color);
|
||||
@include _button_text_shadow($tc, $c);
|
||||
//@include _button_text_shadow($tc, $c);
|
||||
@if $variant == 'light' {
|
||||
background-image: linear-gradient(to bottom, lighten($c, 5%) 20%, $c 90%);
|
||||
@include _shadows(inset 0 1px _button_hilight_color(lighten($c, 6%)),
|
||||
|
||||
@@ -11,4 +11,20 @@
|
||||
< linear-gradient(to top, darken($c,1%) 2px, $c)),
|
||||
---
|
||||
> background-image: linear-gradient(to top, if($c != $bg_color, $c, lighten($c, 3%)) 2px, lighten($c, 5%)),
|
||||
201c201
|
||||
< @include _button_text_shadow($tc, $c);
|
||||
---
|
||||
> //@include _button_text_shadow($tc, $c);
|
||||
216c216
|
||||
< @include _button_text_shadow($tc, lighten($c, 6%));
|
||||
---
|
||||
> //@include _button_text_shadow($tc, lighten($c, 6%));
|
||||
222c222
|
||||
< @include _button_text_shadow($tc,lighten($c, 6%));
|
||||
---
|
||||
> //@include _button_text_shadow($tc,lighten($c, 6%));
|
||||
234c234
|
||||
< @include _button_text_shadow($tc, $c);
|
||||
---
|
||||
> //@include _button_text_shadow($tc, $c);
|
||||
|
||||
|
||||
@@ -7,18 +7,18 @@ RESET='\033[0m'
|
||||
VERSION=3.24.24
|
||||
|
||||
echo
|
||||
echo -e " $YELLOW[ i ]$RESET Upstream version $VERSION"
|
||||
printf " $YELLOW[ i ]$RESET Upstream version $VERSION\n"
|
||||
echo
|
||||
|
||||
while read file;
|
||||
do
|
||||
echo
|
||||
echo -e " $GREEN[ * ]$RESET Downloading file $file"
|
||||
printf " $GREEN[ * ]$RESET Downloading file $file\n"
|
||||
wget https://gitlab.gnome.org/GNOME/gtk/raw/$VERSION/gtk/theme/Adwaita/$file --timestamping --quiet
|
||||
|
||||
if [ -f $file.patch ]
|
||||
then
|
||||
echo -e " $YELLOW[ ~ ]$RESET Apply patch"
|
||||
printf " $YELLOW[ ~ ]$RESET Apply patch\n"
|
||||
patch $file $file.patch --quiet
|
||||
fi
|
||||
done <<- EOF
|
||||
|
||||
Reference in New Issue
Block a user