mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-06-19 09:49:09 +08:00
This saves loading unnecessary bytes for non-staff users. Aligns with the existing core system for admin CSS. Also makes use of the feature for some obviously-admins-specific CSS files in gamification and ai plugins. More conversions are likely to come in follow-up commits.
47 lines
856 B
SCSS
Vendored
47 lines
856 B
SCSS
Vendored
.ai-translations {
|
|
--chart-progress-color: var(--tertiary);
|
|
--chart-remaining-color: var(--tertiary-low);
|
|
--chart-text-color: var(--primary);
|
|
--chart-label-color: var(--secondary);
|
|
|
|
&__charts {
|
|
margin-top: 2em;
|
|
}
|
|
|
|
&__locale-input-row,
|
|
&__category-input-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5em;
|
|
|
|
.multi-select,
|
|
.category-selector {
|
|
flex: 1;
|
|
}
|
|
|
|
.setting-controls {
|
|
float: none;
|
|
}
|
|
}
|
|
|
|
.settings .setting {
|
|
padding: 0.5em;
|
|
|
|
.setting-label,
|
|
.setting-value {
|
|
float: none;
|
|
width: auto;
|
|
margin-right: 0;
|
|
padding-right: 0;
|
|
}
|
|
|
|
.setting-value {
|
|
max-width: 100%;
|
|
|
|
.select-kit {
|
|
// Not ideal, but upstream .select-kit gets a width: 100% !important that is too eager
|
|
max-width: calc(100% - 100px);
|
|
}
|
|
}
|
|
}
|
|
}
|