[gtk+] Revert "Adwaita: comment out the header-bar separator"
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Revert "Adwaita: comment out the header-bar separator"
- Date: Fri, 8 Aug 2014 21:02:43 +0000 (UTC)
commit 1a11515118d628f502d663a45694f18b0bf02bc1
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Aug 8 22:35:48 2014 +0200
Revert "Adwaita: comment out the header-bar separator"
This reverts commit b4e7ada6ac52b9930ba8d14a5f4d5d3a009cf163.
gtk/resources/theme/Adwaita/_common.scss | 4 ---
gtk/resources/theme/Adwaita/gtk-contained-dark.css | 21 ++++---------------
gtk/resources/theme/Adwaita/gtk-contained.css | 21 ++++---------------
3 files changed, 10 insertions(+), 36 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index 54f0977..829a1f0 100644
--- a/gtk/resources/theme/Adwaita/_common.scss
+++ b/gtk/resources/theme/Adwaita/_common.scss
@@ -852,9 +852,6 @@ GtkComboBox {
.header-bar-separator,
& > GtkBox > .separator.vertical {
-GtkWidget-wide-separators: true;
- -GtkWidget-separator-width: 0;
- /*
- -GtkWidget-wide-separators: true;
-GtkWidget-separator-width: 1px;
border-width: 0 1px;
border-image: linear-gradient(to bottom,
@@ -869,7 +866,6 @@ GtkComboBox {
0.5))
0 1 / 1px 1px; //FIXME use a proper color
}
- */
}
&.selection-mode {
color: darken($selected_bg_color, 15%);
diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
index 9c224ae..69ae7d8 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
@@ -919,24 +919,13 @@ GtkComboBox {
.header-bar .header-bar-separator,
.header-bar > GtkBox > .separator.vertical {
-GtkWidget-wide-separators: true;
- -GtkWidget-separator-width: 0;
- /*
- -GtkWidget-wide-separators: true;
-GtkWidget-separator-width: 1px;
border-width: 0 1px;
- border-image: linear-gradient(to bottom,
- transparentize($borders_color,1),
- $borders_color 30%,
- $borders_color 70%,
- transparentize($borders_color,1) 100%)
- 0 1 / 0 1px stretch; //FIXME use a proper color
- &:backdrop {
- border-image: linear-gradient(to bottom,
- transparentize($backdrop_borders_color,
- 0.5))
- 0 1 / 1px 1px; //FIXME use a proper color
- }
- */ }
+ 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 .header-bar-separator:backdrop, GtkCalendar.header .header-bar-separator:backdrop, .titlebar >
GtkBox > .separator.vertical:backdrop, GtkCalendar.header > GtkBox > .separator.vertical:backdrop,
+ .header-bar .header-bar-separator:backdrop,
+ .header-bar > GtkBox > .separator.vertical:backdrop {
+ border-image: linear-gradient(to bottom, rgba(30, 34, 34, 0.5)) 0 1/1px 1px; }
.titlebar.selection-mode, GtkCalendar.selection-mode.header,
.header-bar.selection-mode {
color: #14375d;
diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css
index d86b062..73287cc 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained.css
@@ -911,24 +911,13 @@ GtkComboBox {
.header-bar .header-bar-separator,
.header-bar > GtkBox > .separator.vertical {
-GtkWidget-wide-separators: true;
- -GtkWidget-separator-width: 0;
- /*
- -GtkWidget-wide-separators: true;
-GtkWidget-separator-width: 1px;
border-width: 0 1px;
- border-image: linear-gradient(to bottom,
- transparentize($borders_color,1),
- $borders_color 30%,
- $borders_color 70%,
- transparentize($borders_color,1) 100%)
- 0 1 / 0 1px stretch; //FIXME use a proper color
- &:backdrop {
- border-image: linear-gradient(to bottom,
- transparentize($backdrop_borders_color,
- 0.5))
- 0 1 / 1px 1px; //FIXME use a proper color
- }
- */ }
+ 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 .header-bar-separator:backdrop, GtkCalendar.header .header-bar-separator:backdrop, .titlebar >
GtkBox > .separator.vertical:backdrop, GtkCalendar.header > GtkBox > .separator.vertical:backdrop,
+ .header-bar .header-bar-separator:backdrop,
+ .header-bar > GtkBox > .separator.vertical:backdrop {
+ border-image: linear-gradient(to bottom, rgba(168, 168, 168, 0.5)) 0 1/1px 1px; }
.titlebar.selection-mode, GtkCalendar.selection-mode.header,
.header-bar.selection-mode {
color: #256ab1;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]