[gnome-themes-standard] titlebar styling
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] titlebar styling
- Date: Mon, 9 Jun 2014 13:16:51 +0000 (UTC)
commit 35191720f7676bd8f2b142387b767397bb18354e
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Thu May 29 13:57:34 2014 +0200
titlebar styling
themes/Adwaita/gtk-3.0/_common.scss | 1 +
themes/Adwaita/gtk-3.0/gtk-contained-dark.css | 11 ++++++++++-
themes/Adwaita/gtk-3.0/gtk-contained.css | 11 ++++++++++-
3 files changed, 21 insertions(+), 2 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss
index 74af6b9..769f620 100644
--- a/themes/Adwaita/gtk-3.0/_common.scss
+++ b/themes/Adwaita/gtk-3.0/_common.scss
@@ -424,6 +424,7 @@ GtkComboBox {
* Header bars *
***************/
+.titlebar,
.header-bar {
border-width: 0 0 1px;
border-style: solid;
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
index f5e20ae..ad53df5 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
@@ -565,6 +565,7 @@ GtkComboBox {
/***************
* Header bars *
***************/
+.titlebar,
.header-bar {
border-width: 0 0 1px;
border-style: solid;
@@ -574,30 +575,38 @@ GtkComboBox {
background-image: linear-gradient(to bottom, #3e4444, #2d3232);
box-shadow: inset 0 -1px #303535, inset 0 1px rgba(238, 238, 236, 0.1);
padding: 6px; }
+ .titlebar:backdrop,
.header-bar:backdrop {
border-color: #1c1f1f;
background-color: #393f3f;
background-image: none;
box-shadow: none; }
+ .titlebar .title,
.header-bar .title {
font: Bold;
padding: 0px 12px; }
+ .titlebar .subtitle,
.header-bar .subtitle {
font-size: 80%;
padding: 0 12px; }
+ .titlebar > GtkBox > .separator.vertical,
.header-bar > GtkBox > .separator.vertical {
-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 {
border-image: linear-gradient(to bottom, rgba(28, 31, 31, 0.5)) 0 1/1px 1px; }
+ .titlebar.selection-mode,
.header-bar.selection-mode {
color: #14375d;
text-shadow: 0 1px rgba(0, 0, 0, 0.5);
background-image: linear-gradient(to bottom, #256ab1, #2362a5);
box-shadow: inset 0 -1px #303535, inset 0 1px rgba(43, 100, 160, 0.55); }
- .tiled .header-bar, .maximized .header-bar {
+ .tiled .titlebar, .maximized .titlebar, .tiled
+ .header-bar, .maximized
+ .header-bar {
border-radius: 0; }
/************
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained.css b/themes/Adwaita/gtk-3.0/gtk-contained.css
index 45f3806..f2007a3 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained.css
@@ -565,6 +565,7 @@ GtkComboBox {
/***************
* Header bars *
***************/
+.titlebar,
.header-bar {
border-width: 0 0 1px;
border-style: solid;
@@ -574,30 +575,38 @@ GtkComboBox {
background-image: linear-gradient(to bottom, #f2f2f2, #e0e0e0);
box-shadow: inset 0 -1px #d6d6d6, inset 0 1px white;
padding: 6px; }
+ .titlebar:backdrop,
.header-bar:backdrop {
border-color: #a1a1a1;
background-color: #ededed;
background-image: none;
box-shadow: none; }
+ .titlebar .title,
.header-bar .title {
font: Bold;
padding: 0px 12px; }
+ .titlebar .subtitle,
.header-bar .subtitle {
font-size: 80%;
padding: 0 12px; }
+ .titlebar > GtkBox > .separator.vertical,
.header-bar > GtkBox > .separator.vertical {
-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 {
border-image: linear-gradient(to bottom, rgba(161, 161, 161, 0.5)) 0 1/1px 1px; }
+ .titlebar.selection-mode,
.header-bar.selection-mode {
color: #256ab1;
text-shadow: 0 1px rgba(0, 0, 0, 0.5);
background-image: linear-gradient(to bottom, #5f9ddd, #5295db);
box-shadow: inset 0 -1px #d6d6d6, inset 0 1px #a4c7ec; }
- .tiled .header-bar, .maximized .header-bar {
+ .tiled .titlebar, .maximized .titlebar, .tiled
+ .header-bar, .maximized
+ .header-bar {
border-radius: 0; }
/************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]