openfoodfoundation/openfoodnetwork

View on GitHub

Showing 5,538 of 5,538 total issues

Selector connected-app__head should be written in lowercase with hyphens
Open

.connected-app__head {

border: 0 is preferred over border: none
Open

  border: none;

0px should be written without units as 0
Open

    padding: 0px 6px;

0px should be written without units as 0
Open

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

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

          color: #fff;

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

        color: #454545;

0px should be written without units as 0
Open

        padding: 0px 15px 0px 0px;

0px should be written without units as 0
Open

      margin: 10px 0px;

Rule declaration should be followed by an empty line
Open

    }

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

      background-color: #c1c1c1;

Opening curly brace { should be preceded by one space
Open

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

Color #ffffff should be written as #fff
Open

$color-1: #ffffff !default; // White

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

$color-ste-balance_due-bg:       $color-notice !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;

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;

Commas in lists should be followed by one space
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-requires_authorization-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-credit_owed-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;

Commas in lists should be followed by one space
Open

$actions:                        edit,                   clone,                   remove,                   void,                   capture,                   save,                      cancel,                   mail  !default;

Avoid qualifying class selectors with an element.
Open

  input.select2-input {
Severity
Category
Status
Source
Language