69 lines
1.3 KiB
CSS
Executable file
69 lines
1.3 KiB
CSS
Executable file
gaia-app-icon {
|
|
display: flex;
|
|
flex-direction: column;
|
|
font-size: 0;
|
|
}
|
|
|
|
#image-container {
|
|
position: relative;
|
|
transition: visibility 0.2s, opacity 0.2s;
|
|
}
|
|
|
|
#image-container.initial-load {
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
}
|
|
|
|
#image-container > #spinner {
|
|
display: none;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
#image-container.downloading > #spinner {
|
|
display: block;
|
|
background: no-repeat center center url('images/app_install_spinner.svg');
|
|
background-size: contain;
|
|
animation: rotate 2s infinite linear;
|
|
}
|
|
|
|
#image-container,
|
|
#image-container > * {
|
|
width: 100%;
|
|
}
|
|
|
|
#subtitle {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
text-align: center;
|
|
margin-top: 0.3rem;
|
|
}
|
|
|
|
#title-container {
|
|
transition: opacity 0.2s, visibility 0.2s;
|
|
}
|
|
|
|
#title-container.hidden {
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
height: 0;
|
|
}
|
|
|
|
/* Compact layouts can widen labels independently of the image. */
|
|
#subtitle {
|
|
width: var(--vulpes-label-width, auto);
|
|
margin-inline-start: var(--vulpes-label-offset, 0px);
|
|
}
|
|
#image-container > img {
|
|
display: var(--vulpes-icon-display, inline);
|
|
}
|
|
|
|
#title-container {
|
|
/* Visually hide compact labels without removing their accessible names. */
|
|
position: var(--vulpes-icon-title-position, static);
|
|
clip-path: var(--vulpes-icon-title-clip, none);
|
|
}
|