mirror of
https://github.com/discourse/discourse.git
synced 2024-12-27 08:53:56 +08:00
db8c1f20ed
This commit changes the group SMTP settings form (at
`/g/:name/manage/email`) to use
FormKit, our magical new form component system ✨
---------
Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
44 lines
826 B
SCSS
44 lines
826 B
SCSS
.form-kit__control-icon {
|
|
width: 100% !important;
|
|
min-width: var(--form-kit-small-input);
|
|
.formatted-selection {
|
|
display: none !important;
|
|
}
|
|
|
|
.d-icon-angle-down,
|
|
.d-icon-angle-up {
|
|
color: var(--primary-medium) !important;
|
|
}
|
|
|
|
.select-kit-header-wrapper .d-icon:first-of-type {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.select-kit-header {
|
|
padding-inline: 0.65em !important;
|
|
height: 2em;
|
|
|
|
@include breakpoint(mobile-large) {
|
|
height: 2.25em;
|
|
}
|
|
|
|
&:hover:not(:disabled) {
|
|
.discourse-no-touch & {
|
|
background-color: var(--secondary);
|
|
color: var(--primary);
|
|
border: 1px solid var(--tertiary);
|
|
|
|
.d-icon {
|
|
color: inherit;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.form-kit__field.has-error & {
|
|
summary {
|
|
border-color: var(--danger);
|
|
}
|
|
}
|
|
}
|