[gtk+] Adwaita: style notebook tab overflow arrow



commit 461acd6e428694c89002d5bb1e4d616e7390cdf0
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Tue Jul 8 10:06:57 2014 +0200

    Adwaita: style notebook tab overflow arrow

 gtk/resources/theme/Adwaita/_common.scss           |   14 ++++++++++++++
 gtk/resources/theme/Adwaita/gtk-contained-dark.css |   12 ++++++++++++
 gtk/resources/theme/Adwaita/gtk-contained.css      |   12 ++++++++++++
 3 files changed, 38 insertions(+), 0 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index d13690a..ae5435d 100644
--- a/gtk/resources/theme/Adwaita/_common.scss
+++ b/gtk/resources/theme/Adwaita/_common.scss
@@ -1204,6 +1204,20 @@ GtkTreeView.view.progressbar { //Progressbar in treeview cells
       }
     }
   }
+  &.arrow {
+    color: $insensitive_fg_color;
+    &:hover { color: mix($fg_color, $insensitive_fg_color, 50%); }
+    &:active { color: $fg_color; }
+    &:insensitive {
+      color: transparentize($insensitive_fg_color,0.7);
+    }
+    &:backdrop {
+      color: transparentize($backdrop_fg_color,0.6);
+      &:insensitive {
+        color: $backdrop_insensitive_color;
+      }
+    }
+  }
 }
 
 //.notebook > .frame,
diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css 
b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
index e3f06a9..51665b3 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
@@ -1373,6 +1373,18 @@ GtkTreeView.view.progressbar {
         border-color: transparent; }
       .notebook tab .button > GtkImage {
         padding: 2px; }
+  .notebook.arrow {
+    color: #939695; }
+    .notebook.arrow:hover {
+      color: #c0c2c0; }
+    .notebook.arrow:active {
+      color: #eeeeec; }
+    .notebook.arrow:insensitive {
+      color: rgba(147, 150, 149, 0.3); }
+    .notebook.arrow:backdrop {
+      color: rgba(201, 203, 201, 0.4); }
+      .notebook.arrow:backdrop:insensitive {
+        color: #454c4c; }
 
 /**************
  * Scrollbars *
diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css
index 0115e2d..ff0af2c 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained.css
@@ -1366,6 +1366,18 @@ GtkTreeView.view.progressbar {
         border-color: transparent; }
       .notebook tab .button > GtkImage {
         padding: 2px; }
+  .notebook.arrow {
+    color: #8d9091; }
+    .notebook.arrow:hover {
+      color: #5d6263; }
+    .notebook.arrow:active {
+      color: #2e3436; }
+    .notebook.arrow:insensitive {
+      color: rgba(141, 144, 145, 0.3); }
+    .notebook.arrow:backdrop {
+      color: rgba(84, 89, 90, 0.4); }
+      .notebook.arrow:backdrop:insensitive {
+        color: #c7c7c7; }
 
 /**************
  * Scrollbars *


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