mirror of
https://github.com/flarum/framework.git
synced 2024-11-29 12:43:52 +08:00
94c4f266e3
* Remove color validation in basics admin page & add color indicator * Create ColorInput common component * Revert 'formGroupAttrs' addition * Rename component CSS classes * Fix input type in ColorInput from AdminPage#buildSettingComponent * Rename component to ColorPreviewInput, remove aliases in admin & export in compat * Remove leftovers from rebase on master * feat: add global type definition for a vnode element tag * fix(a11y): add aria roles to color input * chore: use new type * chore: format Co-authored-by: David Wheatley <hi@davwheat.dev>
38 lines
521 B
Plaintext
38 lines
521 B
Plaintext
.AppearancePage {
|
|
padding-bottom: 30px;
|
|
|
|
@media @desktop-up {
|
|
.container {
|
|
max-width: 600px;
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
fieldset {
|
|
margin-bottom: 40px;
|
|
}
|
|
}
|
|
.AppearancePage-colors-input {
|
|
overflow: hidden;
|
|
|
|
.Form-group {
|
|
display: inline-block;
|
|
}
|
|
|
|
.Form-group:last-child {
|
|
margin-bottom: 24px !important;
|
|
margin-left: 10px;
|
|
}
|
|
}
|
|
|
|
.AppearancePage-colors .Checkbox {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.TextareaCodeModal {
|
|
textarea {
|
|
font-family: monospace;
|
|
line-height: 1;
|
|
}
|
|
}
|