openfoodfoundation/openfoodnetwork

View on GitHub

Showing 5,271 of 5,271 total issues

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

  background-color: #ff9848;

Avoid qualifying class selectors with an element.
Open

  tr.closed td {

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

      td {

Avoid using id selectors
Open

      #available-order-cycles,

Use // comments everywhere
Open

/* makes the font 33% larger relative to the icon container */

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

  border: solid 1px #eeeeee;

Rule declaration should be followed by an empty line
Open

    }

Selector enterprise_status_panel should be written in lowercase with hyphens
Open

.enterprise_status_panel {

0px should be written without units as 0
Open

    margin: 30px 0px;

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

  color: white;

Opening curly brace { should be preceded by one space
Open

  @if $ms     {     -ms-#{$property}: $value; }

Commas in function arguments should be followed by one space
Open

$color-action-void-bg:           very-light($color-error,   10 ) !default;

Commas in lists should be followed by one space
Open

$states:                      completed,                 complete,                 sold,                 pending,                 awaiting_return,                 returned,                 credit_owed,                 paid,                 shipped,                 balance_due,                 backorder,                 checkout,                 cart,                 address,                 delivery,                 payment,                 confirmation,                 canceled,                 ready,                 void,                 requires_authorization,                 active,                 inactive  !default;

Name of variable color-ste-balance_due-bg should be written in all lowercase letters with hyphens instead of underscores
Open

$states-bg-colors:            $color-ste-completed-bg,   $color-ste-complete-bg,   $color-ste-sold-bg,   $color-ste-pending-bg,   $color-ste-awaiting_return-bg,   $color-ste-returned-bg,   $color-ste-credit_owed-bg,   $color-ste-paid-bg,   $color-ste-shipped-bg,   $color-ste-balance_due-bg,   $color-ste-backorder-bg,   $color-ste-checkout-bg,   $color-ste-cart-bg,   $color-ste-address-bg,   $color-ste-delivery-bg,   $color-ste-payment-bg,   $color-ste-confirmation-bg,   $color-ste-canceled-bg,   $color-ste-ready-bg,   $color-ste-void-bg,   $color-ste-requires_authorization-bg,   $color-ste-active-bg,   $color-ste-inactive-bg  !default;

Name of variable color-ste-balance_due-text should be written in all lowercase letters with hyphens instead of underscores
Open

$states-text-colors:          $color-ste-completed-text, $color-ste-complete-text, $color-ste-sold-text, $color-ste-pending-text, $color-ste-awaiting_return-text, $color-ste-returned-text, $color-ste-credit_owed-text, $color-ste-paid-text, $color-ste-shipped-text, $color-ste-balance_due-text, $color-ste-backorder-text, $color-ste-checkout-text, $color-ste-cart-text, $color-ste-address-text, $color-ste-delivery-text, $color-ste-payment-text, $color-ste-confirmation-text, $color-ste-canceled-text, $color-ste-ready-text, $color-ste-void-text, $color-ste-requires_authorization-text, $color-ste-active-text, $color-ste-inactive-text !default;

Avoid qualifying class selectors with an element.
Open

  tr.panel-row {

Rule declaration should be followed by an empty line
Open

        }

Avoid qualifying class selectors with an element.
Open

tbody.panel-ctrl {

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

        color: #ff9848;

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

        color: #1b3c56;
Severity
Category
Status
Source
Language