VolkerE has uploaded a new change for review.
https://gerrit.wikimedia.org/r/286256
Change subject: MediaWiki theme: Align focus state of capsuleItemWidget with
other widgets
......................................................................
MediaWiki theme: Align focus state of capsuleItemWidget with other widgets
Aligning `:focus` state of capsuleItemWidget with other widgets and
introducing `@box-shadow-focus-default` Less variable.
Change-Id: I83af82855654a392790f62e7d7eb65cf9946584c
---
M src/themes/mediawiki/common.less
M src/themes/mediawiki/widgets.less
2 files changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/oojs/ui refs/changes/56/286256/1
diff --git a/src/themes/mediawiki/common.less b/src/themes/mediawiki/common.less
index 22faac8..389eeef 100644
--- a/src/themes/mediawiki/common.less
+++ b/src/themes/mediawiki/common.less
@@ -54,6 +54,7 @@
@box-shadow-dialog: 0 0.15em 0 0 rgba( 0, 0, 0, 0.15 );
@box-shadow-menu: @box-shadow-dialog;
@box-shadow-popup: @box-shadow-dialog;
+@box-shadow-focus-default: inset 0 0 0 1px @color-progressive;
@box-shadow-light-inset: inset 0 0 0 1px @color-default-light;
@text-shadow-default: 0 1px 1px #fff; // 'coined' effect
diff --git a/src/themes/mediawiki/widgets.less
b/src/themes/mediawiki/widgets.less
index 200fc88..bf880f2 100644
--- a/src/themes/mediawiki/widgets.less
+++ b/src/themes/mediawiki/widgets.less
@@ -792,6 +792,7 @@
&:focus {
outline: 0;
border-color: @color-progressive;
+ box-shadow: @box-shadow-focus-default;
}
&.oo-ui-widget-disabled {
--
To view, visit https://gerrit.wikimedia.org/r/286256
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I83af82855654a392790f62e7d7eb65cf9946584c
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