- Info panel in the plugin modal: live status with the number of keybinds GNOME registered, the three setup steps and a button that opens Discord's Keybinds page (closes only the plugin modal, which otherwise blocks settings navigation). - Follows Discord's language: English, Portuguese (pt-BR) and Spanish (es-ES and es-419 use each region's action names); bold labels quote Discord's own strings. - Shared helpers moved to discord.ts; copy and locale choice in copy.ts, covered by basis-path tests (41 tests). - README: current settings path (User Settings > System > Keybinds).
105 lines
1.9 KiB
CSS
105 lines
1.9 KiB
CSS
.vc-wk-panel {
|
|
display: grid;
|
|
gap: 12px;
|
|
padding: 18px 20px 20px;
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-md, 12px);
|
|
background: var(--background-mod-subtle);
|
|
color: var(--text-default);
|
|
}
|
|
|
|
.vc-wk-status {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin: 0;
|
|
font-size: 14px;
|
|
line-height: 20px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.vc-wk-status-icon {
|
|
flex: none;
|
|
color: var(--interactive-icon-default);
|
|
}
|
|
|
|
.vc-wk-status-on {
|
|
font-weight: 600;
|
|
color: var(--text-default);
|
|
}
|
|
|
|
.vc-wk-status-on .vc-wk-status-icon {
|
|
color: var(--status-positive);
|
|
}
|
|
|
|
.vc-wk-title {
|
|
margin: 2px 0 0;
|
|
font-family: var(--font-display);
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
line-height: 26px;
|
|
color: var(--text-strong);
|
|
text-wrap: balance;
|
|
}
|
|
|
|
.vc-wk-lead {
|
|
margin: -4px 0 0;
|
|
max-width: 62ch;
|
|
font-size: 15px;
|
|
line-height: 22px;
|
|
}
|
|
|
|
.vc-wk-steps {
|
|
display: grid;
|
|
gap: 10px;
|
|
margin: 6px 0 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
counter-reset: vc-wk-step;
|
|
}
|
|
|
|
.vc-wk-steps li {
|
|
display: grid;
|
|
grid-template-columns: 24px 1fr;
|
|
gap: 12px;
|
|
max-width: 66ch;
|
|
font-size: 15px;
|
|
line-height: 22px;
|
|
counter-increment: vc-wk-step;
|
|
}
|
|
|
|
.vc-wk-steps li::before {
|
|
content: counter(vc-wk-step);
|
|
display: grid;
|
|
place-items: center;
|
|
width: 24px;
|
|
height: 24px;
|
|
margin-top: -1px;
|
|
border-radius: 50%;
|
|
background: var(--background-mod-strong);
|
|
color: var(--text-strong);
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.vc-wk-steps b {
|
|
color: var(--text-strong);
|
|
}
|
|
|
|
.vc-wk-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 12px 16px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.vc-wk-tip {
|
|
flex: 1 1 240px;
|
|
margin: 0;
|
|
font-size: 13px;
|
|
line-height: 18px;
|
|
color: var(--text-muted);
|
|
}
|