[gnome-themes-standard] duh, forgot to add the contained SCSS files



commit 4a384973c44af917c158c250a27410c5ac3ed003
Author: Jakub Steiner <jimmac gmail com>
Date:   Wed May 14 15:30:11 2014 +0200

    duh, forgot to add the contained SCSS files

 themes/Adwaita/gtk-3.0/_common.scss            |   14 ++++++++--
 themes/Adwaita/gtk-3.0/gtk-contained-dark.scss |   23 +++++++++++++++++
 themes/Adwaita/gtk-3.0/gtk-contained.scss      |   31 ++++++++++++++++++++++++
 3 files changed, 65 insertions(+), 3 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss
index 3faae02..8416027 100644
--- a/themes/Adwaita/gtk-3.0/_common.scss
+++ b/themes/Adwaita/gtk-3.0/_common.scss
@@ -215,7 +215,8 @@ GtkGrid:insensitive {
   &:backdrop:insensitive {
     @include button_insensitive(transparentize($theme_bg_color,0.5));
   }
-  @each $b_type, $b_color in (suggested-action, $theme_selected_bg_color), (destructive-action, red) {
+  // Suggested and Destructive Action buttons
+  @each $b_type, $b_color in (suggested-action, $theme_selected_bg_color), (destructive-action, 
$destructive_color) {
     &.#{$b_type} {
       @include button_normal($b_color);
       color: $theme_base_color; 
@@ -229,8 +230,15 @@ GtkGrid:insensitive {
         @include button_backdrop($b_color);
       }
       &:insensitive {
-        color: $theme_base_color; 
-        @include button_insensitive($b_color);
+        color: $insensitive_fg_color;
+        @include button_insensitive($theme_bg_color);
+        &:backdrop {
+          @include button_insensitive(transparentize($theme_bg_color,0.5));
+        }
+      }
+      // button label can't be colored easily, need to match for the GtkLabel
+      GtkLabel:backdrop:insensitive {
+        color: transparentize($insensitive_fg_color, 0.5);
       }
     }
   }
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained-dark.scss b/themes/Adwaita/gtk-3.0/gtk-contained-dark.scss
new file mode 100644
index 0000000..922eb59
--- /dev/null
+++ b/themes/Adwaita/gtk-3.0/gtk-contained-dark.scss
@@ -0,0 +1,23 @@
+$variant: 'dark';
+
+// Color definitions
+$theme_base_color: #333;
+$theme_bg_color: #393f3f;
+$theme_fg_color: #eeeeec;
+$theme_selected_fg_color: lighten($theme_fg_color,10%);
+$theme_selected_bg_color: darken(#4a90d9,10%);
+$borders_edge: transparentize($theme_base_color,.4);
+$theme_shade: rgba(0,0,0,.2); //shadow seems to be a reserved word
+$wm_shade: 0 2px 4px rgba(0,0,0,.6);
+
+$link_color: lighten($theme_selected_bg_color,10%);
+$warning_color: #f57900;
+$error_color: #cc0000;
+$success_color: $theme_selected_bg_color;
+$destructive_color: darken(#ef2929,10%);
+
+$insensitive_fg_color: lighten($theme_fg_color, 10%);
+$insensitive_bg_color: transparent;
+
+ import 'drawing';
+ import 'common';
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained.scss b/themes/Adwaita/gtk-3.0/gtk-contained.scss
new file mode 100644
index 0000000..0939a81
--- /dev/null
+++ b/themes/Adwaita/gtk-3.0/gtk-contained.scss
@@ -0,0 +1,31 @@
+// General guidelines:
+// - very unlikely you want to edit something else than _common.scss
+// - keep the number of defined colors to a minimum, use the color blending functions if
+//   you need a subtle shade
+// - if you need to inverse a color function use the @if directive to match for dark $variant
+
+$variant: 'light';
+
+// Color definitions
+$theme_base_color: #ffffff;
+$theme_bg_color: #ededed;
+$theme_fg_color: #2e3436;
+$theme_selected_fg_color: #ffffff;
+$theme_selected_bg_color: #729fcf;
+$borders_edge: transparentize($theme_base_color,0.95);
+$theme_shade: rgba(0,0,0,.1); //shadow seems to be a reserved word
+$wm_shade: 0 2px 4px rgba(0,0,0,.5);
+
+$link_color: lighten($theme_selected_bg_color,10%);
+$warning_color: #f57900;
+$error_color: #cc0000;
+$success_color: $theme_selected_bg_color;
+$destructive_color: #ef2929;
+
+$insensitive_fg_color: lighten($theme_fg_color, 30%);
+$insensitive_bg_color: transparent;
+
+// common drawing routines
+ import 'drawing';
+// actual widget styling
+ import 'common';


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