Mooeypoo has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/347510 )
Change subject: DraggableElement: Only apply focus when widget is not disabled ...................................................................... DraggableElement: Only apply focus when widget is not disabled Also, consolidate styling of this mixin from widgets.less into the definition that exists in elements.less. Change-Id: Ib5437a235463c17ee56a3d9c0f0b21806ceee104 --- M src/themes/mediawiki/elements.less M src/themes/mediawiki/widgets.less 2 files changed, 3 insertions(+), 5 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/oojs/ui refs/changes/10/347510/1 diff --git a/src/themes/mediawiki/elements.less b/src/themes/mediawiki/elements.less index 738291b..9a7002f 100644 --- a/src/themes/mediawiki/elements.less +++ b/src/themes/mediawiki/elements.less @@ -423,7 +423,9 @@ .theme-oo-ui-clippableElement () {} .theme-oo-ui-draggableElement () { - &-handle:focus { + padding: @padding-menu-large; + + &-handle.oo-ui-widget-enabled:focus { border-radius: @border-radius-default; box-shadow: @box-shadow-widget-focus, 0 0 0 1px @color-progressive; outline: 0; diff --git a/src/themes/mediawiki/widgets.less b/src/themes/mediawiki/widgets.less index cbf114f..a560e1d 100644 --- a/src/themes/mediawiki/widgets.less +++ b/src/themes/mediawiki/widgets.less @@ -525,10 +525,6 @@ } } -.theme-oo-ui-draggableElement () { - padding: @padding-menu-large; -} - .theme-oo-ui-dropdownWidget () { width: 100%; max-width: @max-width-input; -- To view, visit https://gerrit.wikimedia.org/r/347510 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib5437a235463c17ee56a3d9c0f0b21806ceee104 Gerrit-PatchSet: 1 Gerrit-Project: oojs/ui Gerrit-Branch: master Gerrit-Owner: Mooeypoo <mor...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits