GTK3: Add inner shadow to button-like widgets to add some volume

This commit is contained in:
Daniel Ruiz de Alegría
2020-09-07 12:21:49 +02:00
parent d4ac3708b3
commit 3f2f3e1226
5 changed files with 95 additions and 91 deletions
@@ -186,7 +186,7 @@
$_hilight_color: _button_hilight_color($c);
$_button_edge: if($edge == none, none, _widget_edge($edge));
$_blank_edge: if($edge == none, none, _widget_edge(transparentize($edge,1)));
$_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);
@if $t==normal {
//
@@ -0,0 +1,4 @@
189c189
< $_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);