VolkerE has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/393854 )
Change subject: WikimediaUI theme: Restore `:hover:focus` border color on
TextInputWidgets
......................................................................
WikimediaUI theme: Restore `:hover:focus` border color on TextInputWidgets
Regression from Ia732b72ed63928c5744455312769e6cd5019affe.
Also we have no other CSS-only option as
Ie70adbf0e4fd3adb8514f65792edde46202a41bd is having side-effects.
Change-Id: I9af98fb969fe561c41fd8b5196137c772f6c219d
---
M src/themes/wikimediaui/widgets.less
1 file changed, 9 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/oojs/ui refs/changes/54/393854/1
diff --git a/src/themes/wikimediaui/widgets.less
b/src/themes/wikimediaui/widgets.less
index 5a2caea..3577247 100644
--- a/src/themes/wikimediaui/widgets.less
+++ b/src/themes/wikimediaui/widgets.less
@@ -1830,6 +1830,7 @@
}
}
+ // Set on widget parent to also enable `:hover` on child
elmeents
&:hover {
input,
textarea {
@@ -1837,6 +1838,14 @@
}
}
+ // Applying `border-color` again to show right focus color
+ &:hover {
+ input:focus,
+ textarea:focus {
+ border-color: @border-color-base--focus;
+ }
+ }
+
// HACK: Exclude IE/Edge (and Saf<6) from this selector as it
// doesn't understand `outline-offset`. All other browsers do.
:/
@media screen {
--
To view, visit https://gerrit.wikimedia.org/r/393854
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9af98fb969fe561c41fd8b5196137c772f6c219d
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