openfoodfoundation/openfoodnetwork

View on GitHub
app/webpacker/css/admin/components/stripe_connect_button.scss

Summary

Maintainability
Test Coverage

Color literals like #015e94 should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

  background-image: linear-gradient(#28a0e5, #015e94);

Rule declaration should be preceded by an empty line
Open

    &:before {

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

  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);

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

    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);

Begin pseudo elements with double colons: ::
Open

  &.blue span:before {

Color white should be written in hexadecimal form as #ffffff
Open

    color: white;

Color literals like #eee should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

      color: #eee;

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

      box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1);

Empty rule
Open

      &:before {

Rule declaration should be followed by an empty line
Open

  }

Rule declaration should be followed by an empty line
Open

    }

Color literals like #28a0e5 should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

  background-image: linear-gradient(#28a0e5, #015e94);

Color literals like #008cdd should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

    background-image: linear-gradient(#7dc5ee, #008cdd 85%, #30a2e4);

Begin pseudo elements with double colons: ::
Open

    &:before {

Begin pseudo elements with double colons: ::
Open

    &.light-blue span:before {

Rule declaration should be followed by an empty line
Open

  }

Begin pseudo elements with double colons: ::
Open

  &.light-blue span:before {

Color literals like #1275ff should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

    background: #1275ff;

Begin pseudo elements with double colons: ::
Open

      &:before {

Color literals like #30a2e4 should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

    background-image: linear-gradient(#7dc5ee, #008cdd 85%, #30a2e4);

Color literals like white should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

    color: white;

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

    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);

Color literals like #005d93 should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

    background: #005d93;

Color literals like #008cdd should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

      background-image: linear-gradient(#008cdd, #008cdd 85%, #239adf);

Color literals like #239adf should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

      background-image: linear-gradient(#008cdd, #008cdd 85%, #239adf);

Rule declaration should be followed by an empty line
Open

}

Begin pseudo elements with double colons: ::
Open

    &.blue span:before {

Rule declaration should be preceded by an empty line
Open

  span {

Rule declaration should be followed by an empty line
Open

  }

Rule declaration should be followed by an empty line
Open

    }

Avoid qualifying class selectors with an element.
Open

a.stripe-connect {

Color literals like #7dc5ee should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

    background-image: linear-gradient(#7dc5ee, #008cdd 85%, #30a2e4);

Rule declaration should be preceded by an empty line
Open

    span {

Color literals like #008cdd should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

      background-image: linear-gradient(#008cdd, #008cdd 85%, #239adf);

Rule declaration should be preceded by an empty line
Open

      &:before {

Color literals like #008cdd should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

      background: #008cdd;

Begin pseudo elements with double colons: ::
Open

    span:before {

There are no issues that match your filters.

Category
Status