[epiphany] CSS: Update for 3.32 Adwaita



commit f825633a36286f5ceea1fffb3be059719a2f20aa
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Mon Jan 28 03:57:30 2019 +0500

    CSS: Update for 3.32 Adwaita

 src/resources/themes/Adwaita.scss      | 17 +++++++++++++----
 src/resources/themes/_definitions.scss | 17 +++++++++--------
 2 files changed, 22 insertions(+), 12 deletions(-)
---
diff --git a/src/resources/themes/Adwaita.scss b/src/resources/themes/Adwaita.scss
index 806e5c71d..6aec47cc9 100644
--- a/src/resources/themes/Adwaita.scss
+++ b/src/resources/themes/Adwaita.scss
@@ -6,9 +6,9 @@
 
 .incognito-mode {
   headerbar {
-    @include headerbar_fill($incognito_color, $incognito_edge_color, -gtk-icontheme($incognito_icon) 180px 0 
/ 64px 64px no-repeat);
+    @include headerbar_fill(darken($incognito_color, 10%), $incognito_edge_color, 
-gtk-icontheme($incognito_icon) 180px 0 / 64px 64px no-repeat);
 
-    border-color: _border_color($incognito_color);
+    border-color: _border_color($incognito_borders_color);
 
     color: transparentize($fg_color, 0.8); // this is the color of the overlayed icon
 
@@ -52,11 +52,20 @@
         }
       }
 
+      &:checked {
+        background: image(darken($incognito_color, 17%));
+        border-color: darken($incognito_borders_color, 3%);
+        border-top-color: darken($incognito_borders_color, 8%);
+        &:backdrop {
+          @include button(backdrop-active, $incognito_color);
+        }
+      }
+
       &.flat:backdrop, &.titlebutton:backdrop { @include button(undecorated); }
     }
 
     entry {
-      border-color: _border_color($incognito_color);
+      border-color: _border_color($incognito_borders_color);
 
       &:focus {
         border-color: entry_focus_border($selected_bg_color);
@@ -153,7 +162,7 @@ $close_button_fg_color: lighten($fg_color, 10%);
       &:hover {
         image {
           border: 1px solid;
-          border-radius: 3px;
+          border-radius: 5px;
           @include button(normal, $bg_color, $close_button_fg_color);
           @include button(hover, $bg_color, $close_button_fg_color);
         }
diff --git a/src/resources/themes/_definitions.scss b/src/resources/themes/_definitions.scss
index 2e6cd4936..2e10e3e35 100644
--- a/src/resources/themes/_definitions.scss
+++ b/src/resources/themes/_definitions.scss
@@ -1,9 +1,15 @@
 // incognito mode
 
-//$incognito_color: #c5cfd8;
-$incognito_color: #cbd2d9;
+$variant: 'light';
+
+@import 'colors';
+@import 'drawing';
+
+$incognito_base_color: #d7e3f0;
+$incognito_color: lighten($incognito_base_color, 5%);
 $incognito_icon: 'user-not-tracked-symbolic';
-$incognito_edge_color: lighten($incognito_color, 13%);
+$incognito_edge_color: transparentize(white, 0.2);
+$incognito_borders_color: darken($incognito_color, 11%);
 
 // automation mode
 $automation_color: #ff9600;
@@ -14,8 +20,3 @@ $automation_edge_color: lighten($automation_color, 13%);
 @function themecolor($s) {
   @return unquote("@" + "#{$s}");
 }
-
-$variant: 'light';
-
-@import 'colors';
-@import 'drawing';


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