Release Vulpes OS 2.7 Preview 25 for Desktop, Android and Pixel 3a
This commit is contained in:
parent
6a44daeaaa
commit
3a1fba4efe
1 changed files with 1301 additions and 196 deletions
73
overrides/shared/elements/gaia-site-icon/style.css
Executable file
73
overrides/shared/elements/gaia-site-icon/style.css
Executable file
|
|
@ -0,0 +1,73 @@
|
|||
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);
|
||||
}
|
||||
|
||||
:host([data-identifier*="marketplace"]) #image-container > img {
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
#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);
|
||||
}
|
||||
Loading…
Reference in a new issue