[gnome-themes-standard] generic separators
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] generic separators
- Date: Mon, 9 Jun 2014 13:14:15 +0000 (UTC)
commit b75823e02be1e2a60237c54294eefd157273af53
Author: Jakub Steiner <jimmac gmail com>
Date: Tue May 27 16:15:06 2014 +0200
generic separators
themes/Adwaita/gtk-3.0/_common.scss | 7 +++
themes/Adwaita/gtk-3.0/gtk-contained-dark.css | 61 ++++++++++++++++++++---
themes/Adwaita/gtk-3.0/gtk-contained.css | 66 +++++++++++++++++++++---
3 files changed, 118 insertions(+), 16 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss
index 1b03363..a4e3cb7 100644
--- a/themes/Adwaita/gtk-3.0/_common.scss
+++ b/themes/Adwaita/gtk-3.0/_common.scss
@@ -731,6 +731,13 @@ GtkScrolledWindow {
}
}
+//vbox and hbox separators
+.separator {
+ // always disable separators
+ // -GtkWidget-wide-separators: true;
+ color: transparentize($borders_color, 0.8);
+}
+
/**********************
* Window Decorations *
*********************/
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
index 0eddf08..89204be 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
@@ -21,9 +21,11 @@
-GtkWidget-focus-line-width: 1;
-GtkWindow-resize-grip-width: 0;
-GtkWindow-resize-grip-height: 0;
- outline-color: rgba(238, 238, 236, 0.7);
+ outline-color: rgba(238, 238, 236, 0.3);
outline-style: dashed;
- outline-offset: 2px; }
+ outline-offset: -3px;
+ outline-width: 1px;
+ outline-radius: 2px; }
/***************
* Base States *
@@ -115,8 +117,7 @@ GtkGrid:insensitive {
transition: all 200ms ease-out;
border: 1px solid #1c1f1f;
background-image: linear-gradient(to bottom, #2b2b2b 0%, #333333 90%);
- box-shadow: inset 0 2px 2px -2px rgba(0, 0, 0, 0.5), 0 1px rgba(238, 238, 236, 0.1);
- /* not working */
+ box-shadow: inset 0 2px 2px -2px rgba(0, 0, 0, 0.6), 0 1px rgba(238, 238, 236, 0.1);
background-color: transparent; }
.entry:insensitive {
color: white;
@@ -124,8 +125,7 @@ GtkGrid:insensitive {
box-shadow: 0 1px rgba(238, 238, 236, 0.1); }
.entry:focus {
border-color: #2a76c6;
- box-shadow: inset 0 2px 2px -2px rgba(0, 0, 0, 0.4), inset 0 0 2px 1px rgba(42, 118, 198, 0.5), 0 1px
rgba(238, 238, 236, 0.1);
- /* not working */ }
+ box-shadow: inset 0 2px 2px -2px rgba(0, 0, 0, 0.6), inset 0 0 2px 1px rgba(42, 118, 198, 0.2), 0 1px
rgba(238, 238, 236, 0.1); }
.entry:selected, .entry:backdrop:selected {
color: white;
background-color: #2a76c6; }
@@ -573,6 +573,48 @@ GtkComboBox {
.tiled .header-bar, .maximized .header-bar {
border-radius: 0; }
+/**************
+ * Tree Views *
+ **************/
+column-header .button,
+column-header .button:hover,
+column-header .button:active,
+column-header .button:backdrop {
+ border-width: 0 1px 1px 0;
+ border-color: transparent;
+ box-shadow: none;
+ border-radius: 0;
+ border-image: linear-gradient(to top, #272929, #333333) 0 1 1 0;
+ background-image: none;
+ background-color: #333333;
+ color: rgba(238, 238, 236, 0.5);
+ font-weight: bold; }
+
+/*********
+ * Menus *
+ *********/
+.menubar {
+ padding: 2px; }
+ .menubar .menuitem {
+ background-color: #393f3f;
+ padding: 4px 8px;
+ border-radius: 3px 3px 0 0; }
+ .menubar .menuitem:hover, .menubar .menuitem:active {
+ background-color: #333333; }
+
+.menu .menuitem {
+ background-color: #333333;
+ padding: 4px;
+ border-radius: 0; }
+ .menu .menuitem:hover {
+ color: white;
+ background-color: #2a76c6; }
+ .menu .menuitem:active {
+ color: white;
+ background-color: #256ab1; }
+.menu .separator {
+ color: transparent; }
+
/***************
* Popovers *
***************/
@@ -710,8 +752,13 @@ GtkPopover {
.frame:backdrop {
border-color: rgba(28, 31, 31, 0.6); }
-GtkScrolledWindow.frame {
+GtkScrolledWindow .frame {
border-radius: 2px; }
+GtkScrolledWindow GtkViewport.frame {
+ border-style: none; }
+
+.separator {
+ color: rgba(28, 31, 31, 0.2); }
/**********************
* Window Decorations *
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained.css b/themes/Adwaita/gtk-3.0/gtk-contained.css
index d4b1cda..449275f 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained.css
@@ -21,9 +21,11 @@
-GtkWidget-focus-line-width: 1;
-GtkWindow-resize-grip-width: 0;
-GtkWindow-resize-grip-height: 0;
- outline-color: rgba(46, 52, 54, 0.7);
+ outline-color: rgba(46, 52, 54, 0.3);
outline-style: dashed;
- outline-offset: 2px; }
+ outline-offset: -3px;
+ outline-width: 1px;
+ outline-radius: 2px; }
/***************
* Base States *
@@ -123,8 +125,7 @@ GtkGrid:insensitive {
box-shadow: 0 1px white; }
.entry:focus {
border-color: #4a90d9;
- box-shadow: inset 0 2px 2px -2px rgba(0, 0, 0, 0.4), inset 0 0 2px 1px rgba(74, 144, 217, 0.5), 0 1px
white;
- /* not working */ }
+ box-shadow: inset 0 2px 2px -2px rgba(0, 0, 0, 0.5), inset 0 0 2px 1px rgba(74, 144, 217, 0.2), 0 1px
white; }
.entry:selected, .entry:backdrop:selected {
color: white;
background-color: #4a90d9; }
@@ -239,7 +240,7 @@ GtkGrid:insensitive {
border-color: #184472;
text-shadow: 0 -1px rgba(0, 0, 0, 0.54353);
icon-shadow: 0 -1px rgba(0, 0, 0, 0.54353);
- box-shadow: inset 0 1px white, 0 1px white; }
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 1px white; }
.button.suggested-action:hover {
border-width: 1px;
border-style: solid;
@@ -248,7 +249,7 @@ GtkGrid:insensitive {
background-image: linear-gradient(to bottom, #85b4e5, #5b9add 40%, #4a90d9);
text-shadow: 0 -1px rgba(0, 0, 0, 0.51153);
icon-shadow: 0 -1px rgba(0, 0, 0, 0.51153);
- box-shadow: inset 0 1px white, 0 1px white; }
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 1px white; }
.button.suggested-action:active {
border-width: 1px;
border-style: solid;
@@ -290,7 +291,7 @@ GtkGrid:insensitive {
border-color: #760909;
text-shadow: 0 -1px rgba(0, 0, 0, 0.56078);
icon-shadow: 0 -1px rgba(0, 0, 0, 0.56078);
- box-shadow: inset 0 1px white, 0 1px white; }
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 1px white; }
.button.destructive-action:hover {
border-width: 1px;
border-style: solid;
@@ -299,7 +300,7 @@ GtkGrid:insensitive {
background-image: linear-gradient(to bottom, #f46b6b, #f03c3c 40%, #ef2929);
text-shadow: 0 -1px rgba(0, 0, 0, 0.52878);
icon-shadow: 0 -1px rgba(0, 0, 0, 0.52878);
- box-shadow: inset 0 1px white, 0 1px white; }
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 1px white; }
.button.destructive-action:active {
border-width: 1px;
border-style: solid;
@@ -572,6 +573,48 @@ GtkComboBox {
.tiled .header-bar, .maximized .header-bar {
border-radius: 0; }
+/**************
+ * Tree Views *
+ **************/
+column-header .button,
+column-header .button:hover,
+column-header .button:active,
+column-header .button:backdrop {
+ border-width: 0 1px 1px 0;
+ border-color: transparent;
+ box-shadow: none;
+ border-radius: 0;
+ border-image: linear-gradient(to top, #d0d0d0, white) 0 1 1 0;
+ background-image: none;
+ background-color: white;
+ color: rgba(46, 52, 54, 0.5);
+ font-weight: bold; }
+
+/*********
+ * Menus *
+ *********/
+.menubar {
+ padding: 2px; }
+ .menubar .menuitem {
+ background-color: #ededed;
+ padding: 4px 8px;
+ border-radius: 3px 3px 0 0; }
+ .menubar .menuitem:hover, .menubar .menuitem:active {
+ background-color: white; }
+
+.menu .menuitem {
+ background-color: white;
+ padding: 4px;
+ border-radius: 0; }
+ .menu .menuitem:hover {
+ color: white;
+ background-color: #4a90d9; }
+ .menu .menuitem:active {
+ color: white;
+ background-color: #2a76c6; }
+.menu .separator {
+ color: transparent; }
+
/***************
* Popovers *
***************/
@@ -709,8 +752,13 @@ GtkPopover {
.frame:backdrop {
border-color: rgba(161, 161, 161, 0.6); }
-GtkScrolledWindow.frame {
+GtkScrolledWindow .frame {
border-radius: 2px; }
+GtkScrolledWindow GtkViewport.frame {
+ border-style: none; }
+
+.separator {
+ color: rgba(161, 161, 161, 0.2); }
/**********************
* Window Decorations *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]