app/webpacker/css/admin/components/buttons.scss
Begin pseudo elements with double colons: ::
Open
Open
&:before {
- Exclude checks
Avoid qualifying class selectors with an element. Open
Open
input.red,
- Exclude checks
Color literals like #fff
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
color: #fff;
- Exclude checks
Color #ffffff
should be written as #fff
Open
Open
color: #ffffff;
- Exclude checks
Color literals like #ebf3fb
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
background-color: #ebf3fb;
- Exclude checks
0px
should be written without units as 0
Open
Open
padding: 0px 5px;
- Exclude checks
Begin pseudo elements with double colons: ::
Open
Open
&:before {
- Exclude checks
Avoid qualifying class selectors with an element. Open
Open
input.red,
- Exclude checks
Avoid qualifying attribute selectors with an element. Open
Open
input[type="submit"],
- Exclude checks
Avoid qualifying attribute selectors with an element. Open
Open
input[type="submit"],
- Exclude checks
border: 0
is preferred over border: none
Open
Open
border: none;
- Exclude checks
Avoid qualifying class selectors with an element. Open
Open
input.red,
- Exclude checks
Color literals like #ffffff
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
color: #ffffff;
- Exclude checks
Rule declaration should be followed by an empty line Open
Open
}
- Exclude checks
Avoid qualifying class selectors with an element. Open
Open
a.button.red {
- Exclude checks