openfoodfoundation/openfoodnetwork

View on GitHub
app/webpacker/css/admin/components/jquery_dialog.scss

Summary

Maintainability
Test Coverage

Merge rule .ui-dialog .ui-state-hover with rule on line 6
Open

.ui-dialog .ui-state-hover {

Empty rule
Open

  &.ui-dialog-titlebar-close {

Shorthand form for property padding should be written more concisely as 0px 5px instead of 0px 5px 0px 5px
Open

  padding: 0px 5px 0px 5px;

0px should be written without units as 0
Open

  padding: 0px;

border: 0 is preferred over border: none
Open

  border: none;

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

  .ui-icon {

Color #ffffff should be written as #fff
Open

  background-color: #ffffff;

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

  background-color: #ffffff;

0px should be written without units as 0
Open

  border: 0px;

Use // comments everywhere
Open

  /* For IE 5.5 - 7 */

0px should be written without units as 0
Open

  padding: 0px 5px 0px 5px;

Merge rule .ui-dialog .ui-widget-header with rule on line 6
Open

.ui-dialog .ui-widget-header {

border: 0 is preferred over border: none
Open

  border: none;

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

  box-shadow: 3px 3px 4px #797979;

Color #ffffff should be written as #fff
Open

  background-color: #ffffff;

Color #000000 should be written as #000
Open

    color: #000000;

0px should be written without units as 0
Open

  border: 0px solid #4a4a4a;

0px should be written without units as 0
Open

  padding: 0px 5px 0px 5px;

Color #000000 should be written as #000
Open

  background: #000000;

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

  border: 0px solid #4a4a4a;

0px should be written without units as 0
Open

  padding: 0px 50px 30px 50px;

Shorthand form for property padding should be written more concisely as 0px 50px 30px instead of 0px 50px 30px 50px
Open

  padding: 0px 50px 30px 50px;

Merge rule .ui-dialog .ui-corner-all with rule on line 6
Open

.ui-dialog .ui-corner-all {

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

  background-color: #ffffff;

0px should be written without units as 0
Open

  top: 0px;

Use // comments everywhere
Open

/**

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

  -moz-box-shadow: 3px 3px 4px #797979;

Merge rule .ui-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close with rule on line 6
Open

.ui-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close {

Begin pseudo elements with double colons: ::
Open

  &:before {

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

  .ui-button-text {

Rule declaration should be followed by an empty line
Open

}

Use // comments everywhere
Open

  /* For IE 8 */

Merge rule .ui-dialog .ui-widget-content with rule on line 6
Open

.ui-dialog .ui-widget-content {

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

  -webkit-box-shadow: 3px 3px 4px #797979;

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

    color: #000000;

Begin pseudo elements with double colons: ::
Open

    &:before {

0px should be written without units as 0
Open

  left: 0px;

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

  background: #000000;

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

    &.ui-icon-closethick {

There are no issues that match your filters.

Category
Status