From: Volker E Date: Mon, 26 Nov 2018 02:04:17 +0000 (-0800) Subject: mediawiki.ui: Remove unused `.mw-ui-checked` class X-Git-Tag: 1.34.0-rc.0~3439^2 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=aa2b37ba9aba2ea9cab46d0d1b812485c8022d3a;p=lhc%2Fweb%2Fwiklou.git mediawiki.ui: Remove unused `.mw-ui-checked` class Removing `.mw-ui-checked` as it is unused in current codebase. Change-Id: I7a03215fae0b17dac41d85ffe1bb2634ec09f5c2 --- diff --git a/resources/src/mediawiki.ui/components/buttons.less b/resources/src/mediawiki.ui/components/buttons.less index ecdcc467de..b7175d0652 100644 --- a/resources/src/mediawiki.ui/components/buttons.less +++ b/resources/src/mediawiki.ui/components/buttons.less @@ -21,8 +21,7 @@ } &:active, - &.is-on, - &.mw-ui-checked { + &.is-on { background-color: @activeColor; border-color: @activeColor; box-shadow: none; @@ -35,8 +34,7 @@ // Make sure disabled buttons don't have hover and active states &:hover, - &:active, - &.mw-ui-checked { + &:active { background-color: @colorGray12; color: #fff; border-color: @colorGray12; @@ -122,8 +120,7 @@ } &:active, - &.is-on, - &.mw-ui-checked { + &.is-on { background-color: @colorGray12; color: @colorGray1; border-color: @colorGray7; @@ -193,8 +190,7 @@ box-shadow: none; } - &:active, - &.mw-ui-checked { + &:active { background-color: transparent; color: @colorButtonTextActive; border-color: transparent; @@ -238,8 +234,7 @@ color: @colorProgressiveHighlight; } - &:active, - &.mw-ui-checked { + &:active { color: @colorProgressiveActive; } @@ -275,8 +270,7 @@ color: @colorDestructiveHighlight; } - &:active, - &.mw-ui-checked { + &:active { color: @colorDestructiveActive; }