mediawiki.ui: Align `.mw-ui-input:focus` to design spec
authorVolker E <volker.e@wikimedia.org>
Sun, 26 Jun 2016 12:37:48 +0000 (14:37 +0200)
committerVolker E <volker.e@wikimedia.org>
Sun, 26 Jun 2016 12:37:48 +0000 (14:37 +0200)
Aligning `.mw-ui-input:focus` to design specification
https://phabricator.wikimedia.org/M101

Change-Id: I4e4d20d38047e9b2e069a84a073fc57480303452

resources/src/mediawiki.ui/components/inputs.less

index f8d283a..76fee23 100644 (file)
        }
 
        &:focus {
-               box-shadow: inset 0 0 0 2px @colorProgressive;
-               // Color being used to match inset shadow, not semantic reasons
                border-color: @colorProgressive;
-               // Remove focus glow on input[type="search"]
+               box-shadow: inset 0 0 0 1px @colorProgressive;
                outline: 0;
        }