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

      background-color: #ffffff;

Avoid using id selectors
Open

#logo {

Rule declaration should be followed by an empty line
Open

  }

Color #ffffff should be written as #fff
Open

      background-color: #ffffff;

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

  b {

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

      .icon-edit:hover, .icon-capture:hover, .icon-capture_and_complete_order:hover, .icon-ok:hover, .icon-plus:hover, .icon-road:hover {

Begin pseudo elements with double colons: ::
Open

          &:before {

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; }

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

      .select2-search-choice-close {

Rule declaration should be preceded by an empty line
Open

      &:hover,

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

strong, b {

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

    span {

Avoid qualifying class selectors with an element.
Open

.select2-results li.select2-highlighted .select2-result-label,

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

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

@media 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 [class^="icon-"], :before;

0px should be written without units as 0
Open

    border-width: 0px 1px 0px 1px;

Begin pseudo elements with double colons: ::
Open

  dd:after {

0px should be written without units as 0
Open

        border-width: 0px 3px 0px 3px;

Rule declaration should be followed by an empty line
Open

      }
Severity
Category
Status
Source
Language