MidnightRiders/MemberPortal

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

Summary

Maintainability
Test Coverage

Shorthand form for property border-color should be written more concisely as $pip-color transparent transparent instead of $pip-color transparent transparent transparent
Open

    &::after { border-color: $pip-color transparent transparent transparent; }

Prefer single quoted strings
Open

@include exports("dropdown-button") {

Rule declaration should be preceded by an empty line
Open

    &::after {

Rule declaration should be followed by an empty line
Open

      &.small { @include dropdown-button(small, $base-style:false); }

Begin pseudo elements with double colons: ::
Open

      &.secondary:after { border-color: $dropdown-button-pip-color-alt transparent transparent transparent; }

Rule declaration should be followed by an empty line
Open

      &.tiny { @include dropdown-button(tiny, $base-style:false); }

Begin pseudo elements with double colons: ::
Open

    &:after {

Rule declaration should be preceded by an empty line
Open

    &::after {

Property 'border-color' should be placed on separate line from selector
Open

    &::after { border-color: $pip-color transparent transparent transparent; }

Rule declaration should be followed by an empty line
Open

      &.large { @include dropdown-button(large, $base-style:false); }

Shorthand form for property border-color should be written more concisely as $dropdown-button-pip-color-alt transparent transparent instead of $dropdown-button-pip-color-alt transparent transparent transparent
Open

      &.secondary:after { border-color: $dropdown-button-pip-color-alt transparent transparent transparent; }

Prefer single quoted strings
Open

      content: "";

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

    .dropdown.button, button.dropdown { @include dropdown-button;

Rule declaration should be preceded by an empty line
Open

    &:after {

Rule declaration should be preceded by an empty line
Open

    &::after {

Property 'border-color' should be placed on separate line from selector
Open

      &.secondary:after { border-color: $dropdown-button-pip-color-alt transparent transparent transparent; }

Shorthand form for property border-color should be written more concisely as $dropdown-button-pip-color transparent transparent instead of $dropdown-button-pip-color transparent transparent transparent
Open

      border-color: $dropdown-button-pip-color transparent transparent transparent;

There are no issues that match your filters.

Category
Status