codeforamerica/ohana-web-search

View on GitHub
app/assets/stylesheets/components/_pagination.scss

Summary

Maintainability
Test Coverage

Opening curly brace { should be preceded by one space
Open

  {

border-bottom: 0 is preferred over border-bottom: none
Open

    border-bottom: none;

Opening curly brace { should be preceded by one space
Open

  {

Properties should be ordered border-bottom, color
Open

      color:$pagination-next-color !important;

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

    background: $pagination-next-hover-bg !important;

0.3 should be written without a leading zero as .3
Open

    @include single-box-shadow(0, 0, 1px, 0, rgba($pagination-border, 0.3), inset);

Nesting should be no greater than 3, but was 4
Open

      a {

Opening curly brace { should be preceded by one space
Open

    {

Properties should be ordered background, color
Open

    color: $pagination-disabled-color;

Opening curly brace { should be preceded by one space
Open

    {

Properties should be ordered border-bottom, color, display, line-height, min-height, min-width, text-decoration
Open

    color: $pagination-color;

Opening curly brace { should be preceded by one space
Open

  {

Properties should be ordered background, color
Open

    color: $pagination-active-color !important;

!important should not be used
Open

    color: $pagination-active-color !important;

!important should not be used
Open

      color:$pagination-next-color !important;

Properties should be ordered background, line-height, min-height, min-width, text-align, vertical-align
Open

    vertical-align: baseline;

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

  @include inline-block();

Avoid qualifying class selectors with an element.
Open

  li.collapsed

Colon after property should be followed by one space
Open

    background:$pagination-next-bg;

Rule declaration should be preceded by an empty line
Open

    a

!important should not be used
Open

      text-decoration: none !important;

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

  > h1,ul,li

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

  > h1,ul,li

Colon after property should be followed by one space
Open

      color:$pagination-next-color !important;

Colon after property should be followed by one space
Open

      cursor:pointer;

Rule declaration should be preceded by an empty line
Open

      a {

Rule declaration should be followed by an empty line
Open

  }

Opening curly brace { should be preceded by one space
Open

{

!important should not be used
Open

    background: $pagination-next-hover-bg !important;

Colon after property should be followed by one space
Open

      border-bottom:none;

Rule declaration should be followed by an empty line
Open

    }

Opening curly brace { should be preceded by one space
Open

  {

Opening curly brace { should be preceded by one space
Open

  {

Opening curly brace { should be preceded by one space
Open

  {

Opening curly brace { should be preceded by one space
Open

    {

!important should not be used
Open

      color: $pagination-next-hover-color !important;

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

    @include type-size(baseline);

Merge rule li.collapsed with rule on line 12
Open

  li.collapsed

border-bottom: 0 is preferred over border-bottom: none
Open

      border-bottom:none;

Opening curly brace { should be preceded by one space
Open

  {

Declaration should be terminated by a semicolon
Open

        color: $pagination-hover-color

Rule declaration should be followed by an empty line
Open

    }

There are no issues that match your filters.

Category
Status