Add new close icons and make current icons Basilisk-specific

This commit is contained in:
Lootyhoof 2018-06-22 22:30:54 +01:00 committed by Roy Tam
commit 5cfc75fdc9
7 changed files with 66 additions and 5 deletions

View file

@ -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);
@ -402,3 +403,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