[gnome-themes-standard/wip/sass] notebook: lighten up the header



commit 4e00055e25e911ae8f0305d27037f603be5b3efc
Author: Jakub Steiner <jimmac gmail com>
Date:   Thu Jun 5 12:16:38 2014 +0200

    notebook: lighten up the header
    
    - lighter bg color
    - no text-shadow. just makes the label fuzzy.

 themes/Adwaita/gtk-3.0/_common.scss           |    7 ++-----
 themes/Adwaita/gtk-3.0/gtk-contained-dark.css |   11 ++++-------
 themes/Adwaita/gtk-3.0/gtk-contained.css      |   11 ++++-------
 3 files changed, 10 insertions(+), 19 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss
index 69fb5af..78baa0e 100644
--- a/themes/Adwaita/gtk-3.0/_common.scss
+++ b/themes/Adwaita/gtk-3.0/_common.scss
@@ -700,7 +700,7 @@ GtkPopover {
   }
   &.header {
     // FIXME: double borders in some case, can't fix it w/o a class tho
-    background-color: mix($bg_color, $borders_color, 60%);
+    background-color: mix($bg_color, $borders_color, 70%);
 
     // this is the shading of the header behind the tabs
     &.frame {
@@ -713,7 +713,6 @@ GtkPopover {
     }
 
     $_header_shade: inset 0 2px 3px -1px transparentize(black, 0.85);
-
     &.top {
       box-shadow: $_header_shade,
                   inset 0 -1px $borders_color; // border
@@ -754,6 +753,7 @@ GtkPopover {
     $ht_vpadding: 5px;
     $ht_hpadding: 20px;
 
+    //FIXME: we get double border in some cases (.header box-shadow + border below)
     &.top, &.bottom { padding: $vt_vpadding $vt_hpadding; }
     &.left, &.right { padding: $ht_vpadding $ht_hpadding; }
     &.top {
@@ -810,17 +810,14 @@ GtkPopover {
       // prelight tab text
       &.prelight-page {
         color: mix($fg_color, $insensitive_fg_color, 50%);
-        text-shadow: 0 1px transparentize(black,0.9);
       }
       // active tab text
       &.active-page {
         color: $fg_color;
-        text-shadow: 0 1px transparentize(black,0.9);
         &:backdrop { color: $backdrop_fg_color; }
       }
       &:backdrop {
         color: mix($backdrop_fg_color, $backdrop_insensitive_color, 50%);
-        text-shadow: none;
       }
     }
     .button { //tab close button
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
index 20dc8d1..6aa43f0 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
@@ -747,7 +747,7 @@ GtkPopover {
     .notebook.frame:backdrop {
       border-color: #1c1f1f; }
   .notebook.header {
-    background-color: #2d3232; }
+    background-color: #303535; }
     .notebook.header.frame {
       border: 1px solid #1c1f1f; }
       .notebook.header.frame.top {
@@ -821,16 +821,13 @@ GtkPopover {
       font-weight: bold;
       color: #939695; }
       .notebook tab GtkLabel.prelight-page {
-        color: #c0c2c0;
-        text-shadow: 0 1px rgba(0, 0, 0, 0.1); }
+        color: #c0c2c0; }
       .notebook tab GtkLabel.active-page {
-        color: #eeeeec;
-        text-shadow: 0 1px rgba(0, 0, 0, 0.1); }
+        color: #eeeeec; }
         .notebook tab GtkLabel.active-page:backdrop {
           color: #c9cbc9; }
       .notebook tab GtkLabel:backdrop {
-        color: #b4b7b5;
-        text-shadow: none; }
+        color: #b4b7b5; }
     .notebook tab .button {
       border: 1px solid transparent;
       box-shadow: none;
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained.css b/themes/Adwaita/gtk-3.0/gtk-contained.css
index d388728..7c68ca0 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained.css
@@ -747,7 +747,7 @@ GtkPopover {
     .notebook.frame:backdrop {
       border-color: #a1a1a1; }
   .notebook.header {
-    background-color: #cecece; }
+    background-color: #d6d6d6; }
     .notebook.header.frame {
       border: 1px solid #a1a1a1; }
       .notebook.header.frame.top {
@@ -821,16 +821,13 @@ GtkPopover {
       font-weight: bold;
       color: #8d9091; }
       .notebook tab GtkLabel.prelight-page {
-        color: #5d6263;
-        text-shadow: 0 1px rgba(0, 0, 0, 0.1); }
+        color: #5d6263; }
       .notebook tab GtkLabel.active-page {
-        color: #2e3436;
-        text-shadow: 0 1px rgba(0, 0, 0, 0.1); }
+        color: #2e3436; }
         .notebook tab GtkLabel.active-page:backdrop {
           color: #54595a; }
       .notebook tab GtkLabel:backdrop {
-        color: #8d9090;
-        text-shadow: none; }
+        color: #8d9090; }
     .notebook tab .button {
       border: 1px solid transparent;
       box-shadow: none;


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