[gnome-themes-standard/wip/sass] added .header-bar-separator to the relative section
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard/wip/sass] added .header-bar-separator to the relative section
- Date: Wed, 4 Jun 2014 07:24:12 +0000 (UTC)
commit af320ca2baffdfc52b9a333ff1459f78e3d792f1
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Wed Jun 4 09:23:41 2014 +0200
added .header-bar-separator to the relative section
themes/Adwaita/gtk-3.0/_common.scss | 5 +++--
themes/Adwaita/gtk-3.0/gtk-contained-dark.css | 10 ++++++----
themes/Adwaita/gtk-3.0/gtk-contained.css | 10 ++++++----
3 files changed, 15 insertions(+), 10 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss
index 801d6b7..77eba2f 100644
--- a/themes/Adwaita/gtk-3.0/_common.scss
+++ b/themes/Adwaita/gtk-3.0/_common.scss
@@ -223,7 +223,7 @@
@each $b_type, $b_color in (suggested-action, $selected_bg_color),
(destructive-action, $destructive_color) {
&.#{$b_type} {
- @include button(normal,$b_color, white); //FIXME: perhaps we should derive from bg color?
+ @include button(normal,$b_color, white);
&:hover {
@include button(hover,$b_color, white);
}
@@ -523,7 +523,8 @@ GtkComboBox {
font-size: 80%;
padding: 0 12px;
}
- & > GtkBox > .separator.vertical {
+ & > GtkBox > .separator.vertical, // FIXME? do we need both selectors?
+ & .header-bar-separator {
-GtkWidget-wide-separators: true;
-GtkWidget-separator-width: 1px;
border-width: 0 1px;
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
index c1f2e22..d1705f2 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
@@ -598,14 +598,16 @@ GtkComboBox {
.header-bar .subtitle {
font-size: 80%;
padding: 0 12px; }
- .titlebar > GtkBox > .separator.vertical,
- .header-bar > GtkBox > .separator.vertical {
+ .titlebar > GtkBox > .separator.vertical, .titlebar .header-bar-separator,
+ .header-bar > GtkBox > .separator.vertical,
+ .header-bar .header-bar-separator {
-GtkWidget-wide-separators: true;
-GtkWidget-separator-width: 1px;
border-width: 0 1px;
border-image: linear-gradient(to bottom, rgba(28, 31, 31, 0), #1c1f1f 30%, #1c1f1f 70%, rgba(28, 31, 31,
0) 100%) 0 1/0 1px stretch; }
- .titlebar > GtkBox > .separator.vertical:backdrop,
- .header-bar > GtkBox > .separator.vertical:backdrop {
+ .titlebar > GtkBox > .separator.vertical:backdrop, .titlebar .header-bar-separator:backdrop,
+ .header-bar > GtkBox > .separator.vertical:backdrop,
+ .header-bar .header-bar-separator:backdrop {
border-image: linear-gradient(to bottom, rgba(28, 31, 31, 0.5)) 0 1/1px 1px; }
.titlebar.selection-mode,
.header-bar.selection-mode {
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained.css b/themes/Adwaita/gtk-3.0/gtk-contained.css
index 191051d..6d3d9ad 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained.css
@@ -598,14 +598,16 @@ GtkComboBox {
.header-bar .subtitle {
font-size: 80%;
padding: 0 12px; }
- .titlebar > GtkBox > .separator.vertical,
- .header-bar > GtkBox > .separator.vertical {
+ .titlebar > GtkBox > .separator.vertical, .titlebar .header-bar-separator,
+ .header-bar > GtkBox > .separator.vertical,
+ .header-bar .header-bar-separator {
-GtkWidget-wide-separators: true;
-GtkWidget-separator-width: 1px;
border-width: 0 1px;
border-image: linear-gradient(to bottom, rgba(161, 161, 161, 0), #a1a1a1 30%, #a1a1a1 70%, rgba(161,
161, 161, 0) 100%) 0 1/0 1px stretch; }
- .titlebar > GtkBox > .separator.vertical:backdrop,
- .header-bar > GtkBox > .separator.vertical:backdrop {
+ .titlebar > GtkBox > .separator.vertical:backdrop, .titlebar .header-bar-separator:backdrop,
+ .header-bar > GtkBox > .separator.vertical:backdrop,
+ .header-bar .header-bar-separator:backdrop {
border-image: linear-gradient(to bottom, rgba(161, 161, 161, 0.5)) 0 1/1px 1px; }
.titlebar.selection-mode,
.header-bar.selection-mode {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]