X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=resources%2Fsrc%2Fmediawiki.ui%2Fcomponents%2Fcheckbox.less;h=f983087ff5e934be73790e1bd440eb2ea1dc7525;hb=0ab1808578a42cb7d26cf0350a12443663fa6fc4;hp=d44e5d71df4ecb73a251d0060385c4a4080875ab;hpb=3c18e32e58d53ab38d1dd52d00f248ddef435ebd;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/src/mediawiki.ui/components/checkbox.less b/resources/src/mediawiki.ui/components/checkbox.less index d44e5d71df..f983087ff5 100644 --- a/resources/src/mediawiki.ui/components/checkbox.less +++ b/resources/src/mediawiki.ui/components/checkbox.less @@ -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 {