mirror of
https://wget.la/https://github.com/leookun/cursor-byok
synced 2026-10-06 05:12:03 +08:00
163 lines
2.4 KiB
SCSS
163 lines
2.4 KiB
SCSS
@use "../styles/typography" as type;
|
|
|
|
.page {
|
|
display: grid;
|
|
gap: 16px;
|
|
}
|
|
|
|
.settingRow {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
padding: 16px;
|
|
|
|
div {
|
|
display: grid;
|
|
gap: 5px;
|
|
}
|
|
|
|
small {
|
|
color: var(--vscode-descriptionForeground);
|
|
font-size: type.$font-size-xs;
|
|
}
|
|
}
|
|
|
|
.storageRow {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
padding: 16px;
|
|
|
|
> div {
|
|
display: grid;
|
|
gap: 5px;
|
|
}
|
|
|
|
small {
|
|
color: var(--vscode-descriptionForeground);
|
|
font-size: type.$font-size-xs;
|
|
}
|
|
}
|
|
|
|
.importRow {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
padding: 16px;
|
|
|
|
> div {
|
|
display: grid;
|
|
gap: 5px;
|
|
}
|
|
|
|
small {
|
|
color: var(--vscode-descriptionForeground);
|
|
font-size: type.$font-size-xs;
|
|
}
|
|
}
|
|
|
|
.textButton {
|
|
padding: 4px;
|
|
color: var(--vscode-textLink-foreground);
|
|
background: transparent;
|
|
border: 0;
|
|
|
|
&:hover { color: var(--vscode-textLink-activeForeground); }
|
|
}
|
|
|
|
.confirmContent {
|
|
display: grid;
|
|
gap: 8px;
|
|
|
|
|
|
small {
|
|
color: var(--vscode-descriptionForeground);
|
|
font-size: type.$font-size-xs;
|
|
}
|
|
}
|
|
|
|
.themeActions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
padding: 14px;
|
|
|
|
button {
|
|
min-height: 30px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 0 11px;
|
|
color: var(--vscode-foreground);
|
|
background: var(--vscode-input-background);
|
|
border: 1px solid var(--vscode-input-border);
|
|
border-radius: 5px;
|
|
}
|
|
}
|
|
|
|
.languageControl {
|
|
width: 180px;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.portSettings {
|
|
display: grid;
|
|
gap: 14px;
|
|
padding: 16px;
|
|
}
|
|
|
|
.portFields {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.portFooter {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
|
|
small {
|
|
color: var(--vscode-descriptionForeground);
|
|
font-size: type.$font-size-xs;
|
|
}
|
|
}
|
|
|
|
.portValue {
|
|
min-width: 0;
|
|
min-height: 34px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
|
|
span {
|
|
color: var(--vscode-descriptionForeground);
|
|
}
|
|
}
|
|
|
|
.cardActions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
@media (max-width: 680px) {
|
|
.portFields {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.importRow {
|
|
align-items: stretch;
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
|
|
.themeActions .selected {
|
|
border-color: var(--vscode-focusBorder);
|
|
}
|