"Krinkle" posted a comment on MediaWiki.r106536. URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/106536#c28644
Commit summary for MediaWiki.r106536: Bug 33113 - Have buttons that are grayed out disabled completely Author: [email protected] Krinkle's comment: Why the <code> !important</code> rule ? The need for that rule is very rare I don't think this is one of those cases. CSS cascades the rules down later rules overwrite earlier ones. Since this rule has the same "score" (or "weight") as the :hover rule for normal buttons, this should work just fine. <pre> .es-toolbarButtonTool:hover, .es-toolbarDropdownTool:hover { border-color: #eeeeee; } .es-toolbarButtonTool-disabled:hover { border-color: transparent; } </pre> _______________________________________________ MediaWiki-CodeReview mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
