[gnome-themes-standard/wip/sass] close button



commit dee4b66744293f9bd98755d433cbfc16779dec55
Author: Jakub Steiner <jimmac gmail com>
Date:   Thu May 15 18:37:37 2014 +0200

    close button

 themes/Adwaita/gtk-3.0/_common.scss           |   14 ++++++++++++++
 themes/Adwaita/gtk-3.0/gtk-contained-dark.css |   15 +++++++++++++++
 themes/Adwaita/gtk-3.0/gtk-contained.css      |   15 +++++++++++++++
 3 files changed, 44 insertions(+), 0 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss
index c173ca6..e22fbea 100644
--- a/themes/Adwaita/gtk-3.0/_common.scss
+++ b/themes/Adwaita/gtk-3.0/_common.scss
@@ -270,6 +270,20 @@ GtkGrid:insensitive {
   }
 }
 
+.button.titlebutton {
+  padding: 9px;
+  border-width: 0;
+  background-image: none;
+  &:hover {
+    padding: 8px;
+    @include button_normal($theme_bg_color);
+  }
+  &:active {
+    padding: 8px;
+    @include button_active($theme_bg_color);
+  }
+}
+
 .linked .button {
   @extend .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 a2548d9..2c36aee 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
@@ -328,6 +328,21 @@ GtkGrid:insensitive {
     .spinbutton.vertical .button.destructive-action GtkLabel:backdrop:insensitive {
       color: rgba(255, 255, 255, 0.5); }
 
+.button.titlebutton {
+  padding: 9px;
+  border-width: 0;
+  background-image: none; }
+  .button.titlebutton:hover {
+    padding: 8px;
+    border: 1px solid black;
+    background-image: linear-gradient(to bottom, #515a5a, #393f3f 40%, #212424);
+    box-shadow: inset 0 1px rgba(51, 51, 51, 0.6), 0 1px rgba(51, 51, 51, 0.6); }
+  .button.titlebutton:active {
+    padding: 8px;
+    border: 1px solid black;
+    background-image: linear-gradient(to bottom, #090909, #151717 5%, #212424);
+    box-shadow: inset 0 1px 2px black; }
+
 .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 07482d3..ab93940 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained.css
@@ -328,6 +328,21 @@ GtkGrid:insensitive {
     .spinbutton.vertical .button.destructive-action GtkLabel:backdrop:insensitive {
       color: rgba(116, 132, 137, 0.5); }
 
+.button.titlebutton {
+  padding: 9px;
+  border-width: 0;
+  background-image: none; }
+  .button.titlebutton:hover {
+    padding: 8px;
+    border: 1px solid #a1a1a1;
+    background-image: linear-gradient(to bottom, white, #ededed 40%, lightgray);
+    box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), 0 1px rgba(255, 255, 255, 0.05); }
+  .button.titlebutton:active {
+    padding: 8px;
+    border: 1px solid #a1a1a1;
+    background-image: linear-gradient(to bottom, #bababa, #c7c7c7 5%, lightgray);
+    box-shadow: inset 0 1px 2px #a1a1a1; }
+
 .linked .button {
   padding: 6px;
   border-radius: 0;


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