summaryrefslogtreecommitdiff
path: root/desktop-themes/Blue-Submarine
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-07-23 17:06:06 +0200
committerraveit65 <[email protected]>2015-07-23 17:07:22 +0200
commitdc3e1d407ae28abc300f12ac730df0375046e4e8 (patch)
tree37efc2734e4d88ca9488aa4a456a4244dc930f1c /desktop-themes/Blue-Submarine
parentc337624a1c675f0f7fbf8847bfdaf02188e27f92 (diff)
downloadmate-themes-dc3e1d407ae28abc300f12ac730df0375046e4e8.tar.bz2
mate-themes-dc3e1d407ae28abc300f12ac730df0375046e4e8.tar.xz
Submarine themes GTK3: style single action-area button
Diffstat (limited to 'desktop-themes/Blue-Submarine')
-rw-r--r--desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css43
1 files changed, 43 insertions, 0 deletions
diff --git a/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css b/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css
index 7a5e2411..0c99416b 100644
--- a/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css
@@ -4497,6 +4497,49 @@ 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 (@theme_selected_bg_color, 1.3),
+ inset 1px 0px shade (@theme_selected_bg_color, 1.3),
+ inset -1px 0px shade (@theme_selected_bg_color, 1.3),
+ inset 0px -1px shade (@theme_selected_bg_color, 1.3);
+}
+
+.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,