3scale/porta

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

Summary

Maintainability
Test Coverage

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

$border-width-sm:              0.5 * $border-width;

Colon after property should be followed by one space
Open

  color:                      $color-base;

Property box-sizing already defined on line 108
Open

  box-sizing: border-box;

Line should be indented with spaces, not tabs
Open

    & {

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

$font-size-lg:               $font-size-base * (5/4);

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

$font-size-sm:               $font-size-base * (7/8);

Colon after property should be followed by one space
Open

  background-color:           $background-color-base;

0.04 should be written without a leading zero as .04
Open

  background-image: linear-gradient(rgba(black, 0.04) 1px, transparent 1px);

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

  @else {

Begin pseudo elements with double colons: ::
Open

  *, *:before, *:after {

$line-height-base *1rem should be written with a single space on each side of the operator: $line-height-base * 1rem
Open

  $spacer: $line-height-base *1rem * $multiplier;

Unnecessary parent selector (&)
Open

    & {

Color literals like rgba(black, 0.04) should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

  background-image: linear-gradient(rgba(black, 0.04) 1px, transparent 1px);

Begin pseudo elements with double colons: ::
Open

  *, *:before, *:after {

2.0 should be written without the mantissa as 2
Open

$border-width-lg:              2.0 * $border-width;

Colon after property should be followed by one space
Open

  color:                      $background-color-base;

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

  *, *:before, *:after {

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

  @else {

Colon after property should be followed by one space
Open

  font-weight:                $font-weight-base;

$font-size-base * 5/4 should be written with a single space on each side of the operator: $font-size-base * 5 / 4
Open

$font-size-lg:               ($font-size-base * 5/4);

1.0 should be written without the mantissa as 1
Open

$border-width-base:            1.0 * $border-width;

Colon after property should be followed by one space
Open

  background-color:           $color-base;

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

$border-radius-sm:               line-height-times(1/8);

$font-size-base * 7/8 should be written with a single space on each side of the operator: $font-size-base * 7 / 8
Open

$font-size-sm:               ($font-size-base * 7/8);

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

$line-height-base:            3/3 * $lineHeight;

Colon after property should be followed by one space
Open

  line-height:                $line-height-base;

Line should be indented with spaces, not tabs
Open

    @include fluid-type(font-size, $minScreen, $maxScreen, $minFont, $maxFont);

!important should not be used
Open

    background-color: transparent !important;

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

  *, *:before, *:after {

Line should be indented with spaces, not tabs
Open

    @return $value / ($value * 0 + 1);

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

$caption-font-size:          (7/8) * $fontSize;

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

$line-height-sm:              2/3 * $lineHeight;

Colon after property should be followed by one space
Open

  font-family:                 $font-family-base;

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

$line-height-lg:              4/3 * $lineHeight;

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

$border-radius:                  line-height-times(1/8);

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

$sub-title-font-size:        (5/4) * $fontSize;

$line-height-base*1rem should be written with a single space on each side of the operator: $line-height-base * 1rem
Open

  background-size: 1px $line-height-base*1rem;

There are no issues that match your filters.

Category
Status