diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-06-23 14:26:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-23 14:26:57 +0200 |
commit | 362bb20730ca3250f9f7c4103aeda3f8a240e7a8 (patch) | |
tree | b84bcd8ac99b62cb07db6492654f7ed1013cdf1f /toolkit/themes/windows/global/global.css | |
parent | f583627901210050d1d9dabc661abfa82f0d4231 (diff) | |
parent | 87eaf4410455694b3337fd145d9b157c289babd5 (diff) | |
download | UXP-362bb20730ca3250f9f7c4103aeda3f8a240e7a8.tar UXP-362bb20730ca3250f9f7c4103aeda3f8a240e7a8.tar.gz UXP-362bb20730ca3250f9f7c4103aeda3f8a240e7a8.tar.lz UXP-362bb20730ca3250f9f7c4103aeda3f8a240e7a8.tar.xz UXP-362bb20730ca3250f9f7c4103aeda3f8a240e7a8.zip |
Merge pull request #530 from Lootyhoof/close-icon
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 |