[gnome-themes-standard/wip/sass] tab transitions, use fewer static colors



commit 15beaba91f4b40b582d4e0a135f863f8cd2807e1
Author: Jakub Steiner <jimmac gmail com>
Date:   Mon May 19 14:38:37 2014 +0200

    tab transitions, use fewer static colors

 themes/Adwaita/gtk-3.0/_common.scss      |    9 +++++----
 themes/Adwaita/gtk-3.0/gtk-contained.css |    5 +++--
 2 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss
index 0e9b8cc..46990b0 100644
--- a/themes/Adwaita/gtk-3.0/_common.scss
+++ b/themes/Adwaita/gtk-3.0/_common.scss
@@ -494,6 +494,7 @@ GtkPopover {
   -GtkNotebook-has-tab-gap: false;
   -GtkWidget-focus-padding: 0;
   -GtkWidget-focus-line-width: 0;
+  transition: all 200ms ease-out;
 }
 
 .notebook.frame {
@@ -502,8 +503,8 @@ GtkPopover {
 
 .notebook.header {
   background-color: darken($theme_bg_color,5%);
-  box-shadow: inset 0 6px 3px -5px transparentize(black,0.8); //I want just a top shadow 
-                                                              //so negative spread
+  box-shadow: inset 0 6px 3px -5px transparentize($theme_shade,0.35); //I want just a top shadow 
+                                                                     //so negative spread
   border-width: 0px;
 }
 
@@ -536,8 +537,8 @@ GtkPopover {
 .notebook tab { //tab indicator
 
   $tab_indicator_size: 2px;
-  $active_tab_indicator: $theme_selected_bg_color; //FIXME
-  $prelight_tab_indicator: $borders_color; //FIXME
+  $active_tab_indicator: $theme_selected_bg_color;
+  $prelight_tab_indicator: $borders_color;
 
   &.top:hover { box-shadow: inset 0 (-$tab_indicator_size) $prelight_tab_indicator; };
   &.top:active { box-shadow: inset 0 (-$tab_indicator_size) $active_tab_indicator; };
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained.css b/themes/Adwaita/gtk-3.0/gtk-contained.css
index 17d2b0e..c154021 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained.css
@@ -581,14 +581,15 @@ GtkPopover {
   -GtkNotebook-tab-overlap: 1;
   -GtkNotebook-has-tab-gap: false;
   -GtkWidget-focus-padding: 0;
-  -GtkWidget-focus-line-width: 0; }
+  -GtkWidget-focus-line-width: 0;
+  transition: all 200ms ease-out; }
 
 .notebook.frame {
   border-width: 1px; }
 
 .notebook.header {
   background-color: #e0e0e0;
-  box-shadow: inset 0 6px 3px -5px rgba(0, 0, 0, 0.2);
+  box-shadow: inset 0 6px 3px -5px rgba(0, 0, 0, 0.15);
   border-width: 0px; }
 
 .notebook.header.frame {


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