Merge "Revert "Temporary hax to hide cawiki's hacked in search sidebar""
[lhc/web/wiklou.git] / resources / src / mediawiki.ui / components / checkbox.less
index d44e5d7..f983087 100644 (file)
@@ -43,7 +43,7 @@
        display: table;
 
        * {
-               // reset font sizes (see bug 72727)
+               // reset font sizes (see T74727)
                font: inherit;
                vertical-align: middle;
        }
@@ -58,7 +58,7 @@
                // ensure the invisible checkbox takes up the required width
                width: @checkboxSize;
                height: @checkboxSize;
-               // This is needed for Firefox mobile (See bug 71750 to workaround default Firefox stylesheet)
+               // This is needed for Firefox mobile (See T73750 to workaround default Firefox stylesheet)
                max-width: none;
                margin: 0 0.4em 0 0;
                display: table-cell;
@@ -75,8 +75,7 @@
                        background-position: center center;
                        background-origin: border-box;
                        background-repeat: no-repeat;
-                       .background-size( @checkboxSize - 0.2em, @checkboxSize - 0.2em );
-                       background-size: 0 0;
+                       .background-size( 0, 0 );
                        .box-sizing( border-box );
                        position: absolute;
                        // align the checkbox to middle of the text
@@ -93,7 +92,7 @@
 
                // when the input is checked, style the label pseudo before element that followed as a checked checkbox
                &:checked + label::before {
-                       background-size: 100% 100%;
+                       .background-size( 100%, 100% );
                }
 
                &:active + label::before {