[gtk+] HC theme: more contrasty separators
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] HC theme: more contrasty separators
- Date: Mon, 1 Dec 2014 19:36:13 +0000 (UTC)
commit 5e71a49d5af995a571e5a24223a3c5b52486394f
Author: Jakub Steiner <jimmac gmail com>
Date: Mon Dec 1 15:39:19 2014 +0100
HC theme: more contrasty separators
https://bugzilla.gnome.org/show_bug.cgi?id=740863
gtk/theme/HighContrast/_common.scss | 22 ++++------------------
gtk/theme/HighContrast/gtk.css | 15 ++++-----------
2 files changed, 8 insertions(+), 29 deletions(-)
---
diff --git a/gtk/theme/HighContrast/_common.scss b/gtk/theme/HighContrast/_common.scss
index 57b5b96..d43c074 100644
--- a/gtk/theme/HighContrast/_common.scss
+++ b/gtk/theme/HighContrast/_common.scss
@@ -746,18 +746,8 @@ GtkComboBox {
-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-color: $fg_color;
+ border-style: solid;
}
&.selection-mode {
color: darken($selected_bg_color, 15%);
@@ -938,12 +928,8 @@ GtkTreeView.view.progressbar { //Progressbar in treeview cells
background-color: transparent;
}
.separator {
- font-size: 80%;
- font-weight: bold;
- color: mix($fg_color, $bg_color, 20%);
- text-shadow: none;
+ color: $fg_color;
background-color: transparent;
- icon-shadow: none;
border: 0;
}
.button.flat,
@@ -1649,7 +1635,7 @@ GtkScrolledWindow {
.separator {
// always disable separators
// -GtkWidget-wide-separators: true;
- color: transparentize(black, 0.9);
+ color: $fg_color;
// Font and File button separators
GtkFileChooserButton &,
diff --git a/gtk/theme/HighContrast/gtk.css b/gtk/theme/HighContrast/gtk.css
index 690b402..c58d550 100644
--- a/gtk/theme/HighContrast/gtk.css
+++ b/gtk/theme/HighContrast/gtk.css
@@ -831,11 +831,8 @@ GtkComboBox {
-GtkWidget-wide-separators: true;
-GtkWidget-separator-width: 1px;
border-width: 0 1px;
- border-image: linear-gradient(to bottom, rgba(127, 127, 127, 0), #7f7f7f 30%, #7f7f7f 70%, rgba(127,
127, 127, 0) 100%) 0 1/0 1px stretch; }
- .titlebar .header-bar-separator:backdrop, .titlebar > GtkBox > .separator.vertical:backdrop,
- .header-bar .header-bar-separator:backdrop,
- .header-bar > GtkBox > .separator.vertical:backdrop {
- border-image: linear-gradient(to bottom, rgba(139, 139, 139, 0.5)) 0 1/1px 1px; }
+ border-color: #000;
+ border-style: solid; }
.titlebar.selection-mode,
.header-bar.selection-mode {
color: black;
@@ -1048,12 +1045,8 @@ GtkTreeView.view.progressbar {
.popover > .list, .popover > .view, .popover > .toolbar {
background-color: transparent; }
.popover .separator {
- font-size: 80%;
- font-weight: bold;
- color: #cccccc;
- text-shadow: none;
+ color: #000;
background-color: transparent;
- icon-shadow: none;
border: 0; }
.popover .button.flat,
.popover .button.flat:hover {
@@ -1769,7 +1762,7 @@ GtkScrolledWindow GtkViewport.frame {
border-style: none; }
.separator {
- color: rgba(0, 0, 0, 0.1); }
+ color: #000; }
GtkFileChooserButton .separator, GtkFontButton .separator {
-GtkWidget-wide-separators: true;
-GtkWidget-horizontal-separator: 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]