aboutsummaryrefslogtreecommitdiff
path: root/common/gtk-3.0/3.16/_drawing.scss
diff options
context:
space:
mode:
authorHorst31802015-07-16 19:10:57 +0200
committerHorst31802015-07-16 19:10:57 +0200
commit026f409ecbadfc23c90586e26d6758e1b700f535 (patch)
tree84d4917f0ef46e978757852274e4a83e769f3745 /common/gtk-3.0/3.16/_drawing.scss
parentf073c56bfc65347ef99108a9cbffd4eb8a59ed22 (diff)
downloadsolarc-theme-026f409ecbadfc23c90586e26d6758e1b700f535.tar.gz
solarc-theme-026f409ecbadfc23c90586e26d6758e1b700f535.tar.xz
solarc-theme-026f409ecbadfc23c90586e26d6758e1b700f535.zip
cleaner action button styling
Diffstat (limited to 'common/gtk-3.0/3.16/_drawing.scss')
-rw-r--r--common/gtk-3.0/3.16/_drawing.scss16
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