framework/less/admin/AppearancePage.less
Alexander Skvortsov 9eb74fdc8a Fix CustomFooterModal Appearance
The textarea in the CustomFooterModal was much larger than in the other appearance page modals, and did not use a monospaced font. Turns out the other 2 were explicitly specified in the less. This commit adds a class that can be applied to all these modals for simpler maintenance.

Fixes https://github.com/flarum/core/issues/2865
2021-05-14 21:36:06 -04:00

46 lines
604 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;
}
input {
float: left;
&:first-child {
margin-right: 2%;
}
}
}
.AppearancePage-colors .Checkbox {
margin-bottom: 15px;
}
.TextareaCodeModal {
textarea {
font-family: monospace;
line-height: 1;
}
}