openfoodfoundation/openfoodnetwork

View on GitHub

Showing 5,271 of 5,271 total issues

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

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

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

      .active_table_row {

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

      &.is_distributor, &.is_distributor i.ofn-i_059-producer, &.is_distributor i.ofn-i_060-producer-reversed {

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

          .hub-name, .button-address {

Selector active_table_row should be written in lowercase with hyphens
Open

      .active_table_row:first-child {

Avoid qualifying class selectors with an element.
Open

  a.button.primary {

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

      background-color: #FFFFFF;

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

    @include big-input(#888, #333, $clr-brick);

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

      color: white;

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

      border-left: 1px solid #ddd;

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

  ul li.ofn-logo > a {

Avoid qualifying class selectors with an element.
Open

  body.off-canvas {

Name of mixin sidepaddingSm should be written in all lowercase letters with hyphens instead of underscores
Open

@mixin sidepaddingSm {

Name of variable border-radius-BR should be written in all lowercase letters with hyphens instead of underscores
Open

  -webkit-border-radius: $border-radius-TL $border-radius-TR $border-radius-BR $border-radius-BL;

@else should be placed on same line as previous curly brace
Open

  @else if $point == tablet {

@else should be placed on same line as previous curly brace
Open

  @else if $point == phablet {

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

  .enterprise-logo, img {

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

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

Color literals like rgba(205, 205, 205, 1) should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

    background-color: rgba(205, 205, 205, 1);

Unnecessary parent selector (&)
Open

      &, & * {
Severity
Category
Status
Source
Language