GTK3: update _drawing.scss.patch with new changes

This commit is contained in:
Daniel Ruiz de Alegría 2021-04-19 10:23:23 +02:00
parent f08a57aaab
commit 96b5d20533
No known key found for this signature in database
GPG Key ID: 59667A77E8BFCB6C
2 changed files with 15 additions and 9 deletions

View File

@ -186,7 +186,8 @@
$_hilight_color: _button_hilight_color($c); $_hilight_color: _button_hilight_color($c);
$_button_edge: if($edge == none, none, _widget_edge($edge)); $_button_edge: if($edge == none, none, _widget_edge($edge));
$_blank_edge: if($edge == none, none, _widget_edge(transparentize($edge,1))); $_blank_edge: if($edge == none, none, _widget_edge(transparentize($edge,1)));
$_button_shadow: inset 0 -1px 0 transparentize(if($c != $bg_color, _border_color($c), $borders_color), .25), 0 1px 2px transparentize($shadow_color, 0.03); $_button_shadow: inset 0 -1px 0px transparentize(if($c != $bg_color, _border_color($c), $borders_color), .25),
0 1px 2px transparentize($shadow_color, 0.03);
@if $t==normal { @if $t==normal {
// //

View File

@ -2,28 +2,33 @@
< @else { @return transparentize(white, 0.98); } < @else { @return transparentize(white, 0.98); }
--- ---
> @else { @return transparentize(white, 0.95); } > @else { @return transparentize(white, 0.95); }
189c189 189c189,190
< $_button_shadow: 0 1px 2px transparentize($shadow_color, 0.03); < $_button_shadow: 0 1px 2px transparentize($shadow_color, 0.03);
--- ---
> $_button_shadow: inset 0 -1px 0 transparentize(if($c != $bg_color, _border_color($c), $borders_color), .25), 0 1px 2px transparentize($shadow_color, 0.03); > $_button_shadow: inset 0 -1px 0px transparentize(if($c != $bg_color, _border_color($c), $borders_color), .25),
199,200c199 > 0 1px 2px transparentize($shadow_color, 0.03);
199,200c200
< background-image: if($variant == 'light', linear-gradient(to top, darken($c, 4%) 2px, $c), < background-image: if($variant == 'light', linear-gradient(to top, darken($c, 4%) 2px, $c),
< linear-gradient(to top, darken($c,1%) 2px, $c)), < linear-gradient(to top, darken($c,1%) 2px, $c)),
--- ---
> background-image: image(lighten($c, 5%)), > background-image: image(lighten($c, 7%)),
202c201 202c202
< @include _button_text_shadow($tc, $c); < @include _button_text_shadow($tc, $c);
--- ---
> //@include _button_text_shadow($tc, $c); > //@include _button_text_shadow($tc, $c);
217c216 215c215
< background-image: linear-gradient(to top, $c, lighten($c, 1%) 1px),
---
> background-image: image(darken($c, 4%)),
217c217
< @include _button_text_shadow($tc, lighten($c, 6%)); < @include _button_text_shadow($tc, lighten($c, 6%));
--- ---
> //@include _button_text_shadow($tc, lighten($c, 6%)); > //@include _button_text_shadow($tc, lighten($c, 6%));
223c222 223c223
< @include _button_text_shadow($tc,lighten($c, 6%)); < @include _button_text_shadow($tc,lighten($c, 6%));
--- ---
> //@include _button_text_shadow($tc,lighten($c, 6%)); > //@include _button_text_shadow($tc,lighten($c, 6%));
235c234 235c235
< @include _button_text_shadow($tc, $c); < @include _button_text_shadow($tc, $c);
--- ---
> //@include _button_text_shadow($tc, $c); > //@include _button_text_shadow($tc, $c);