[libadwaita/wip/exalm/stylesheet-cleanups: 8/9] stylesheet: Use the focus-ring() mixin for labels
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/stylesheet-cleanups: 8/9] stylesheet: Use the focus-ring() mixin for labels
- Date: Thu, 20 May 2021 19:18:18 +0000 (UTC)
commit 97dda56b4f2f40896007e25a51e24c7c0e716611
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Thu May 20 22:58:19 2021 +0500
stylesheet: Use the focus-ring() mixin for labels
Don't invent custom focus.
src/stylesheet/widgets/_calendar.scss | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/src/stylesheet/widgets/_calendar.scss b/src/stylesheet/widgets/_calendar.scss
index 5ca4eefc..9a26318d 100644
--- a/src/stylesheet/widgets/_calendar.scss
+++ b/src/stylesheet/widgets/_calendar.scss
@@ -22,11 +22,8 @@ calendar {
}
}
- > label:focus {
- outline-color: $focus_border_color;
- outline-offset: -2px;
- outline-width: 2px;
- outline-style: solid;
+ > label {
+ @include focus-ring($focus-state: 'focus');
}
> label.day-number {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]