Co-authored-by: Brendan Allan <14191578+Brendonovich@users.noreply.github.com> Co-authored-by: Kit Langton <kit.langton@gmail.com> Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> Co-authored-by: Affan Ali <93028901+affanali2k3@users.noreply.github.com> Co-authored-by: affanali2k3 <affanalikhanxx@gmail.com> Co-authored-by: Frank <frank@anoma.ly> Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com> Co-authored-by: 𝓛𝓲𝓽𝓽𝓵𝓮 𝓕𝓻𝓪𝓷𝓴 <little-frank@opencord.local> Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com> Co-authored-by: Jay V <air@live.ca> Co-authored-by: Dax Raad <d@ironbay.co> Co-authored-by: Aarav Sareen <96787824+arvsrn@users.noreply.github.com> Co-authored-by: OpeOginni <107570612+OpeOginni@users.noreply.github.com> Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com> Co-authored-by: Ben Guthrie <benjee.012@gmail.com> Co-authored-by: Dax <mail@thdxr.com> Co-authored-by: Filip <34747899+neriousy@users.noreply.github.com> Co-authored-by: Max Anderson <max.a.anderson95@gmail.com> Co-authored-by: Brendan Allan <git@brendonovich.dev> Co-authored-by: Jack <jack@anoma.ly> Co-authored-by: Shoubhit Dash <shoubhit2005@gmail.com> Co-authored-by: Dustin Deus <deusdustin@gmail.com> Co-authored-by: starptech <starptech@starptechs-MBP.fritz.box> Co-authored-by: Aiden Cline <aidenpcline@gmail.com> Co-authored-by: usrnk1 <7547651+usrnk1@users.noreply.github.com> Co-authored-by: Jay <53023+jayair@users.noreply.github.com> Co-authored-by: runvip <164729189+runvip@users.noreply.github.com> Co-authored-by: opencode <opencode@sst.dev> Co-authored-by: Julian Coy <julian@ex-machina.co> Co-authored-by: Vladimir Glafirov <vglafirov@gitlab.com>
392 lines
8 KiB
CSS
392 lines
8 KiB
CSS
[data-component="dialog-v2"].settings-v2-wsl-dialog [data-slot="dialog-container"] {
|
|
width: 480px;
|
|
max-width: calc(100vw - 32px);
|
|
height: auto;
|
|
align-items: stretch;
|
|
}
|
|
|
|
[data-component="dialog-v2"].settings-v2-wsl-dialog [data-slot="dialog-content"] {
|
|
align-items: stretch;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
[data-component="dialog-v2"].settings-v2-wsl-dialog [data-slot="dialog-header"] {
|
|
align-items: center;
|
|
padding: 24px 16px 0;
|
|
}
|
|
|
|
[data-component="dialog-v2"].settings-v2-wsl-dialog [data-slot="dialog-body"] {
|
|
display: flex;
|
|
width: 100%;
|
|
min-width: 0;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
padding: 0;
|
|
gap: 0;
|
|
}
|
|
|
|
.settings-v2-wsl-dialog-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
width: 100%;
|
|
min-width: 0;
|
|
align-self: stretch;
|
|
box-sizing: border-box;
|
|
padding: 16px 16px 1px;
|
|
}
|
|
|
|
[data-component="dialog-v2"].settings-v2-wsl-dialog [data-slot="dialog-footer"] {
|
|
padding: 0 16px 24px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
[data-component="dialog-v2"].settings-v2-wsl-not-installed-dialog [data-slot="dialog-container"] {
|
|
width: 480px;
|
|
max-width: calc(100vw - 32px);
|
|
min-height: 264px;
|
|
height: auto;
|
|
background: var(--v2-background-bg-layer-01);
|
|
box-shadow: var(--v2-elevation-overlay);
|
|
border-radius: 10px;
|
|
}
|
|
|
|
[data-component="dialog-v2"].settings-v2-wsl-not-installed-dialog [data-slot="dialog-content"] {
|
|
align-items: stretch;
|
|
min-height: 264px;
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
[data-component="dialog-v2"].settings-v2-wsl-not-installed-dialog [data-slot="dialog-body"] {
|
|
display: flex;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
justify-content: center;
|
|
padding: 0;
|
|
}
|
|
|
|
.settings-v2-wsl-not-installed-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
width: 100%;
|
|
padding: 56px 0;
|
|
gap: 24px;
|
|
text-align: center;
|
|
}
|
|
|
|
.settings-v2-wsl-not-installed-message {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
width: 100%;
|
|
gap: 8px;
|
|
}
|
|
|
|
.settings-v2-wsl-not-installed-icon {
|
|
flex: none;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.settings-v2-wsl-not-installed-title {
|
|
display: flex;
|
|
flex: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin: 0;
|
|
font-style: normal;
|
|
font-weight: 530;
|
|
font-size: 15px;
|
|
line-height: 20px;
|
|
letter-spacing: -0.13px;
|
|
font-variant-numeric: tabular-nums;
|
|
font-variation-settings: "slnt" 0;
|
|
color: var(--v2-text-text-base);
|
|
}
|
|
|
|
.settings-v2-wsl-not-installed-description {
|
|
display: flex;
|
|
flex: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
max-width: 300px;
|
|
margin: 0;
|
|
font-style: normal;
|
|
font-weight: 440;
|
|
font-size: 13px;
|
|
line-height: 20px;
|
|
text-align: center;
|
|
letter-spacing: -0.04px;
|
|
font-variant-numeric: tabular-nums;
|
|
font-variation-settings: "slnt" 0;
|
|
color: var(--v2-text-text-muted);
|
|
}
|
|
|
|
.settings-v2-wsl-unavailable-error {
|
|
width: 100%;
|
|
max-width: 360px;
|
|
margin: 4px 0 0;
|
|
font-style: normal;
|
|
font-weight: 440;
|
|
font-size: 12px;
|
|
line-height: 18px;
|
|
text-align: center;
|
|
letter-spacing: -0.04px;
|
|
font-variant-numeric: tabular-nums;
|
|
font-variation-settings: "slnt" 0;
|
|
color: var(--v2-text-text-faint);
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.settings-v2-wsl-section-header {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
flex: none;
|
|
align-self: stretch;
|
|
gap: 12px;
|
|
height: 24px;
|
|
padding: 0 0 0 9px;
|
|
}
|
|
|
|
.settings-v2-wsl-section-title {
|
|
flex: none;
|
|
user-select: none;
|
|
font-style: normal;
|
|
font-weight: 440;
|
|
font-size: 13px;
|
|
line-height: 16px;
|
|
letter-spacing: -0.04px;
|
|
font-variation-settings: "slnt" 0;
|
|
color: var(--v2-text-text-base);
|
|
}
|
|
|
|
.settings-v2-wsl-distro-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
flex: none;
|
|
align-self: stretch;
|
|
width: 100%;
|
|
height: fit-content;
|
|
max-height: 220px;
|
|
padding: 0;
|
|
border-radius: 8px;
|
|
background: var(--v2-background-bg-base);
|
|
box-shadow: var(--v2-elevation-raised);
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.settings-v2-wsl-distro-group {
|
|
width: 100%;
|
|
}
|
|
|
|
.settings-v2-wsl-distro-group [data-slot="radio-v2-items"] {
|
|
width: 100%;
|
|
gap: 0;
|
|
}
|
|
|
|
.settings-v2-wsl-distro-row {
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
min-height: 62px;
|
|
padding: 14px 14px 14px 16px;
|
|
border-bottom: 0.5px solid var(--v2-border-border-base);
|
|
}
|
|
|
|
.settings-v2-wsl-distro-row:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.settings-v2-wsl-distro-row [data-slot="radio-v2-item-label"] {
|
|
position: relative;
|
|
display: flex;
|
|
flex: 1;
|
|
width: 100%;
|
|
min-width: 0;
|
|
align-self: stretch;
|
|
}
|
|
|
|
.settings-v2-wsl-distro-row [data-slot="radio-v2-item-label"]::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: -14px -14px -14px -44px;
|
|
}
|
|
|
|
.settings-v2-wsl-distro-row [data-slot="radio-v2-item-text"] {
|
|
width: 100%;
|
|
}
|
|
|
|
.settings-v2-wsl-distro-label {
|
|
font-style: normal;
|
|
font-weight: 440;
|
|
font-size: 13px;
|
|
line-height: 16px;
|
|
letter-spacing: -0.04px;
|
|
font-variant-numeric: tabular-nums;
|
|
font-variation-settings: "slnt" 0;
|
|
color: inherit;
|
|
}
|
|
|
|
.settings-v2-wsl-distro-status {
|
|
flex: none;
|
|
font-style: normal;
|
|
font-weight: 440;
|
|
font-size: 12px;
|
|
line-height: 12px;
|
|
letter-spacing: 0.05px;
|
|
font-variant-numeric: tabular-nums;
|
|
font-variation-settings: "slnt" 0;
|
|
}
|
|
|
|
.settings-v2-wsl-distro-status[data-tone="success"] {
|
|
color: var(--v2-state-fg-success);
|
|
}
|
|
|
|
.settings-v2-wsl-distro-status[data-tone="warning"] {
|
|
color: var(--v2-state-fg-warning);
|
|
}
|
|
|
|
.settings-v2-wsl-distro-status[data-tone="muted"] {
|
|
color: var(--v2-text-text-muted);
|
|
}
|
|
|
|
.settings-v2-wsl-distro-row:where([data-disabled]) .settings-v2-wsl-distro-status {
|
|
color: inherit;
|
|
}
|
|
|
|
.settings-v2-wsl-distro-empty {
|
|
padding: 16px;
|
|
font-size: 13px;
|
|
font-weight: 440;
|
|
line-height: 1.4;
|
|
color: var(--v2-text-text-muted);
|
|
}
|
|
|
|
.settings-v2-wsl-catalog-card {
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: flex-start;
|
|
flex: none;
|
|
align-self: stretch;
|
|
gap: 12px;
|
|
width: 100%;
|
|
min-height: 64px;
|
|
padding: 14px 14px 16px 16px;
|
|
border: 0.5px solid var(--v2-border-border-base);
|
|
border-radius: 8px;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
}
|
|
|
|
.settings-v2-wsl-catalog-card:focus-visible {
|
|
outline: 2px solid var(--v2-border-border-focus);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.settings-v2-wsl-catalog-card:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.settings-v2-wsl-catalog-icon {
|
|
display: flex;
|
|
flex: none;
|
|
flex-shrink: 0;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 16px;
|
|
height: 16px;
|
|
color: var(--v2-icon-icon-base);
|
|
}
|
|
|
|
.settings-v2-wsl-catalog-copy {
|
|
display: flex;
|
|
min-width: 0;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.settings-v2-wsl-catalog-title {
|
|
user-select: none;
|
|
font-style: normal;
|
|
font-weight: 440;
|
|
font-size: 13px;
|
|
line-height: 16px;
|
|
letter-spacing: -0.04px;
|
|
font-variation-settings: "slnt" 0;
|
|
color: var(--v2-text-text-base);
|
|
}
|
|
|
|
.settings-v2-wsl-catalog-description {
|
|
user-select: none;
|
|
font-style: normal;
|
|
font-weight: 440;
|
|
font-size: 12px;
|
|
line-height: 12px;
|
|
letter-spacing: 0.05px;
|
|
font-variation-settings: "slnt" 0;
|
|
color: var(--v2-text-text-muted);
|
|
}
|
|
|
|
.settings-v2-wsl-catalog-chevron {
|
|
display: flex;
|
|
flex: none;
|
|
flex-shrink: 0;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 16px;
|
|
height: 16px;
|
|
color: var(--v2-icon-icon-muted);
|
|
}
|
|
|
|
.settings-v2-wsl-catalog-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
flex: none;
|
|
align-self: stretch;
|
|
width: 100%;
|
|
height: fit-content;
|
|
max-height: 220px;
|
|
padding: 0;
|
|
border-radius: 8px;
|
|
box-shadow: inset 0 0 0 0.5px var(--v2-border-border-strong);
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.settings-v2-wsl-catalog-picker {
|
|
gap: 12px;
|
|
}
|
|
|
|
.settings-v2-wsl-catalog-search {
|
|
width: 100%;
|
|
}
|
|
|
|
.settings-v2-wsl-catalog-row {
|
|
min-height: 48px;
|
|
}
|
|
|
|
.settings-v2-wsl-loading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 48px 24px;
|
|
font-size: 13px;
|
|
font-weight: 440;
|
|
line-height: 1;
|
|
color: var(--v2-text-text-muted);
|
|
text-align: center;
|
|
}
|