diff options
author | raveit65 <[email protected]> | 2015-07-23 17:06:06 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2015-07-23 17:07:22 +0200 |
commit | dc3e1d407ae28abc300f12ac730df0375046e4e8 (patch) | |
tree | 37efc2734e4d88ca9488aa4a456a4244dc930f1c /desktop-themes/Green-Submarine | |
parent | c337624a1c675f0f7fbf8847bfdaf02188e27f92 (diff) | |
download | mate-themes-dc3e1d407ae28abc300f12ac730df0375046e4e8.tar.bz2 mate-themes-dc3e1d407ae28abc300f12ac730df0375046e4e8.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.css | 50 |
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 e31906aa..77c555c7 100644 --- a/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css @@ -4484,6 +4484,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,
|