[libadwaita/wip/exalm/stylesheet-cleanups: 8/13] stylesheet: Use the focus-ring() mixin for labels
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/stylesheet-cleanups: 8/13] stylesheet: Use the focus-ring() mixin for labels
- Date: Fri, 21 May 2021 12:05:06 +0000 (UTC)
commit 07dec0773ba6d52fec5197ff618682668277b35c
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]