[gnome-themes-standard/wip/sass] set -GtkDialog* globally



commit bbcca1a2e3517ffd2ce34e26f2548560667dfda6
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Fri Jun 6 17:32:25 2014 +0200

    set -GtkDialog* globally

 themes/Adwaita/gtk-3.0/_common.scss           |   12 +++++-------
 themes/Adwaita/gtk-3.0/gtk-contained-dark.css |    6 ++----
 themes/Adwaita/gtk-3.0/gtk-contained.css      |    6 ++----
 3 files changed, 9 insertions(+), 15 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss
index 741c83e..a131712 100644
--- a/themes/Adwaita/gtk-3.0/_common.scss
+++ b/themes/Adwaita/gtk-3.0/_common.scss
@@ -32,6 +32,9 @@
   -GtkWidget-focus-line-width: 1;
   -GtkWindow-resize-grip-width: 0;
   -GtkWindow-resize-grip-height: 0;
+  
+  -GtkDialog-button-spacing: 0;
+  -GtkDialog-action-area-border: 0;
 
   // We use the outline properties to signal the focus properties
   // to the adwaita engine: using real CSS properties is faster,
@@ -42,8 +45,10 @@
   outline-offset: -3px;
   outline-width: 1px;
   outline-radius: 2px;
+
 }
 
+
 /***************
  * Base States *
  ***************/
@@ -1300,13 +1305,6 @@ GtkCalendar {
  * Dialogs *
  ***********/
 
-GtkMessageDialog {
-  // -GtkDialog-content-area-spacing:
-  // -GtkDialog-action-area-spacing:
-  -GtkDialog-button-spacing: 0;
-  -GtkDialog-action-area-border: 0;
-}
-
 .dialog-action-area.linked {
   & .button {
     padding: 6px;
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
index 6d3f5ba..85e63c7 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
@@ -20,6 +20,8 @@
   -GtkWidget-focus-line-width: 1;
   -GtkWindow-resize-grip-width: 0;
   -GtkWindow-resize-grip-height: 0;
+  -GtkDialog-button-spacing: 0;
+  -GtkDialog-action-area-border: 0;
   outline-color: rgba(238, 238, 236, 0.3);
   outline-style: dashed;
   outline-offset: -3px;
@@ -1472,10 +1474,6 @@ GtkCalendar {
 /***********
  * Dialogs *
  ***********/
-GtkMessageDialog {
-  -GtkDialog-button-spacing: 0;
-  -GtkDialog-action-area-border: 0; }
-
 .dialog-action-area.linked .button {
   padding: 6px;
   border-radius: 0;
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained.css b/themes/Adwaita/gtk-3.0/gtk-contained.css
index 6efeeb8..16e5fe9 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained.css
@@ -20,6 +20,8 @@
   -GtkWidget-focus-line-width: 1;
   -GtkWindow-resize-grip-width: 0;
   -GtkWindow-resize-grip-height: 0;
+  -GtkDialog-button-spacing: 0;
+  -GtkDialog-action-area-border: 0;
   outline-color: rgba(46, 52, 54, 0.3);
   outline-style: dashed;
   outline-offset: -3px;
@@ -1472,10 +1474,6 @@ GtkCalendar {
 /***********
  * Dialogs *
  ***********/
-GtkMessageDialog {
-  -GtkDialog-button-spacing: 0;
-  -GtkDialog-action-area-border: 0; }
-
 .dialog-action-area.linked .button {
   padding: 6px;
   border-radius: 0;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]