[gnome-themes-standard] dialog button spacing - set -GtkDialog-button-spacing: 4 globally and set it to 0 for message dialo
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] dialog button spacing - set -GtkDialog-button-spacing: 4 globally and set it to 0 for message dialo
- Date: Thu, 12 Jun 2014 14:30:07 +0000 (UTC)
commit bd9646e46dc035aec4586bbbaecb65dfe39974d0
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Thu Jun 12 16:27:03 2014 +0200
dialog button spacing
- set -GtkDialog-button-spacing: 4 globally and set it to 0 for message dialogs
themes/Adwaita/gtk-3.0/_common.scss | 8 +++++++-
themes/Adwaita/gtk-3.0/gtk-contained-dark.css | 6 +++++-
themes/Adwaita/gtk-3.0/gtk-contained.css | 6 +++++-
3 files changed, 17 insertions(+), 3 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss
index 7ded677..d47b0a8 100644
--- a/themes/Adwaita/gtk-3.0/_common.scss
+++ b/themes/Adwaita/gtk-3.0/_common.scss
@@ -37,7 +37,7 @@
-GtkWindow-resize-grip-width: 0;
-GtkWindow-resize-grip-height: 0;
- -GtkDialog-button-spacing: 0;
+ -GtkDialog-button-spacing: 4;
-GtkDialog-action-area-border: 0;
// We use the outline properties to signal the focus properties
@@ -654,6 +654,7 @@ column-header { // FIXME: something better
background-image: none;
background-color: $base_color;
color: mix($fg_color,$base_color,50%);
+ text-shadow: none;
font-weight: bold;
}
}
@@ -1465,6 +1466,11 @@ GtkCalendar {
* Dialogs *
***********/
+.message-dialog {
+ // no spacing in message dialogs and the likes
+ -GtkDialog-button-spacing: 0;
+}
+
GtkMessageDialog .titlebar {
border-style: none;
box-shadow: inset 0 1px $borders_edge;
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
index 5915d07..f7760aa 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
@@ -53,7 +53,7 @@
-GtkWidget-focus-line-width: 1;
-GtkWindow-resize-grip-width: 0;
-GtkWindow-resize-grip-height: 0;
- -GtkDialog-button-spacing: 0;
+ -GtkDialog-button-spacing: 4;
-GtkDialog-action-area-border: 0;
outline-color: rgba(238, 238, 236, 0.3);
outline-style: dashed;
@@ -740,6 +740,7 @@ column-header .button:backdrop {
background-image: none;
background-color: #333333;
color: #90908f;
+ text-shadow: none;
font-weight: bold; }
/*********
@@ -1656,6 +1657,9 @@ GtkCalendar {
/***********
* Dialogs *
***********/
+.message-dialog {
+ -GtkDialog-button-spacing: 0; }
+
GtkMessageDialog .titlebar {
border-style: none;
box-shadow: inset 0 1px rgba(238, 238, 236, 0.1); }
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained.css b/themes/Adwaita/gtk-3.0/gtk-contained.css
index 98d69b4..095edb5 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained.css
@@ -53,7 +53,7 @@
-GtkWidget-focus-line-width: 1;
-GtkWindow-resize-grip-width: 0;
-GtkWindow-resize-grip-height: 0;
- -GtkDialog-button-spacing: 0;
+ -GtkDialog-button-spacing: 4;
-GtkDialog-action-area-border: 0;
outline-color: rgba(46, 52, 54, 0.3);
outline-style: dashed;
@@ -740,6 +740,7 @@ column-header .button:backdrop {
background-image: none;
background-color: white;
color: #96999a;
+ text-shadow: none;
font-weight: bold; }
/*********
@@ -1656,6 +1657,9 @@ GtkCalendar {
/***********
* Dialogs *
***********/
+.message-dialog {
+ -GtkDialog-button-spacing: 0; }
+
GtkMessageDialog .titlebar {
border-style: none;
box-shadow: inset 0 1px white; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]