mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-25 13:10:14 +01:00
eac5e0bc2c
Co-authored-by: LB Johnston <mail@lb.ee>
37 lines
699 B
SCSS
37 lines
699 B
SCSS
@use 'sass:map';
|
|
// Legacy form reset styles. Avoid adding any new styles here.
|
|
form {
|
|
// Historically, Wagtail forms rendered all fields as list items.
|
|
// This is still the case in some instances, and there may be a lot of
|
|
// of form widgets relying on this too.
|
|
ul,
|
|
li {
|
|
list-style-type: none;
|
|
}
|
|
|
|
ul {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
fieldset {
|
|
border: 0;
|
|
padding: 0 0 2em;
|
|
margin: 0;
|
|
}
|
|
|
|
// Special styles to counteract Firefox's completely unwarranted assumptions about button styles
|
|
input[type='submit'],
|
|
input[type='reset'],
|
|
input[type='button'],
|
|
button {
|
|
padding: 0 1em;
|
|
|
|
@include media-breakpoint-up(sm) {
|
|
&.button-small {
|
|
height: 2em;
|
|
}
|
|
}
|
|
}
|