app/webpacker/css/admin/shared/forms.scss
Avoid qualifying attribute selectors with an element. Open
Open
input[type="checkbox"] {
- Exclude checks
Shorthand form for property padding
should be written more concisely as 10px 0 15px
instead of 10px 0 15px 0
Open
Open
padding: 10px 0 15px 0;
- Exclude checks
border-top: 0
is preferred over border-top: none
Open
Open
border-top: none;
- Exclude checks
Rule declaration should be followed by an empty line Open
Open
}
- Exclude checks
Selector formError
should be written in lowercase with hyphens Open
Open
.formError {
- Exclude checks
Rule declaration should be followed by an empty line Open
Open
}
- Exclude checks
border-right: 0
is preferred over border-right: none
Open
Open
border-right: none;
- Exclude checks
Avoid qualifying class selectors with an element. Open
Open
button,
- Exclude checks
Avoid qualifying attribute selectors with an element. Open
Open
button,
- Exclude checks
Rule declaration should be followed by an empty line Open
Open
}
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
label {
- Exclude checks
Avoid qualifying class selectors with an element. Open
Open
span.or {
- Exclude checks
Avoid qualifying class selectors with an element. Open
Open
span.info {
- Exclude checks
Selector field_with_errors
should be written in lowercase with hyphens Open
Open
.field_with_errors {
- Exclude checks
border-bottom: 0
is preferred over border-bottom: none
Open
Open
border-bottom: none;
- Exclude checks
Color white
should be written in hexadecimal form as #ffffff
Open
Open
background-color: white;
- Exclude checks
Avoid qualifying attribute selectors with an element. Open
Open
button,
- Exclude checks
Color literals like white
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
background-color: white;
- Exclude checks
border-left: 0
is preferred over border-left: none
Open
Open
border-left: none;
- Exclude checks
Rule declaration should be followed by an empty line Open
Open
}
- Exclude checks
Avoid comma sequences in @extend
directives; prefer single placeholder selectors (e.g. %some-placeholder
) Open
Open
@extend input, [type="text"];
- Exclude checks