openfoodfoundation/openfoodnetwork

View on GitHub
app/webpacker/css/darkswarm/split-checkout.scss

Summary

Maintainability
Test Coverage

Merge rule span.checkout-tab-label with rule on line 43
Open

    span.checkout-tab-label {

Selector field_with_errors should be written in lowercase with hyphens
Open

    .field_with_errors {

Line contains trailing whitespace
Open

        

Line contains trailing whitespace
Open

    

Line contains trailing whitespace
Open

    

Avoid qualifying attribute selectors with an element.
Open

      input[type=radio] {

Each selector in a comma sequence should be on its own single line
Open

  .checkout-input span.formError, div.error.card-errors {

Avoid qualifying class selectors with an element.
Open

    i.ofn-i_051-check-big:before {

Avoid qualifying class selectors with an element.
Open

    i.ofn-i_051-check-big {

Rule declaration should be preceded by an empty line
Open

    &.with-transition {

Color white should be written in hexadecimal form as #ffffff
Open

    background-color: white;

Color literals like white should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

    background-color: white;

Color #DDD should be written as #ddd
Open

      box-shadow: 0 -4px 10px #DDD;

Color #cccccc should be written as #ccc
Open

      border: 1px solid #cccccc;

Avoid using id selectors
Open

    #distributor_address.panel {

Avoid qualifying class selectors with an element.
Open

  .checkout-input span.formError, div.error.card-errors {

Avoid qualifying class selectors with an element.
Open

  .checkout-input span.formError, div.error.card-errors {

Name of mixin headingFont should be written in all lowercase letters with hyphens instead of underscores
Open

    @include headingFont;

Color #DDD should be written as #ddd
Open

      border-right: 1px solid #DDD;

Line contains trailing whitespace
Open

  

Unknown property gap
Open

    gap: 0;

Color literals like white should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

        background-color: white;

Selector distributor_address should be written in lowercase with hyphens
Open

    #distributor_address.panel {

Declaration should be terminated by a semicolon
Open

        color: $teal-500

Selector should have depth of applicability no greater than 3, but was 5
Open

      .button {

Each selector in a comma sequence should be on its own single line
Open

  span, span > a {

Avoid qualifying class selectors with an element.
Open

    span.checkout-tab-label {

Selector should have depth of applicability no greater than 3, but was 4
Open

      label {

Name of mixin headingFont should be written in all lowercase letters with hyphens instead of underscores
Open

    @include headingFont;

Each selector in a comma sequence should be on its own single line
Open

    span, span > a {

Selector distributor_address should be written in lowercase with hyphens
Open

.already-ordered .panel, #distributor_address.panel {

Begin pseudo elements with double colons: ::
Open

    &:before {

Selector ofn-i_051-check-big should be written in lowercase with hyphens
Open

    i.ofn-i_051-check-big:before {

Rule declaration should be followed by an empty line
Open

      }

Property margin-left already defined on line 169
Open

    margin-left: 10px;

Begin pseudo elements with double colons: ::
Open

      &:after {

Merge rule .summary-right with rule on line 343
Open

.summary-right {

Avoid qualifying attribute selectors with an element.
Open

    input[type=checkbox] + label {

Selector ofn-i_051-check-big should be written in lowercase with hyphens
Open

    i.ofn-i_051-check-big {

Rule declaration should be preceded by an empty line
Open

    &:last-child > .checkout-input {

Line should be indented 4 spaces, but was indented 6 spaces
Open

      label {

Each selector in a comma sequence should be on its own single line
Open

  .medium-6, .medium-10 {

Name of mixin headingFont should be written in all lowercase letters with hyphens instead of underscores
Open

    @include headingFont;

Color white should be written in hexadecimal form as #ffffff
Open

      background: white;

Begin pseudo elements with double colons: ::
Open

    &:after {

Colon after property should be followed by one space
Open

      padding:0;

Color literals like #DDD should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

    border-top: 1px solid #DDD;

Selector should have depth of applicability no greater than 3, but was 5
Open

      .checkout-input {

Each selector in a comma sequence should be on its own single line
Open

    &.medium-6, &.medium-10 {

Avoid using id selectors
Open

.already-ordered .panel, #distributor_address.panel {

Begin pseudo elements with double colons: ::
Open

    &:after {

Selector formError should be written in lowercase with hyphens
Open

  .checkout-input span.formError, div.error.card-errors {

Color literals like rgba(193, 18, 43, 0.1) should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

    background-color: rgba(193, 18, 43, 0.1);

0px should be written without units as 0
Open

      grid-row-gap: 0px;

Begin pseudo elements with double colons: ::
Open

    i.ofn-i_051-check-big:before {

Color literals like #cccccc should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

      border: 1px solid #cccccc;

Color literals like rgba(0, 0, 0, 0.1) should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

      box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);

Avoid qualifying class selectors with an element.
Open

  div.error.card-errors {

Line contains trailing whitespace
Open

    

Color literals like #DDD should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

      border-right: 1px solid #DDD;

border-right: 0 is preferred over border-right: none
Open

    border-right: none;

Line contains trailing whitespace
Open

    

Avoid qualifying class selectors with an element.
Open

    span.checkout-tab-number {

Begin pseudo elements with double colons: ::
Open

      &:after {

Line contains trailing whitespace
Open

   

Color literals like #DDD should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

      border-right: 1px solid #DDD;

Color literals like rgba(0, 0, 0, 0.2) should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

        text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);

Rule declaration should be followed by an empty line
Open

  }

Line contains trailing whitespace
Open

    }  

Color literals like #DDD should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

      box-shadow: 0 -4px 10px #DDD;

Each selector in a comma sequence should be on its own single line
Open

    span, span > a {

Line contains trailing whitespace
Open

    

Each selector in a comma sequence should be on its own single line
Open

.already-ordered .panel, #distributor_address.panel {

Line contains trailing whitespace
Open

      } 

Color literals like white should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

      background: white;

Avoid qualifying class selectors with an element.
Open

  em.fees {

Rule declaration should be followed by an empty line
Open

    }

Line contains trailing whitespace
Open

    }  

Selector should have depth of applicability no greater than 3, but was 4
Open

    .summary-right-line.total {

Rule declaration should be followed by an empty line
Open

    }

Color #DDD should be written as #ddd
Open

      border-right: 1px solid #DDD;

Avoid using id selectors
Open

#line-items {

Unknown property gap
Open

  gap: 1rem;

Declaration should be terminated by a semicolon
Open

      background-color: $teal-400

Selector should have depth of applicability no greater than 3, but was 4
Open

      span {

Line contains trailing whitespace
Open

  

Line contains trailing whitespace
Open

  

Line contains trailing whitespace
Open

  }  

Color white should be written in hexadecimal form as #ffffff
Open

        background-color: white;

Selector should have depth of applicability no greater than 3, but was 4
Open

    .checkout-submit {

Selector should have depth of applicability no greater than 3, but was 4
Open

    > :nth-child(2) {

@media declaration should be followed by an empty line
Open

}

Line contains trailing whitespace
Open

  } 

Selector should have depth of applicability no greater than 3, but was 4
Open

      input {

Merge rule .checkout-summary with rule on line 262
Open

.checkout-summary {

Line contains trailing whitespace
Open

    

Selector should have depth of applicability no greater than 3, but was 4
Open

      .voucher {

Name of mixin headingFont should be written in all lowercase letters with hyphens instead of underscores
Open

    @include headingFont;

border-right: 0 is preferred over border-right: none
Open

    border-right: none;

Rule declaration should be preceded by an empty line
Open

      &:hover {

Unknown property gap
Open

      gap: 1rem;

Color #DDD should be written as #ddd
Open

    border-top: 1px solid #DDD;

Each selector in a comma sequence should be on its own single line
Open

    span, span > a {

Rule declaration should be followed by an empty line
Open

    }

There are no issues that match your filters.

Category
Status