[gtk+] HighContrast: Fix up action bar styling
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] HighContrast: Fix up action bar styling
- Date: Wed, 6 Jan 2016 03:39:57 +0000 (UTC)
commit aa9095ff7283dc5fcd493d5e9e68a9e3a88bfd4c
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Jan 5 22:22:47 2016 -0500
HighContrast: Fix up action bar styling
Since HighContrast is not using different background colors
as much as Adwaita, we need to add borders to prevent things
from running into each other.
gtk/theme/HighContrast/_common.scss | 13 ++++++++-----
gtk/theme/HighContrast/gtk-contained-dark.css | 12 +++++++-----
gtk/theme/HighContrast/gtk-contained.css | 12 +++++++-----
3 files changed, 22 insertions(+), 15 deletions(-)
---
diff --git a/gtk/theme/HighContrast/_common.scss b/gtk/theme/HighContrast/_common.scss
index 70d19c2..87c29f5 100644
--- a/gtk/theme/HighContrast/_common.scss
+++ b/gtk/theme/HighContrast/_common.scss
@@ -1883,7 +1883,7 @@ levelbar {
}
/**********
- * Frames *
+ * rames *
**********/
frame border,
.frame {
@@ -1891,10 +1891,13 @@ frame border,
&.flat { border-style: none; }
&:backdrop { border-color: $backdrop_borders_color; }
padding: 0;
- &.action-bar {
- padding: 6px;
- border-width: 1px 0 0;
- }
+}
+
+actionbar box {
+ padding: 6px;
+ border-width: 1px 0 0;
+ border-color: $borders_color;
+ border-style: solid none none;
}
placessidebar,
diff --git a/gtk/theme/HighContrast/gtk-contained-dark.css b/gtk/theme/HighContrast/gtk-contained-dark.css
index 3a36f70..e7212dc 100644
--- a/gtk/theme/HighContrast/gtk-contained-dark.css
+++ b/gtk/theme/HighContrast/gtk-contained-dark.css
@@ -2058,7 +2058,7 @@ spinbutton selection:focus, modelbutton.flat:hover, modelbutton.flat:selected,
color: #fff; }
/**********
- * Frames *
+ * rames *
**********/
frame border,
.frame {
@@ -2070,10 +2070,12 @@ frame border,
frame border:backdrop,
.frame:backdrop {
border-color: #737373; }
- frame border.action-bar,
- .frame.action-bar {
- padding: 6px;
- border-width: 1px 0 0; }
+
+actionbar box {
+ padding: 6px;
+ border-width: 1px 0 0;
+ border-color: gray;
+ border-style: solid none none; }
placessidebar .frame,
scrolledwindow .frame {
diff --git a/gtk/theme/HighContrast/gtk-contained.css b/gtk/theme/HighContrast/gtk-contained.css
index de18c6f..ef46578 100644
--- a/gtk/theme/HighContrast/gtk-contained.css
+++ b/gtk/theme/HighContrast/gtk-contained.css
@@ -2058,7 +2058,7 @@ spinbutton selection:focus, modelbutton.flat:hover, modelbutton.flat:selected,
color: #fff; }
/**********
- * Frames *
+ * rames *
**********/
frame border,
.frame {
@@ -2070,10 +2070,12 @@ frame border,
frame border:backdrop,
.frame:backdrop {
border-color: #8d8d8d; }
- frame border.action-bar,
- .frame.action-bar {
- padding: 6px;
- border-width: 1px 0 0; }
+
+actionbar box {
+ padding: 6px;
+ border-width: 1px 0 0;
+ border-color: gray;
+ border-style: solid none none; }
placessidebar .frame,
scrolledwindow .frame {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]