diff options
author | Wolfgang Ulbrich <[email protected]> | 2015-12-22 00:28:04 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2015-12-22 00:28:04 +0100 |
commit | c7b8cb3309803de97a5eb11dae03f1ad4191502b (patch) | |
tree | f8723e7574f41707e962b5f5b6343f3cb21e62d4 /desktop-themes/Blue-Submarine | |
parent | 240d4b896ccc9e1b57ce9afb9a05f127a6ee10d0 (diff) | |
download | mate-themes-c7b8cb3309803de97a5eb11dae03f1ad4191502b.tar.bz2 mate-themes-c7b8cb3309803de97a5eb11dae03f1ad4191502b.tar.xz |
Gtk+-3.18 most themes: workaround for broken first/last-child logic with linked buttons in GtkFileChooser pathbar
Diffstat (limited to 'desktop-themes/Blue-Submarine')
-rw-r--r-- | desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css | 45 |
1 files changed, 45 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 2f1789ca..f66756f0 100644 --- a/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css @@ -6119,6 +6119,51 @@ GtkFileChooserWidget.vertical GtkPaned.horizontal { border-color: transparent;
}
+/* workaround for broken first/last-child logic with linked buttons
+ in pathbar with gtk+-3.18 */
+.path-bar.linked .button:dir(ltr),
+.path-bar.linked .button:dir(ltr):hover,
+.path-bar.linked .button:dir(ltr):hover:active,
+.path-bar.linked .button:dir(ltr):checked,
+.path-bar.linked .button:dir(ltr):checked:hover,
+.path-bar.linked .button:dir(ltr):checked:hover:active,
+.path-bar.linked .button:dir(ltr):first-child,
+.path-bar.linked .button:dir(ltr):hover:first-child,
+.path-bar.linked .button:dir(ltr):hover:active:first-child,
+.path-bar.linked .button:dir(ltr):checked:first-child,
+.path-bar.linked .button:dir(ltr):checked:hover:first-child,
+.path-bar.linked .button:dir(ltr):checked:hover:active:first-child,
+.path-bar.linked .button:dir(ltr):last-child,
+.path-bar.linked .button:dir(ltr):hover:last-child,
+.path-bar.linked .button:dir(ltr):hover:active:last-child,
+.path-bar.linked .button:dir(ltr):checked:last-child,
+.path-bar.linked .button:dir(ltr):checked:hover:last-child,
+.path-bar.linked .button:dir(ltr):checked:hover:active:last-child {
+ border-width: 1px 0 1px 0px;
+ border-radius: 3px;
+ padding: 0px 4px;
+}
+
+.path-bar.linked .button {
+ 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);
+}
+
+.path-bar.linked .button:hover,
+.path-bar.linked .button:checked,
+.path-bar.linked .button:checked:active {
+ 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);
+}
+
/*****************
* Miscellaneous *
*****************/
|