MidnightRiders/MemberPortal

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

Summary

Maintainability
Test Coverage

Line contains trailing whitespace
Open

  $span-border:$split-button-span-border-color, 

Begin pseudo elements with double colons: ::
Open

      &:after {

Rule declaration should be followed by an empty line
Open

      &.small { @include split-button(small, false, false, false); }

Rule declaration should be followed by an empty line
Open

      &.large { @include split-button(large, false, false, false); }

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

        span:before{ border-style:none; }

Rule declaration should be preceded by an empty line
Open

      &:after {

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

  @else if $padding == large {

Colon after property should be followed by one space
Open

        span:after{ border-style:none; }

Line contains trailing whitespace
Open

  $pip-color:$split-button-pip-color, 

Begin pseudo elements with double colons: ::
Open

      &:after {

Rule declaration should be followed by an empty line
Open

      &.secondary { @include split-button(false, $split-button-pip-color, $split-button-span-border-color, false); }

Begin pseudo elements with double colons: ::
Open

        span:after{ border-style:none; }

Commas in function arguments should be followed by one space
Open

$split-button-span-border-color: rgba(255,255,255,0.5) !default;

Begin pseudo elements with double colons: ::
Open

      &:after {

Rule declaration should be preceded by an empty line
Open

      &:after {

Opening curly brace { should be preceded by one space
Open

        span>i{

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

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

0.48889 should be written without a leading zero as .48889
Open

          margin-top: -0.48889em;

Commas in function arguments should be followed by one space
Open

$split-button-active-bg-tint: rgba(0,0,0,0.1) !default;

Begin pseudo elements with double colons: ::
Open

      &:after {

Rule declaration should be followed by an empty line
Open

        span:after{ border-style:none; }

Opening curly brace { should be preceded by one space
Open

        span:after{ border-style:none; }

Properties should be ordered border-style, content, display, height, position, top, width
Open

        position: absolute;

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

  @else if $padding == large {

Rule declaration should be followed by an empty line
Open

      &.alert { @include split-button(false, false, $split-button-span-border-color, false); }

Property 'padding-left' should be placed on separate line from selector
Open

      &.expand { padding-left: 2rem; }

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

  @else if $padding == small {

Rule declaration should be followed by an empty line
Open

      &.tiny { @include split-button(tiny, false, false, false); }

Opening curly brace { should be preceded by one space
Open

      &.no-pip{

0.28889 should be written without a leading zero as .28889
Open

          margin-left: -0.28889em;

Rule declaration should be preceded by an empty line
Open

      &:after {

Begin pseudo elements with double colons: ::
Open

      &:after {

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

  @else if $padding == medium {

Begin pseudo elements with double colons: ::
Open

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

Merge rule &.secondary with rule on line 175
Open

      &.secondary { @include split-button(false, $split-button-pip-color-alt, false, false); }

Rule declaration should be followed by an empty line
Open

      &.radius span { @include side-radius($opposite-direction, $global-radius); }

Commas in function arguments should be followed by one space
Open

$split-button-active-bg-tint: rgba(0,0,0,0.1) !default;

Commas in function arguments should be followed by one space
Open

$split-button-active-bg-tint: rgba(0,0,0,0.1) !default;

Prefer single quoted strings
Open

@include exports("split-button") {

Begin pseudo elements with double colons: ::
Open

        span:before{ border-style:none; }

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

        span:after{ border-style:none; }

Colon after property should be followed by one space
Open

        span:before{ border-style:none; }

Commas in function arguments should be followed by one space
Open

$split-button-span-border-color: rgba(255,255,255,0.5) !default;

Commas in function arguments should be followed by one space
Open

$split-button-span-border-color: rgba(255,255,255,0.5) !default;

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

      &:active { background-color: $split-button-active-bg-tint; }

0.1 should be written without a leading zero as .1
Open

$split-button-active-bg-tint: rgba(0,0,0,0.1) !default;

0.5 should be written without a leading zero as .5
Open

$split-button-span-border-color: rgba(255,255,255,0.5) !default;

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

  @else if $padding == medium {

Rule declaration should be preceded by an empty line
Open

      &:after {

Rule declaration should be followed by an empty line
Open

      &.round span { @include side-radius($opposite-direction, 1000px); }

Rule declaration should be followed by an empty line
Open

        span:before{ border-style:none; }

Opening curly brace { should be preceded by one space
Open

        span:before{ border-style:none; }

Prefer single quoted strings
Open

        content: "";

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

  @else if $padding == large {

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

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

There are no issues that match your filters.

Category
Status