openfoodfoundation/openfoodnetwork

View on GitHub
app/webpacker/css/admin/shared/forms.scss

Summary

Maintainability
Test Coverage

Avoid qualifying attribute selectors with an element.
Open

    input[type="checkbox"] {

Shorthand form for property padding should be written more concisely as 10px 0 15px instead of 10px 0 15px 0
Open

  padding: 10px 0 15px 0;

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

    border-top: none;

Rule declaration should be followed by an empty line
Open

      }

Selector formError should be written in lowercase with hyphens
Open

  .formError {

Rule declaration should be followed by an empty line
Open

  }

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

  border-right: none;

Avoid qualifying class selectors with an element.
Open

    button,

Avoid qualifying attribute selectors with an element.
Open

    button,

Rule declaration should be followed by an empty line
Open

      }

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

      label {

Avoid qualifying class selectors with an element.
Open

    span.or {

Avoid qualifying class selectors with an element.
Open

span.info {

Selector field_with_errors should be written in lowercase with hyphens
Open

  .field_with_errors {

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

    border-bottom: none;

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

  background-color: white;

Avoid qualifying attribute selectors with an element.
Open

    button,

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

  background-color: white;

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

  border-left: none;

Rule declaration should be followed by an empty line
Open

    }

Avoid comma sequences in @extend directives; prefer single placeholder selectors (e.g. %some-placeholder)
Open

  @extend input, [type="text"];

There are no issues that match your filters.

Category
Status