openfoodfoundation/openfoodnetwork

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

Summary

Maintainability
Test Coverage

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

    color: white;

Rule declaration should be followed by an empty line
Open

    }

Files should end with a trailing newline
Open

}

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

  #details, #billing, #shipping, #payment {

Avoid qualifying class selectors with an element.
Open

    label, label.alert, label.success, &.valid label.alert, &.dirty label.success {

Merge rule dd with rule on line 84
Open

  dd {

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

  background-color: #e1f0f5;

Avoid qualifying class selectors with an element.
Open

  h5.valid, h5.dirty.valid {

Merge rule orderdetails table tr th with rule on line 19
Open

  orderdetails table tr th {

Avoid qualifying class selectors with an element.
Open

      span.accordion-up {

Avoid qualifying class selectors with an element.
Open

      span.accordion-down {

Avoid using id selectors
Open

  #details, #billing, #shipping, #payment {

Avoid qualifying class selectors with an element.
Open

    label, label.alert, label.success, &.valid label.alert, &.dirty label.success {

Avoid qualifying class selectors with an element.
Open

    &.dirty.valid label.alert {

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

  orderdetails table tr th {

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

  #details, #billing, #shipping, #payment {

Avoid qualifying class selectors with an element.
Open

  h5.valid, h5.dirty.valid {

Avoid using id selectors
Open

  #details, #billing, #shipping, #payment {

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

    label, label.alert, label.success, &.valid label.alert, &.dirty label.success {

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

  h5.valid, h5.dirty.valid {

Avoid qualifying class selectors with an element.
Open

    span.accordion-up {

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

  #details, #billing, #shipping, #payment {

Avoid using id selectors
Open

  #details, #billing, #shipping, #payment {

Avoid qualifying class selectors with an element.
Open

    &.dirty label.alert {

Rule declaration should be followed by an empty line
Open

    }

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

    background: #f7ccc5;

Avoid using id selectors
Open

  #details, #billing, #shipping, #payment {

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

    label, label.alert, label.success, &.valid label.alert, &.dirty label.success {

Rule declaration should be followed by an empty line
Open

    }

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

    .button, table {

Avoid qualifying class selectors with an element.
Open

    &.valid label.success {

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

  color: black;

Merge rule h5.dirty with rule on line 40
Open

  h5.dirty {

Avoid qualifying class selectors with an element.
Open

  h5.dirty {

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

    background: #bfefd1;

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

      border: 1px solid #efefef;

Rule declaration should be followed by an empty line
Open

      }

Rule declaration should be preceded by an empty line
Open

    .content {

Avoid qualifying class selectors with an element.
Open

    label, label.alert, label.success, &.valid label.alert, &.dirty label.success {

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

    label, label.alert, label.success, &.valid label.alert, &.dirty label.success {

Avoid qualifying class selectors with an element.
Open

    span.accordion-down {

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

  color: #f40f0f;

Avoid qualifying class selectors with an element.
Open

      form.edit_order {

Selector edit_order should be written in lowercase with hyphens
Open

      form.edit_order {

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

    label, label.alert, label.success, &.valid label.alert, &.dirty label.success {

Color black should be written in hexadecimal form as #000000
Open

  color: black;

border: 0 is preferred over border: none
Open

  border: none;

Avoid qualifying class selectors with an element.
Open

    label, label.alert, label.success, &.valid label.alert, &.dirty label.success {

Rule declaration should be followed by an empty line
Open

    }

Rule declaration should be followed by an empty line
Open

    }

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

    color: white;

There are no issues that match your filters.

Category
Status