diff options
Diffstat (limited to 'common/gtk-3.0/3.16/_drawing.scss')
-rw-r--r-- | common/gtk-3.0/3.16/_drawing.scss | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/common/gtk-3.0/3.16/_drawing.scss b/common/gtk-3.0/3.16/_drawing.scss index 431f03e..dd32535 100644 --- a/common/gtk-3.0/3.16/_drawing.scss +++ b/common/gtk-3.0/3.16/_drawing.scss @@ -118,12 +118,12 @@ // Buttons -@mixin button($t) { +@mixin button($t, $actionb_color:red) { // // Button drawing function // // $t: button type, -// +// $actionb_color: used for destructive and suggested action buttons @if $t==normal { // @@ -273,6 +273,18 @@ background-image: linear-gradient(to bottom, $osd_insensitive_bg_color); } + @else if $t==suggested_destructive { + // + // suggested or destructive action buttons + // + background-clip: border-box; + + color: $selected_fg_color; + outline-color: transparentize($selected_fg_color, 0.7); + background-color: $actionb_color; + border-color: $actionb_color; + } + @else if $t==undecorated { // // reset |