app/assets/stylesheets/framework/forms.scss
Properties should be ordered bottom, content, display, left, position, top, width Open
Open
content: '';
- Exclude checks
Properties should be ordered height, line-height, min-width, text-indent Open
Open
min-width: calc(#{$switch-height-sm} * 2);
- Exclude checks
Avoid qualifying attribute selectors with an element. Open
Open
div[class^="validation-"], div[class$="-feedback"] {
- Exclude checks
Color literals like #525f7f
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
color: #525f7f;
- Exclude checks
Properties should be ordered font-size, font-weight, letter-spacing, padding-bottom, padding-top, text-transform Open
Open
padding-top: .25rem;
- Exclude checks
0.75
should be written without a leading zero as .75
Open
Open
padding-left: 0.75rem;
- Exclude checks
Each selector in a comma sequence should be on its own single line Open
Open
div[class^="validation-"], div[class$="-feedback"] {
- Exclude checks
Opening curly brace {
should be preceded by one space Open
Open
div[class^="validation-"], div[class$="-feedback"] {
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
+ label::after {
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
+ label {
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
&:checked + label::after {
- Exclude checks
Properties should be ordered background-color, border-radius, height, left, top, transition, width Open
Open
top: $switch-thumb-padding;
- Exclude checks
Properties should be ordered height, width Open
Open
width: calc(#{$switch-height-sm} - calc(#{$switch-thumb-padding} * 2));
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
&:checked + label::after {
- Exclude checks
Properties should be ordered height, width Open
Open
width: calc(#{$switch-height-lg} - calc(#{$switch-thumb-padding} * 2));
- Exclude checks
Properties should be ordered border-radius, cursor, display, height, line-height, min-width, outline, position, text-indent, user-select, vertical-align Open
Open
position: relative;
- Exclude checks
Properties should be ordered color, font-size, font-weight Open
Open
font-size: .875rem;
- Exclude checks
Properties should be ordered background, border, clip, clip-path, height, overflow, padding, position, width Open
Open
position: absolute;
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
+ label::before {
- Exclude checks
Properties should be ordered background-color, border-radius, right, transition Open
Open
right: 0;
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
+ label {
- Exclude checks
Properties should be ordered height, line-height, min-width, text-indent Open
Open
min-width: calc(#{$switch-height-lg} * 2);
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
+ label::before {
- Exclude checks
Avoid qualifying attribute selectors with an element. Open
Open
div[class^="validation-"], div[class$="-feedback"] {
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
+ label::after {
- Exclude checks