[libadwaita/wip/exalm/stylesheet-cleanups: 6/6] stylesheet: Nest label styles
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/stylesheet-cleanups: 6/6] stylesheet: Nest label styles
- Date: Thu, 20 May 2021 18:00:48 +0000 (UTC)
commit f28e4bdf785d0a104560fe52bfdaf0e24f703a83
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]