diff options
author | Lootyhoof <lootyhoofer@gmail.com> | 2018-06-22 22:30:54 +0100 |
---|---|---|
committer | Lootyhoof <lootyhoofer@gmail.com> | 2018-06-22 22:30:54 +0100 |
commit | 87eaf4410455694b3337fd145d9b157c289babd5 (patch) | |
tree | 291c9fd838583899ced65ca16ea0b851bc451728 /toolkit/themes/windows/global/global.css | |
parent | e6f765a27070a6b922742e61d0a14dcc2c18baba (diff) | |
download | UXP-87eaf4410455694b3337fd145d9b157c289babd5.tar UXP-87eaf4410455694b3337fd145d9b157c289babd5.tar.gz UXP-87eaf4410455694b3337fd145d9b157c289babd5.tar.lz UXP-87eaf4410455694b3337fd145d9b157c289babd5.tar.xz UXP-87eaf4410455694b3337fd145d9b157c289babd5.zip |
Add new close icons and make current icons Basilisk-specific
Diffstat (limited to 'toolkit/themes/windows/global/global.css')
-rw-r--r-- | toolkit/themes/windows/global/global.css | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/toolkit/themes/windows/global/global.css b/toolkit/themes/windows/global/global.css index aaddef882..416321041 100644 --- a/toolkit/themes/windows/global/global.css +++ b/toolkit/themes/windows/global/global.css @@ -331,6 +331,7 @@ popupnotificationcontent { /* :::::: Close button icons ::::: */ +%ifdef MC_BASILISK .close-icon { list-style-image: url("chrome://global/skin/icons/close.png"); -moz-image-region: rect(0, 20px, 20px, 0); @@ -398,3 +399,17 @@ popupnotificationcontent { } } } +%else +.close-icon { + list-style-image: url("chrome://global/skin/icons/close.svg"); + -moz-image-region: rect(0, 16px, 16px, 0); +} + +.close-icon:hover { + -moz-image-region: rect(0, 32px, 16px, 16px); +} + +.close-icon:hover:active { + -moz-image-region: rect(0, 48px, 16px, 32px); +} +%endif |