Bug 1906022 - Show update icon only when we have an image to display. r=emilio,desktop-theme-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D215738
This commit is contained in:
Dão Gottwald 2024-07-04 10:46:16 +00:00
parent acd6860f5a
commit da0721fc39

View File

@ -142,6 +142,7 @@
}
#updateIcon {
display: none;
align-self: center;
grid-row-start: 1;
grid-row-end: 2;
@ -154,15 +155,18 @@
margin-inline: 5px;
&.noUpdatesFound {
display: block;
content: url("chrome://global/skin/icons/check.svg");
fill: #30e60b;
}
&.apply {
display: block;
content: url("chrome://global/skin/icons/reload.svg");
}
&:is(.checkingForUpdates, .downloading, .applying, .restarting) {
display: block;
content: url("chrome://global/skin/icons/loading.svg");
}
}