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
.cloudSyncStatusButton {
display: grid;
place-content: center;
padding: 0;
margin: 0;
border: none;
background: transparent;
color: var(--text-default);
cursor: pointer;
line-height: 0;
/* The dot is positioned against this box. */
position: relative;
}
.cloudSyncStatusButton:disabled {
cursor: default;
}
.cloudSyncStatusButton > svg {
width: 100%;
height: 100%;
}
.cloudSyncStatusButton.state-conflicts,
.cloudSyncStatusButton.state-failed {
color: var(--danger, #f45460);
}
.cloudSyncStatusButton.state-incomplete {
color: var(--warning, #ffcc00);
}
.cloudSyncStatusButton.state-ok {
color: var(--success, #07c5ef);
}
.cloudSyncStatusButton.state-syncing > svg {
animation: lucide-spin 1.4s linear infinite;
}
.cloudSyncStatusDot {
position: absolute;
top: 0;
right: 0;
width: 9px;
height: 9px;
border-radius: 50%;
background: var(--danger, #f45460);
box-shadow: 0 0 0 2px var(--background-darker, #000);
}
.cloudSyncStatusDot.warning {
background: var(--warning, #ffcc00);
}
/* ---- Panel ---- */
.cloudSyncPanel {
display: flex;
flex-direction: column;
gap: var(--space-md-fixed, 1rem);
min-width: min(520px, 78vw);
}
.cloudSyncPanel .cloudSyncSummary.state-syncing .Alert__icon {
animation: lucide-spin 1.4s linear infinite;
}
.cloudSyncPanel .cloudSyncIssueText {
white-space: pre-wrap;
}
.cloudSyncPanel .cloudSyncCounts {
display: flex;
flex-wrap: wrap;
gap: var(--space-2xs, 0.375rem);
margin-top: var(--space-2xs, 0.375rem);
}
/* Divided rows, like settings cards */
.cloudSyncPanel .cloudSyncActions .SettingsCard__body > * {
padding-block: 20px;
margin: 0;
border-bottom: 1px solid var(--panel-divider, var(--divider));
}
.cloudSyncPanel .cloudSyncActions .SettingsCard__body > *:first-child {
padding-top: 0;
}
.cloudSyncPanel .cloudSyncActions .SettingsCard__body > *:last-child {
padding-bottom: 0;
border-bottom: none;
}
/* Same width for every action button */
.cloudSyncPanel .cloudSyncActionButton {
min-width: 9rem;
}
.cloudSyncPanel .cloudSyncBusy {
display: flex;
align-items: center;
gap: var(--space-xs, 0.5rem);
margin: 0;
font-size: var(--text-sm);
color: var(--text-secondary, inherit);
}
.cloudSyncPanel .cloudSyncFileTable {
max-height: 45vh;
overflow-y: auto;
}
.cloudSyncPanel .cloudSyncFileName {
overflow-wrap: anywhere;
}
@media (prefers-reduced-motion: reduce) {
.cloudSyncStatusButton.state-syncing > svg,
.cloudSyncPanel .cloudSyncSummary.state-syncing .Alert__icon {
animation: none;
}
}