summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-02-26 14:26:46 +0100
committerraveit65 <[email protected]>2017-02-26 14:26:46 +0100
commit2db4a56382e1de705e7aafb38fcc1ef258fa6ed3 (patch)
tree44f15c4dc738ec284a1a6632bb918c4fd8a4c6c5
parent36cf6b291ee94b17ddd58e95cba4fd9321a6680f (diff)
downloadmate-themes-2db4a56382e1de705e7aafb38fcc1ef258fa6ed3.tar.bz2
mate-themes-2db4a56382e1de705e7aafb38fcc1ef258fa6ed3.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,