[libadwaita/wip/exalm/stylesheet-cleanups: 9/13] stylesheet: Nest label styles
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/stylesheet-cleanups: 9/13] stylesheet: Nest label styles
- Date: Fri, 21 May 2021 12:05:06 +0000 (UTC)
commit aa27a61b545d1abcb17d8f06ca344b69abbde26c
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Thu May 20 22:59:01 2021 +0500
stylesheet: Nest label styles
src/stylesheet/widgets/_calendar.scss | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/src/stylesheet/widgets/_calendar.scss b/src/stylesheet/widgets/_calendar.scss
index 9a26318d..89b535e2 100644
--- a/src/stylesheet/widgets/_calendar.scss
+++ b/src/stylesheet/widgets/_calendar.scss
@@ -24,23 +24,23 @@ calendar {
> label {
@include focus-ring($focus-state: 'focus');
- }
- > label.day-number {
- padding: 4px;
+ &.day-number {
+ padding: 4px;
- &:selected {
- border-radius: 3px;
+ &:selected {
+ border-radius: 3px;
- background-color: $selected_bg_color;
- color: $selected_fg_color;
+ background-color: $selected_bg_color;
+ color: $selected_fg_color;
- &:disabled { color: mix($selected_fg_color, $selected_bg_color, 50%); }
+ &:disabled { color: mix($selected_fg_color, $selected_bg_color, 50%); }
+ }
}
- }
- > label.day-number.other-month {
- color: gtkalpha(currentColor, 0.3);
+ &.day-number.other-month {
+ color: gtkalpha(currentColor, 0.3);
+ }
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]