[libadwaita/wip/exalm/card: 8/14] stylesheet: More thorough entry.error and .warning styles




commit 88470ed11a9a46e0029961a39dc00a2b4061e899
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Wed Oct 20 18:07:19 2021 +0500

    stylesheet: More thorough entry.error and .warning styles
    
    Style progress bar and icons as well. Make sure the entry border doesn't
    change along with text.

 src/stylesheet/widgets/_entries.scss | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/src/stylesheet/widgets/_entries.scss b/src/stylesheet/widgets/_entries.scss
index c37b1c22..082757a3 100644
--- a/src/stylesheet/widgets/_entries.scss
+++ b/src/stylesheet/widgets/_entries.scss
@@ -42,15 +42,23 @@ entry {
     @each $e_type, $e_color in (error, $error_color),
                                (warning, $warning_color) {
       &.#{$e_type} {
-        color: gtkmix($e_color, $view_fg_color, 70%);
-
         @include focus-ring($focus-state: ':focus-within', $fc: gtkalpha($e_color, 0.5));
 
         > text {
+          color: gtkmix($e_color, $view_fg_color, 70%);
+
           > selection:focus-within { background-color: gtkalpha($e_color, .2); }
 
           > cursor-handle > contents { background-color: $e_color; }
         }
+
+        > image:active {
+          color: $e_color;
+        }
+
+        > progress > trough > progress {
+          border-color: $e_color;
+        }
       }
     }
 


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