From 026f409ecbadfc23c90586e26d6758e1b700f535 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Thu, 16 Jul 2015 19:10:57 +0200 Subject: cleaner action button styling --- common/gtk-3.0/3.16/_drawing.scss | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'common/gtk-3.0/3.16/_drawing.scss') 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 -- cgit v1.2.3