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
.WebviewControls {
display: flex;
align-items: center;
gap: var(--space-sm-fixed);
box-sizing: border-box;
width: inherit;
height: 48px;
padding: 0 var(--space-sm-fixed);
border-bottom: 1px solid var(--divider);
background: var(--background-darker);
user-select: text;
}
.frameless:not(.fullscreen) .WebviewControls {
padding-right: calc(
var(--overlay-controls-width) - env(titlebar-area-x, 0px)
);
}
.WebviewControls__icons {
display: flex;
align-items: center;
gap: var(--space-3xs-fixed);
flex: 0 0 auto;
flex-wrap: nowrap;
}
.WebviewControls__icons:last-child {
justify-content: flex-end;
}
.WebviewControls__icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 34px;
height: 34px;
border: none;
border-radius: var(--radius-sm);
background: none;
color: var(--text-secondary);
cursor: pointer;
transition:
color 150ms ease,
background-color 150ms ease;
}
.WebviewControls__icon:hover:not(:disabled) {
color: var(--text-default);
background: color-mix(in oklab, var(--on-panel) 12%, transparent);
}
.WebviewControls__icon:active:not(:disabled),
.WebviewControls__icon--active {
color: var(--accent);
}
.WebviewControls__icon:disabled {
color: var(--text-neutral-faint);
cursor: default;
}
.WebviewControls__icon:focus-visible {
outline: 2px solid var(--accent);
outline-offset: -2px;
}
.WebviewControls__url {
display: flex;
justify-content: center;
flex: 1 1 100%;
min-width: 0;
user-select: text;
}
.WebviewControls__urlInput {
width: 100%;
max-width: 640px;
height: 34px;
padding: 0 var(--space-md-fixed);
border: 1px solid var(--divider);
border-radius: var(--radius-sm);
background: var(--input-background);
font-family: inherit;
font-size: var(--body-sm);
color: var(--text-default);
text-align: center;
text-overflow: ellipsis;
user-select: text;
transition: border-color 150ms ease;
}
.WebviewControls__urlInput:hover {
border-color: var(--border-subtle, var(--divider));
}
.WebviewControls__urlInput:focus {
outline: none;
border-color: var(--accent);
}
.WebviewControls__urlInput::selection {
background: var(--accent);
color: var(--text-tertiary);
}
.WebviewControls__urlInput--warning {
color: var(--text-danger);
border-color: var(--border-destructive, var(--danger));
}
.WebviewControls__urlInput--warning::selection {
background: var(--danger);
}