mediawiki.ui: Remove `.agora-inline-label-styling()` & `.mw-ui-radio-label`
authorVolker E <volker.e@wikimedia.org>
Thu, 22 Nov 2018 01:28:01 +0000 (17:28 -0800)
committerVolker E <volker.e@wikimedia.org>
Thu, 22 Nov 2018 01:28:01 +0000 (17:28 -0800)
Removing unused `.agora-inline-label-styling()` & `.mw-ui-radio-label`.
CodeSearch shows no results for both aside of self-referencing.

Change-Id: Id339a979a49a0ceeaecb14b54735a198c95c6f13

resources/src/mediawiki.less/mediawiki.ui/mixins.less
resources/src/mediawiki.ui/components/forms.less

index 5119e49..58319f5 100644 (file)
        }
 }
 
-.agora-inline-label-styling() {
-       margin-bottom: 0.5em;
-       cursor: pointer;
-       vertical-align: bottom;
-       line-height: normal;
-       font-weight: normal;
-
-       & > input[ type='checkbox' ],
-       & > input[ type='radio' ] {
-               width: auto;
-               height: auto;
-               margin: 0 0.1em 0 0;
-               padding: 0;
-               border: 1px solid @colorGray7;
-               cursor: pointer;
-       }
-}
-
 // ----------------------------------------------------------------------------
 // Button styling
 // ----------------------------------------------------------------------------
index 0a9023e..892ba4e 100644 (file)
 .mw-ui-label {
        .agora-label-styling();
 }
-
-// Nesting an input  inside a label with this class
-// improves alignment, e.g.
-//
-// <label class="mw-ui-radio-label">
-//   <input type="radio">The label text
-// </label>
-.mw-ui-radio-label {
-       .agora-inline-label-styling();
-}