A games launcher for GOG, Amazon and Epic Games for Linux, Windows and macOS.
TypeScript amazon-primeelectronepic-games-launcherepic-games-storeepic-storegaminggoggog-galaxyheroic-games-launcherlinuxplay-gamesprotonsteamwine
@keyframes sideloadSpin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.sideloadDialog {
width: 100%;
max-width: 100%;
overflow: hidden;
display: flex;
flex-direction: column;
padding-inline: 0;
.spinner {
animation: sideloadSpin 1s linear infinite;
}
.stepContentRenderer {
flex: 1 1 auto;
min-height: 0;
padding-inline: var(--modal-padding-inline);
padding-bottom: var(--space-lg);
overflow: auto;
}
.sideloadStepper {
margin: var(--space-lg) 0 var(--space-lg);
padding-inline: var(--modal-padding-inline);
}
&.Modal__content .Field label {
margin-bottom: var(--space-xs-fixed);
}
}
.sideloadMetadataForm,
.sideloadCompatForm {
padding: var(--space-md);
display: flex;
flex-direction: column;
gap: var(--space-md);
}
.sideloadImportHint {
line-height: 1.5;
}
.sideloadImagesStep {
display: flex;
flex-direction: row;
align-items: stretch;
gap: var(--space-lg);
padding: var(--space-md);
}
.sideloadImagesMain {
flex: 1 1 auto;
min-width: 0;
display: flex;
flex-direction: column;
gap: var(--space-lg);
}
.sideloadImagesForm {
display: flex;
flex-direction: column;
gap: var(--space-md);
}
.sideloadImagesPreview {
flex: 0 0 auto;
width: 240px;
display: flex;
flex-direction: column;
gap: var(--space-md);
padding: var(--space-lg);
border: 2px dashed var(--panel-border);
border-radius: var(--radius-sm);
}
.sideloadImagesPreview__caption {
font-size: var(--text-sm);
font-weight: var(--medium);
letter-spacing: 0.04em;
text-transform: uppercase;
color: var(--text-secondary);
}
.sideloadImages {
display: flex;
flex-direction: column;
gap: var(--space-md);
align-items: center;
.appImageContainer {
position: relative;
width: 100%;
cursor: pointer;
color: white;
border-radius: var(--radius-sm);
overflow: hidden;
border: 3px solid var(--neutral-02);
transition: 200ms;
&.hasSgdbKey:hover {
border-color: var(--primary);
transform: scale(1.02);
.imageHoverOverlay {
opacity: 1;
}
.appImage {
filter: blur(2px) brightness(0.7);
}
}
&.searching,
&.loading {
cursor: default;
.appImage {
filter: blur(2px) brightness(0.5) grayscale(100%);
}
}
}
.appImage {
aspect-ratio: 3 / 4;
object-fit: cover;
display: block;
width: 100%;
transition: 200ms;
&.heroImage {
aspect-ratio: 1600 / 650;
}
}
.heroImageContainer {
width: 100%;
}
.imageLoadingOverlay,
.imageHoverOverlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
background: rgba(0, 0, 0, 0.4);
transition: 200ms;
color: white;
pointer-events: none;
svg {
width: 48px;
height: 48px;
}
}
.imageLoadingOverlay {
opacity: 1;
}
.imageHoverOverlay {
opacity: 0;
}
}
.sideloadInstallation {
height: 100%;
display: flex;
align-items: center;
justify-content: center;
padding: var(--space-md);
&--running {
flex-direction: column;
align-items: flex-start;
justify-content: flex-start;
gap: var(--space-md);
}
&__status {
display: flex;
align-items: center;
gap: var(--space-sm);
font-size: var(--text-lg);
font-weight: var(--semibold);
color: var(--text-default);
.spinner {
animation: sideloadSpin 1s linear infinite;
}
}
&__log {
width: 100%;
height: 220px;
display: flex;
}
&__logPlaceholder {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
border-radius: var(--radius-sm);
background: #1e1e1e;
color: var(--text-secondary);
font-style: italic;
}
&__actions {
display: flex;
align-items: center;
gap: var(--space-sm);
}
}
.sideloadFinish {
display: flex;
height: 100%;
flex-direction: column;
justify-content: center;
gap: var(--space-md);
padding: var(--space-md);
.protonShortcutsHint {
margin: 0 0 var(--space-sm);
color: var(--text-secondary);
font-size: var(--body-sm);
}
.shortcutTag {
padding: 2px var(--space-xs);
color: var(--text-secondary);
font-size: var(--text-xs);
background: var(--background-darker);
border-radius: var(--radius-pill);
}
.shortcutTile--disabled {
opacity: 0.45;
cursor: not-allowed;
}
.protonShortcutsTitle {
margin: 0;
font-size: var(--text-md);
font-weight: var(--semibold);
color: var(--text-secondary);
}
.proton-shortcuts {
display: flex;
align-items: stretch;
flex-wrap: wrap;
justify-content: center;
gap: var(--space-sm);
.shortcutTile.Button {
position: relative;
width: 150px;
height: 150px;
padding: var(--space-md);
border: solid 1px var(--panel-border);
border-radius: var(--radius-sm);
&.shortcutTile--selected {
border-color: var(--accent);
}
.Button__label {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: var(--space-sm);
width: 100%;
height: 100%;
}
}
.shortcutImage {
width: 48px;
height: 48px;
flex-shrink: 0;
object-fit: contain;
}
.shortcutName {
font-size: var(--text-sm);
color: var(--text-secondary);
text-align: center;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
white-space: normal;
}
.shortcutSelectedIcon {
position: absolute;
top: var(--space-xs);
right: var(--space-xs);
color: var(--accent);
}
}
}
.Modal__footer.sideload {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
.sideloadFooterMetadata {
display: flex;
align-items: center;
gap: var(--space-sm);
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: var(--text-secondary);
.InstallModal__platformIcon {
flex-shrink: 0;
width: 20px;
height: 20px;
margin-inline-start: 0;
}
}
.sideloadFooterButtons {
order: -1;
display: flex;
align-items: center;
gap: var(--space-sm);
flex-shrink: 0;
}
}
.sideloadPresetNote {
margin: 0 0 var(--space-md);
}
.sideloadPresetInstall {
display: flex;
flex-direction: column;
gap: var(--space-md);
padding: var(--space-md);
&--running {
height: 100%;
}
&__status {
display: flex;
align-items: center;
gap: var(--space-sm);
font-size: var(--text-lg);
font-weight: var(--semibold);
color: var(--text-default);
.spinner {
animation: sideloadSpin 1s linear infinite;
}
}
&__hint {
margin: 0;
font-size: var(--text-sm);
line-height: 1.5;
color: var(--text-secondary);
}
&__errorDetail {
display: block;
margin-top: var(--space-2xs);
font-family: var(--monospace-font-family, monospace);
font-size: var(--text-xs);
color: var(--text-secondary);
word-break: break-word;
}
&__log {
width: 100%;
height: 180px;
display: flex;
}
&__logPlaceholder {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
border-radius: var(--radius-sm);
background: #1e1e1e;
color: var(--text-secondary);
font-style: italic;
}
&__actions {
display: flex;
align-items: center;
gap: var(--space-sm);
flex-wrap: wrap;
}
}