3scale/porta

View on GitHub
app/assets/stylesheets/provider/_buttons.scss

Summary

Maintainability
Test Coverage

1/2 should be written with a single space on each side of the operator: 1 / 2
Open

  padding: line-height-times(1/3) line-height-times(1/2) !important;

Line should be indented 4 spaces, but was indented 5 spaces
Open

     height: line-height-times(1.5);

Shorthand form for property margin should be written more concisely as line-height-times(1 / 2) 0 0 instead of line-height-times(1 / 2) 0 0 0
Open

      margin: line-height-times(1/2) 0 0 0;

Expected item on line 42 to appear before line 41. Rule sets should be ordered as follows: @extends, @includes without @content, properties, @includes with @content, nested rule sets
Open

  @include internal-potato-button($important-button-color, $important-button-bg-color, $important-button-border-color);

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

  .button.cancel, a.cancel {

Unnecessary parent selector (&)
Open

      & > ol > li {

Properties should be ordered margin, padding, position, right, width
Open

      position: absolute;

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

      padding: 0 0 0 0;

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

  @include internal-potato-button(white, $delete-color, $delete-color );

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

  button, input[type='submit'] {

Shorthand form for property margin should be written more concisely as line-height-times(1 / 2) 0 0 instead of line-height-times(1 / 2) 0 0 0
Open

      margin: line-height-times(1/2) 0 0 0;

!important should not be used
Open

  text-align: center !important;

Properties should be ordered left, margin, padding, position, text-align
Open

      position: absolute;

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

  .button.next, a.next {

Properties should be ordered background-color, color
Open

    color: $bgcolor;

1/3 should be written with a single space on each side of the operator: 1 / 3
Open

        margin-right: line-height-times(1/3);

5/4 should be written with a single space on each side of the operator: 5 / 4
Open

  height: line-height-times(5/4);

!important should not be used
Open

  padding: line-height-times(1/4) line-height-times(1/3) !important;

!important should not be used
Open

  width: auto !important;

Unnecessary parent selector (&)
Open

  & > fieldset {

Unnecessary parent selector (&)
Open

      & > ol > li {

1/3 should be written with a single space on each side of the operator: 1 / 3
Open

  padding: line-height-times(1/4) line-height-times(1/3) !important;

Properties should be ordered height, padding
Open

  padding: line-height-times(1/4) line-height-times(1/3) !important;

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

table .important-button, .important-button, .formtastic .important-button {

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

.dangerous-button, .formtastic .dangerous-button {

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

      padding: 0 0 0 0;

!important should not be used
Open

      text-align: left !important;

Unnecessary parent selector (&)
Open

    & > ol > li { display: inline-block; }

!important should not be used
Open

  padding: line-height-times(1/4) line-height-times(1/3) !important;

5/4 should be written with a single space on each side of the operator: 5 / 4
Open

  height: line-height-times(5/4);

1/4 should be written with a single space on each side of the operator: 1 / 4
Open

  padding: line-height-times(1/4) line-height-times(1/3) !important;

1/3 should be written with a single space on each side of the operator: 1 / 3
Open

  padding: line-height-times(1/3) line-height-times(1/2) !important;

1/2 should be written with a single space on each side of the operator: 1 / 2
Open

      margin: line-height-times(1/2) 0 0 0;

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

      & > ol > li {

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

      & > ol > li {

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

    & > ol > li { display: inline-block; }

1/3 should be written with a single space on each side of the operator: 1 / 3
Open

  padding: line-height-times(1/4) line-height-times(1/3) !important;

Expected 0 spaces before ) instead of
Open

  @include internal-potato-button(white, $delete-color, $delete-color );

1/4 should be written with a single space on each side of the operator: 1 / 4
Open

  padding: line-height-times(1/4) line-height-times(1/3) !important;

!important should not be used
Open

  padding: line-height-times(1/4) line-height-times(1/3) !important;

5/4 should be written with a single space on each side of the operator: 5 / 4
Open

  height: line-height-times(5/4);

!important should not be used
Open

  padding: line-height-times(1/3) line-height-times(1/2) !important;

1/2 should be written with a single space on each side of the operator: 1 / 2
Open

      margin: line-height-times(1/2) 0 0 0;

1/4 should be written with a single space on each side of the operator: 1 / 4
Open

  padding: line-height-times(1/4) line-height-times(1/3) !important;

Properties should be ordered height, padding
Open

  padding: line-height-times(1/4) line-height-times(1/3) !important;

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

table .important-button, .important-button, .formtastic .important-button {

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

table .disabled-button, .disabled-button {

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

form.formtastic .button-bar, .button-bar {

3/2 should be written with a single space on each side of the operator: 3 / 2
Open

  height: line-height-times(3/2);

1/3 should be written with a single space on each side of the operator: 1 / 3
Open

  padding: line-height-times(1/4) line-height-times(1/3) !important;

1/3 should be written with a single space on each side of the operator: 1 / 3
Open

  padding: line-height-times(1/3) line-height-times(1/2);

Properties should be ordered border-color, color
Open

    color: $link-color;

Properties should be ordered height, padding
Open

  padding: line-height-times(1/4) line-height-times(1/3) !important;

1/3 should be written with a single space on each side of the operator: 1 / 3
Open

        margin-left: line-height-times(1/3);

1/2 should be written with a single space on each side of the operator: 1 / 2
Open

  padding: line-height-times(1/3) line-height-times(1/2);

There are no issues that match your filters.

Category
Status