summaryrefslogtreecommitdiff
path: root/desktop-themes/Green-Submarine
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-07-23 17:06:06 +0200
committerraveit65 <[email protected]>2015-07-23 17:07:03 +0200
commit4a1ef29194f2825b699637884f4de5d76d193734 (patch)
treea104ea8ab1fc72b30a75d00676a34817da223655 /desktop-themes/Green-Submarine
parent51a17fc07871896896200510a80df40fa2667312 (diff)
downloadmate-themes-4a1ef29194f2825b699637884f4de5d76d193734.tar.bz2
mate-themes-4a1ef29194f2825b699637884f4de5d76d193734.tar.xz
Submarine themes GTK3: style single action-area button
Diffstat (limited to 'desktop-themes/Green-Submarine')
-rw-r--r--desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css50
1 files changed, 50 insertions, 0 deletions
diff --git a/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css b/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css
index a6d25af5..b0c12ecc 100644
--- a/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css
@@ -4615,6 +4615,56 @@ GtkMessageDialog {
border-radius: 6px;
}
+.dialog-action-area.linked .button:only-child {
+ border-width: 0px;
+ background-image: -gtk-gradient (linear,
+ left top, left bottom,
+ from (@button_gradient1),
+ color-stop (0.48, @button_gradient2),
+ color-stop (0.52, @button_gradient3),
+ to (@button_gradient4));
+ box-shadow: inset 0px 2px alpha(#fff, 0.11),
+ inset 2px 0px alpha(#fff, 0.09),
+ inset -2px 0px alpha(#fff, 0.09),
+ inset 0px -2px alpha(#fff, 0.07),
+ inset 0px 1px alpha(shade(@button_border, 1.00), 0.70),
+ inset 1px 0px alpha(shade(@button_border, 0.94), 0.80),
+ inset -1px 0px alpha(shade(@button_border, 0.94), 0.80),
+ inset 0px -1px alpha(shade(@button_border, 0.88), 0.90);
+}
+
+.dialog-action-area.linked .button:focus:only-child {
+ box-shadow: inset 0px 1px shade(@selected_bg_color, 1.05),
+ inset 1px 0px shade(@selected_bg_color, 0.97),
+ inset -1px 0px shade(@selected_bg_color, 0.93),
+ inset 0px -1px shade(@selected_bg_color, 0.93);
+}
+
+.dialog-action-area.linked .button:hover:only-child {
+ background-image: -gtk-gradient (linear,
+ left top, left bottom,
+ from (shade(@button_gradient1, 1.03)),
+ color-stop (0.48, shade(@button_gradient2, 1.03)),
+ color-stop (0.52, shade(@button_gradient3, 1.03)),
+ to (shade(@button_gradient4, 1.01)));
+}
+
+.dialog-action-area.linked .button:active:only-child {
+ background-image: -gtk-gradient (linear,
+ left top, left bottom,
+ from (shade (@theme_bg_color, 1.20)),
+ color-stop (0.50, shade (@theme_bg_color, 1.00)),
+ color-stop (0.50, shade (@theme_bg_color, 0.95)),
+ to (shade (@theme_bg_color, 0.80)));
+}
+
+.dialog-action-area.linked .button.suggested-action,
+.dialog-action-area.linked .button.suggested-action:active,
+.dialog-action-area.linked .button.suggested-action:checked,
+.dialog-action-area.linked .button.suggested-action:insensitive {
+ box-shadow: none;
+}
+
.dialog-action-area.linked .button.suggested-action,
.dialog-action-area.linked .button.suggested-action:active,
.dialog-action-area.linked .button.suggested-action:checked,