summaryrefslogtreecommitdiff
path: root/desktop-themes
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2015-12-22 00:28:04 +0100
committerWolfgang Ulbrich <[email protected]>2015-12-22 00:29:25 +0100
commit5aec444f3cb876154144fe20de0989604a4ef56c (patch)
tree7590810f88aacb1ed9135a03dfe6d479f714c3b2 /desktop-themes
parent8c66fefc7508750e46876c9967e9ae325dd2951a (diff)
downloadmate-themes-5aec444f3cb876154144fe20de0989604a4ef56c.tar.bz2
mate-themes-5aec444f3cb876154144fe20de0989604a4ef56c.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')
-rw-r--r--desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css45
-rw-r--r--desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css10
-rw-r--r--desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css45
-rw-r--r--desktop-themes/Menta/gtk-3.0/gtk-widgets.css10
-rw-r--r--desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css9
-rw-r--r--desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css9
-rw-r--r--desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css9
7 files changed, 137 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 *
*****************/
diff --git a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css
index 42092fb5..27795eeb 100644
--- a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css
@@ -3067,6 +3067,16 @@ GtkFileChooserWidget GtkPlacesSidebar.sidebar.frame .frame .sidebar.list .list-r
padding: 4px 12px 4px 0px;
}
+/* workaround for broken first/last-child logic with linked buttons
+ in pathbar with gtk+-3.18 */
+.path-bar.linked .button.text-button {
+ border-right-width: 1px;
+ border-left-width: 1px;
+ border-image-width: 3px 3px 4px 3px;
+ border-radius: 3px;
+ padding: 4px;
+}
+
.sidebar row:hover {
background-color: shade (@theme_selected_bg_color, 1.15);
color: shade (@theme_selected_bg_color, 0.35);
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 c5ddc0f8..6665f1e1 100644
--- a/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css
@@ -6121,6 +6121,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(@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);
+}
+
/*****************
* Miscellaneous *
*****************/
diff --git a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css
index 934d5bdf..78add74a 100644
--- a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css
@@ -3067,6 +3067,16 @@ GtkFileChooserWidget GtkPlacesSidebar.sidebar.frame .frame .sidebar.list .list-r
padding: 4px 12px 4px 0px;
}
+/* workaround for broken first/last-child logic with linked buttons
+ in pathbar with gtk+-3.18 */
+.path-bar.linked .button.text-button {
+ border-right-width: 1px;
+ border-left-width: 1px;
+ border-image-width: 3px 3px 4px 3px;
+ border-radius: 3px;
+ padding: 4px;
+}
+
.sidebar row:hover {
background-color: shade (@theme_selected_bg_color, 1.15);
color: shade (@theme_selected_bg_color, 0.35);
diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css
index ef2ece86..d6ea9957 100644
--- a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css
@@ -1814,6 +1814,15 @@ GtkFileChooserDialog GtkPlacesSidebar.sidebar.frame .frame .sidebar.list .list-r
padding: 4px 12px 4px 0px;
}
+/* workaround for broken first/last-child logic with linked buttons
+ in pathbar with gtk+-3.18 */
+.path-bar.linked .button.text-button {
+ border-right-width: 1px;
+ border-left-width: 1px;
+ border-radius: 2px;
+ padding: 4px;
+}
+
.sidebar .radio,
.sidebar .radio:focus,
.sidebar .radio:selected {
diff --git a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css
index e757fc30..a6491f3c 100644
--- a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css
@@ -1818,6 +1818,15 @@ GtkFileChooserDialog GtkPlacesSidebar.sidebar.frame .frame .sidebar.list .list-r
padding: 4px 12px 4px 0px;
}
+/* workaround for broken first/last-child logic with linked buttons
+ in pathbar with gtk+-3.18 */
+.path-bar.linked .button.text-button {
+ border-right-width: 1px;
+ border-left-width: 1px;
+ border-radius: 2px;
+ padding: 4px;
+}
+
.sidebar .radio,
.sidebar .radio:focus,
.sidebar .radio:selected {
diff --git a/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css
index 22864cfa..78e3c7c9 100644
--- a/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css
@@ -1814,6 +1814,15 @@ GtkFileChooserDialog GtkPlacesSidebar.sidebar.frame .frame .sidebar.list .list-r
padding: 4px 12px 4px 0px;
}
+/* workaround for broken first/last-child logic with linked buttons
+ in pathbar with gtk+-3.18 */
+.path-bar.linked .button.text-button {
+ border-right-width: 1px;
+ border-left-width: 1px;
+ border-radius: 2px;
+ padding: 4px;
+}
+
.sidebar .radio,
.sidebar .radio:focus,
.sidebar .radio:selected {