openfoodfoundation/openfoodnetwork

View on GitHub

Showing 5,260 of 5,260 total issues

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

      color: white;

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

#brand-story.pane, #cta.pane, #shops.pane, #sell.pane {

Color #FFFFFF should be written as #FFF
Open

      background-color: #FFFFFF;

Avoid using id selectors
Open

#cta.pane, #stats.pane {

Begin pseudo elements with double colons: ::
Open

  &:before {

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

    &:active, &:focus, &.active {

Avoid qualifying class selectors with an element.
Open

        a.hub {

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

    a, a * {

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

      color: white;

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

  background-color: white;

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

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

Merge rule .off-canvas-wrap ul.off-canvas-list i with rule on line 210
Open

.off-canvas-wrap ul.off-canvas-list i {

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

    ul li a,

Avoid qualifying class selectors with an element.
Open

    span.hub-name-listing {

Avoid qualifying class selectors with an element.
Open

  a.heading {

Selector active_table_row should be written in lowercase with hyphens
Open

      .active_table_row, .active_table_row:first-child, .active_table_row:last-child {

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

  .enterprise-logo, img {

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

        li.more-producers-link {

Shorthand form for property margin should be written more concisely as 0 0.25rem 0.75rem instead of 0 0.25rem 0.75rem 0.25rem
Open

    margin: 0 0.25rem 0.75rem 0.25rem;

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

        &, & * {
Severity
Category
Status
Source
Language