openfoodfoundation/openfoodnetwork

View on GitHub

Showing 5,271 of 5,271 total issues

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

      color: #ffffff;

Avoid qualifying class selectors with an element.
Open

    i.fa-check-circle {

Avoid qualifying class selectors with an element.
Open

    a.alpha,

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

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, p, blockquote, th, td { margin: 0; padding: 0; font-size: $body-font-size; }

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

  background-color: #e9f3fc;

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

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, p, blockquote, th, td { margin: 0; padding: 0; font-size: $body-font-size; }

Merge rule i.fa-check-circle with rule on line 170
Open

    i.fa-check-circle {

Selector no_tags should be written in lowercase with hyphens
Open

.no_tags {

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

  &, &:hover, &:active, &:visited, &:focus {

Shorthand form for property margin should be written more concisely as 0px instead of 0px 0px 0px 0px
Open

      margin: 0px 0px 0px 0px;

Avoid qualifying class selectors with an element.
Open

form.product-import,

Use // comments everywhere
Open

  /* Reserve space for the save bar to avoid hidden menu items. */

border: 0 is preferred over border: none
Open

          border: none;

Avoid qualifying class selectors with an element.
Open

  tr.product {

Color #ffffff should be written as #fff
Open

      color: #ffffff;

Avoid qualifying class selectors with an element.
Open

  tr.variant.odd {

0px should be written without units as 0
Open

  bottom: 0px;

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

    border: solid 1px red;

Rule declaration should be followed by an empty line
Open

    }

Shorthand form for property border-width should be written more concisely as 0px 3px instead of 0px 3px 0px 3px
Open

        border-width: 0px 3px 0px 3px;
Severity
Category
Status
Source
Language