app/assets/stylesheets/_step-indicator.scss
Selector step-indicator__step--current
should be written in lowercase with hyphens Open
Open
.step-indicator__step--current .step-indicator__step-title {
- Exclude checks
Selector step-indicator__step--current
should be written in lowercase with hyphens Open
Open
.step-indicator__step--current {
- Exclude checks
Selector step-indicator__scroller
should be written in lowercase with hyphens Open
Open
.step-indicator__scroller::after {
- Exclude checks
Selector usa-step-indicator__heading-counter
should be written in lowercase with hyphens Open
Open
& .usa-step-indicator__heading-counter {
- Exclude checks
Line contains trailing whitespace Open
Open
}
- Exclude checks
Selector step-indicator__step
should be written in lowercase with hyphens Open
Open
.step-indicator__step {
- Exclude checks
Merge rule .step-indicator__step
with rule on line 104 Open
Open
.step-indicator__step {
- Exclude checks
0.5
should be written without a leading zero as .5
Open
Open
margin-left: -0.5rem;
- Exclude checks
Selector step-indicator__step--complete
should be written in lowercase with hyphens Open
Open
.step-indicator__step--complete {
- Exclude checks
Selector step-indicator__step--complete
should be written in lowercase with hyphens Open
Open
.step-indicator__step--complete {
- Exclude checks
Selector step-indicator__step--current
should be written in lowercase with hyphens Open
Open
.step-indicator__step--current {
- Exclude checks
Selector step-indicator__step
should be written in lowercase with hyphens Open
Open
.step-indicator__step {
- Exclude checks
Unnecessary parent selector (&) Open
Open
& .usa-step-indicator__current-step {
- Exclude checks
Selector usa-step-indicator__total-steps
should be written in lowercase with hyphens Open
Open
& .usa-step-indicator__total-steps {
- Exclude checks
Declaration should be terminated by a semicolon Open
Open
color: color('success')
- Exclude checks
Unnecessary parent selector (&) Open
Open
& .usa-step-indicator__heading-text {
- Exclude checks
Selector usa-step-indicator__heading-text
should be written in lowercase with hyphens Open
Open
& .usa-step-indicator__heading-text {
- Exclude checks
0.5
should be written without a leading zero as .5
Open
Open
margin-top: -0.5 * $step-indicator-line-height;
- Exclude checks
Rule declaration should be followed by an empty line Open
Open
}
- Exclude checks
Selector step-indicator__step-title
should be written in lowercase with hyphens Open
Open
.step-indicator__step--current .step-indicator__step-title {
- Exclude checks
0.75
should be written without a leading zero as .75
Open
Open
font-size: 0.75rem;
- Exclude checks
0.5
should be written without a leading zero as .5
Open
Open
left: calc(50% + 0.5rem + #{$step-indicator-line-height});
- Exclude checks
Properties should be ordered border-bottom, box-shadow, display, margin-bottom, position Open
Open
display: block;
- Exclude checks
Each selector in a comma sequence should be on its own single line Open
Open
&::before, &::after {
- Exclude checks
0.5
should be written without a leading zero as .5
Open
Open
height: 0.5rem;
- Exclude checks
Properties should be ordered background-color, flex, height, margin-right, padding Open
Open
flex: 1 1 auto;
- Exclude checks
Declaration should be terminated by a semicolon Open
Open
display: inline-block
- Exclude checks
0.1
should be written without a leading zero as .1
Open
Open
padding: 0.3rem 0 0 0.1rem;
- Exclude checks
Selector usa-step-indicator__header
should be written in lowercase with hyphens Open
Open
> .usa-step-indicator__header {
- Exclude checks
Unnecessary parent selector (&) Open
Open
& .usa-step-indicator__total-steps {
- Exclude checks
0.25
should be written without a leading zero as .25
Open
Open
padding: 1.5rem 0.25rem 0;
- Exclude checks
Merge rule .step-indicator__step--current .step-indicator__step-title
with rule on line 141 Open
Open
.step-indicator__step--current .step-indicator__step-title {
- Exclude checks
Selector usa-step-indicator__current-step
should be written in lowercase with hyphens Open
Open
& .usa-step-indicator__current-step {
- Exclude checks
Properties should be ordered background-color, height, padding, width Open
Open
width: 2rem;
- Exclude checks
Selector step-indicator__step
should be written in lowercase with hyphens Open
Open
.step-indicator__step {
- Exclude checks
0.3
should be written without a leading zero as .3
Open
Open
padding: 0.3rem 0 0 0.1rem;
- Exclude checks
Rule declaration should be followed by an empty line Open
Open
}
- Exclude checks
0.5
should be written without a leading zero as .5
Open
Open
top: 0.5rem;
- Exclude checks
Unnecessary parent selector (&) Open
Open
& .usa-step-indicator__heading-counter {
- Exclude checks
@include declaration should be followed by an empty line Open
Open
}
- Exclude checks
Rule declaration should be followed by an empty line Open
Open
}
- Exclude checks
Selector step-indicator__scroller
should be written in lowercase with hyphens Open
Open
.step-indicator__scroller {
- Exclude checks
Selector step-indicator__step-title
should be written in lowercase with hyphens Open
Open
.step-indicator__step-title {
- Exclude checks