[libadwaita/wip/exalm/card: 20/27] stylesheet: More thorough entry.error and .warning styles
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/card: 20/27] stylesheet: More thorough entry.error and .warning styles
- Date: Mon, 25 Oct 2021 13:21:56 +0000 (UTC)
commit 1463d4d0ff90548a9cf07c44c625bc77c4bf0fa0
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 8901a520..350b4f98 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, $focus_border_opacity));
> 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]