GTK3: Add inner shadow to button-like widgets to add some volume
This commit is contained in:
@@ -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);
|
||||
Reference in New Issue
Block a user