summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-02-26 14:26:46 +0100
committerraveit65 <[email protected]>2017-02-26 14:27:22 +0100
commit6cc5f857d0955224ddf71d2153b45051824733bd (patch)
tree84e860bcaaffdf1fcd0c1a9df4a1b728b243d4c0
parent68882be0f33dfb540e8b7719c7c8bde7fb26b01d (diff)
downloadmate-themes-6cc5f857d0955224ddf71d2153b45051824733bd.tar.bz2
mate-themes-6cc5f857d0955224ddf71d2153b45051824733bd.tar.xz
Gtk+-3.20 Traditional themes: use a border for the whole GtkInfobar
Fixes https://github.com/mate-desktop/mate-themes/issues/161
-rw-r--r--desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css18
-rw-r--r--desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css17
2 files changed, 16 insertions, 19 deletions
diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css
index 3a7bad41..4b3b7c73 100644
--- a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css
@@ -3772,17 +3772,19 @@ entry.error:focus,
border-width: 1px;
}
-infobar:last-child,
-.info:last-child,
-.warning:last-child,
-.question:last-child,
-.error:last-child {
- /* only apply a border on the last infobar if
- * there's more than one packed in */
- border-bottom-width: 1px;
+infobar,
+.info,
+.warning,
+.question,
+.error {
+ border-width: 1px;
border-style: solid;
}
+infobar {
+ border-color: shade(@border_color, 0.9);
+}
+
.info,
.info > * {
background-color: @info_bg_color;
diff --git a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css
index dab6239b..ce7129ab 100644
--- a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css
@@ -3776,21 +3776,16 @@ entry.error:focus,
}
infobar,
-infobar:first-child,
-infobar:only-child {
+.info,
+.warning,
+.question,
+.error {
border-width: 1px;
border-style: solid;
}
-infobar:last-child,
-.info:last-child,
-.warning:last-child,
-.question:last-child,
-.error:last-child {
- /* only apply a border on the last infobar if
- * there's more than one packed in */
- border-bottom-width: 1px;
- border-style: solid;
+infobar {
+ border-color: shade(@border_color, 0.9);
}
.info,