openfoodfoundation/openfoodnetwork

View on GitHub
app/webpacker/css/admin/components/buttons.scss

Summary

Maintainability
Test Coverage

Begin pseudo elements with double colons: ::
Open

  &:before {

Avoid qualifying class selectors with an element.
Open

input.red,

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

    color: #fff;

Color #ffffff should be written as #fff
Open

  color: #ffffff;

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

      background-color: #ebf3fb;

0px should be written without units as 0
Open

    padding: 0px 5px;

Begin pseudo elements with double colons: ::
Open

    &:before {

Avoid qualifying class selectors with an element.
Open

input.red,

Avoid qualifying attribute selectors with an element.
Open

input[type="submit"],

Avoid qualifying attribute selectors with an element.
Open

input[type="submit"],

border: 0 is preferred over border: none
Open

  border: none;

Avoid qualifying class selectors with an element.
Open

input.red,

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

  color: #ffffff;

Rule declaration should be followed by an empty line
Open

    }

Avoid qualifying class selectors with an element.
Open

a.button.red {

There are no issues that match your filters.

Category
Status