MidnightRiders/MemberPortal

View on GitHub
app/assets/stylesheets/vendor/foundation/components/_dropdown.scss

Summary

Maintainability
Test Coverage

Property 'margin-bottom' should be placed on separate line from selector
Open

  > *:last-child { margin-bottom: 0; }

0px should be written without units as 0
Open

    @if $f-dropdown-triangle-size != 0px {

Rule declaration should be followed by an empty line
Open

      &.tiny    { max-width: 200px; }

Begin pseudo elements with double colons: ::
Open

    &:before {

Opening curly brace { should be preceded by one space
Open

      &.tiny    { max-width: 200px; }

Rule declaration should be followed by an empty line
Open

      }

Begin pseudo elements with double colons: ::
Open

      &:after {

Begin pseudo elements with double colons: ::
Open

    &:before {

Begin pseudo elements with double colons: ::
Open

    &:after {

Prefer single quoted strings
Open

@include exports("dropdown") {

Rule declaration should be followed by an empty line
Open

    }

@else should be placed on same line as previous curly brace
Open

  @else { max-width: $f-dropdown-max-width; }

Begin pseudo elements with double colons: ::
Open

      &.right:before {

Begin pseudo elements with double colons: ::
Open

    &:after {

Opening curly brace { should be preceded by one space
Open

      &.large   { max-width: 800px; }

Colon after property should be followed by one space
Open

          left:0!important;

Rule declaration should be followed by an empty line
Open

      }

Properties should be ordered color, display, padding
Open

    display: block;

Rule declaration should be followed by an empty line
Open

  > *:first-child { margin-top: 0; }

@else should be placed on same line as previous curly brace
Open

  @else if $content == content {

Begin pseudo elements with double colons: ::
Open

    &:before {

Property 'max-width' should be placed on separate line from selector
Open

      &.tiny    { max-width: 200px; }

Rule declaration should be followed by an empty line
Open

    }

Use // comments everywhere
Open

    /* Foundation Dropdowns */

Opening curly brace { should be preceded by one space
Open

      &.small   { max-width: 300px; }

Property 'max-width' should be placed on separate line from selector
Open

      &.small   { max-width: 300px; }

Opening curly brace { should be preceded by one space
Open

      &.medium  { max-width: 500px; }

Property 'margin-top' should be placed on separate line from selector
Open

  > *:first-child { margin-top: 0; }

Rule declaration should be followed by an empty line
Open

    }

Rule declaration should be followed by an empty line
Open

      &.large   { max-width: 800px; }

Opening curly brace { should be preceded by one space
Open

      &.mega    {

Colon after property should be followed by one space
Open

        width:100%!important;

! should be preceded by a space, and should not be followed by a space
Open

        max-width:100%!important;

Begin pseudo elements with double colons: ::
Open

      &:before {

Begin pseudo elements with double colons: ::
Open

      &.right:after {

Begin pseudo elements with double colons: ::
Open

    &:after {

Property 'background' should be placed on separate line from selector
Open

  &:focus { background: $f-dropdown-list-hover-bg; }

Rule declaration should be followed by an empty line
Open

      &.small   { max-width: 300px; }

! should be preceded by a space, and should not be followed by a space
Open

        width:100%!important;

Rule declaration should be followed by an empty line
Open

      &.medium  { max-width: 500px; }

Opening curly brace { should be preceded by one space
Open

        &.open{

Property 'max-width' should be placed on separate line from selector
Open

      &.medium  { max-width: 500px; }

Properties should be ordered max-width, width
Open

        width:100%!important;

Colon after property should be followed by one space
Open

        max-width:100%!important;

Property 'max-width' should be placed on separate line from selector
Open

      &.large   { max-width: 800px; }

! should be preceded by a space, and should not be followed by a space
Open

          left:0!important;

There are no issues that match your filters.

Category
Status