VolkerE has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/368586 )
Change subject: Apex theme: Align ToggleSwitchWidget focus style to other
widgets
......................................................................
Apex theme: Align ToggleSwitchWidget focus style to other widgets
Bug: T94301
Change-Id: I5807f2bda406769b23e3ed1f1433b1daa5bd43f0
---
M src/themes/apex/widgets.less
1 file changed, 9 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/oojs/ui refs/changes/86/368586/1
diff --git a/src/themes/apex/widgets.less b/src/themes/apex/widgets.less
index 6595a62..dd02f24 100644
--- a/src/themes/apex/widgets.less
+++ b/src/themes/apex/widgets.less
@@ -1358,6 +1358,15 @@
&:hover .oo-ui-toggleSwitchWidget-grip {
border-color: #aaa;
}
+ &:focus {
+ outline: 0;
+ border-color: @border-color-base--focus;
+ box-shadow: @box-shadow-widget--focus;
+
+ .oo-ui-toggleSwitchWidget-grip {
+ border-color: @border-color-base--focus;
+ }
+ }
}
&-grip {
--
To view, visit https://gerrit.wikimedia.org/r/368586
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5807f2bda406769b23e3ed1f1433b1daa5bd43f0
Gerrit-PatchSet: 1
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: VolkerE <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits