jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/379162 )
Change subject: demos: Restrict `opacity` to non-flagged icons only ...................................................................... demos: Restrict `opacity` to non-flagged icons only Also make opacity follow base text color. Change-Id: I60532da11bcb52de314dc7f750c192839b0f31f6 --- M demos/styles/demo.css 1 file changed, 5 insertions(+), 5 deletions(-) Approvals: Bartosz Dziewoński: Looks good to me, approved jenkins-bot: Verified diff --git a/demos/styles/demo.css b/demos/styles/demo.css index 76cebb1..733f980 100644 --- a/demos/styles/demo.css +++ b/demos/styles/demo.css @@ -280,18 +280,18 @@ .demo-icons .oo-ui-fieldLayout:nth-child( 4n ) { margin-right: 0; } - -.demo-icons .oo-ui-fieldLayout .oo-ui-iconElement, +/* stylelint-disable indentation */ +.demo-icons .oo-ui-fieldLayout .oo-ui-iconElement:not( .oo-ui-image-progressive ):not( .oo-ui-image-destructive ), .demo-icons .oo-ui-fieldLayout .oo-ui-indicatorElement { - opacity: 0.8; /* brings icons/indicators closer to text color */ + opacity: 0.87; /* brings icons/indicators closer to text color */ } - +/* stylelint-enable indentation */ .demo-icons .oo-ui-fieldLayout:hover .oo-ui-labelElement-label { color: #000; } .demo-icons .oo-ui-fieldLayout:hover .oo-ui-iconElement, .demo-icons .oo-ui-fieldLayout:hover .oo-ui-indicatorElement { - opacity: 1; + opacity: 1 !important; /* stylelint-disable-line declaration-no-important */ } /* Widgets demo */ -- To view, visit https://gerrit.wikimedia.org/r/379162 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I60532da11bcb52de314dc7f750c192839b0f31f6 Gerrit-PatchSet: 2 Gerrit-Project: oojs/ui Gerrit-Branch: master Gerrit-Owner: VolkerE <volke...@wikimedia.org> Gerrit-Reviewer: Bartosz Dziewoński <matma....@gmail.com> Gerrit-Reviewer: Jforrester <jforres...@wikimedia.org> Gerrit-Reviewer: VolkerE <volke...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits