framework/less/admin/AppearancePage.less
David Sevilla Martin 94c4f266e3
feat: remove color validation in appearance admin page & add color indicator (#3140)
* 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>
2021-11-23 21:38:46 +00:00

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;
}
}