]> source.dussan.org Git - jquery-ui.git/commit
Theme: Fix blank icons having a background
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Sat, 25 Sep 2021 19:20:06 +0000 (21:20 +0200)
committerGitHub <noreply@github.com>
Sat, 25 Sep 2021 19:20:06 +0000 (21:20 +0200)
commit87656cdf576f1b56dbd6cd731d3830a993c42d26
tree48c2e95697e7f13a810cb415668fbe5f16839d6f
parentb0ed787d18e606afd81f941065ba35f291ffb245
Theme: Fix blank icons having a background

A fix from 43254468de7d69b5422e667ba7ebbe864fc34a63 introduced a rule setting
`background-image` of a blank icon to none. However, the selector used for that
rule had lower specificity than another one: `.ui-button .ui-icon` which caused
dashes being shown over the icons.

We needed to increase the specificity of the `.ui-icon-blank` rule past the
above selector and past `.ui-button:hover .ui-icon`. We're doing it by repeating
the class name three times.

Closes gh-1987
themes/base/theme.css