codeforamerica/ohana-web-search

View on GitHub
app/assets/stylesheets/_mixins.scss

Summary

Maintainability
Test Coverage

Prefer single quoted strings
Open

  @if $size == "base-medium" {

Name of variable font_size_105 should be written in all lowercase letters with hyphens instead of underscores
Open

    @include adjust-font-size-to($font_size_105);

Name of variable font_size_130 should be written in all lowercase letters with hyphens instead of underscores
Open

    @include adjust-font-size-to($font_size_130);

Avoid vendor prefixes.
Open

  input::-moz-placeholder {

Avoid qualifying attribute selectors with an element.
Open

    input[type=search]::-ms-clear {

Name of variable font_size_80 should be written in all lowercase letters with hyphens instead of underscores
Open

    @include adjust-font-size-to($font_size_80);

Begin pseudo classes with a single colon: :
Open

  input::input-placeholder {

Avoid vendor prefixes.
Open

  input:-moz-placeholder {

Avoid qualifying attribute selectors with an element.
Open

  input[type=search]::-webkit-search-cancel-button,

Prefer single quoted strings
Open

  @if $corner == "upper-left" {

Prefer single quoted strings
Open

  @if $size == "base-small" {

Name of variable font_size_95 should be written in all lowercase letters with hyphens instead of underscores
Open

    @include adjust-font-size-to($font_size_95);

Prefer single quoted strings
Open

  @if $size == "medium" {

Avoid qualifying attribute selectors with an element.
Open

  input[type=search] {

Name of variable font_size_90 should be written in all lowercase letters with hyphens instead of underscores
Open

    @include adjust-font-size-to($font_size_90);

Avoid qualifying attribute selectors with an element.
Open

  input[type=search]::-webkit-search-cancel-button,

Prefer single quoted strings
Open

  @if $corner == "left" {

Prefer single quoted strings
Open

  @if $corner == "none" {

Prefer single quoted strings
Open

  @if $corner == "right" {

Begin pseudo elements with double colons: ::
Open

  input:-moz-placeholder {

Rule declaration should be followed by an empty line
Open

  }

Name of variable font_size_110 should be written in all lowercase letters with hyphens instead of underscores
Open

    @include adjust-font-size-to($font_size_110);

Property border-bottom already defined on line 143
Open

      border-bottom: 1px solid rgba($black, .4);

Prefer single quoted strings
Open

  @if $size == "tiny" {

Name of variable font_size_100 should be written in all lowercase letters with hyphens instead of underscores
Open

    @include adjust-font-size-to($font_size_100);

Prefer single quoted strings
Open

  @if $size == "large" {

Avoid qualifying attribute selectors with an element.
Open

  input[type=search]::-webkit-search-cancel-button,

Prefer single quoted strings
Open

  @if $corner == "lower-left" {

Name of variable greyscale_light should be written in all lowercase letters with hyphens instead of underscores
Open

      border-bottom: 1px solid $greyscale_light; // IE fallback

Prefer single quoted strings
Open

  @if $corner == "bottom" {

Prefer single quoted strings
Open

  @if $size == "small" {

Properties should be ordered border-bottom, color, cursor, text-decoration
Open

      text-decoration: none;

Name of variable greyscale_midtone should be written in all lowercase letters with hyphens instead of underscores
Open

      color: $greyscale_midtone; // IE fallback

Property color already defined on line 134
Open

      color: rgba($black, .6);

Prefer single quoted strings
Open

  @if $size == "xlarge" {

Avoid qualifying attribute selectors with an element.
Open

  input[type=search]::-webkit-search-cancel-button,

Avoid vendor prefixes.
Open

    -webkit-box-sizing: content-box;

Prefer single quoted strings
Open

  @if $corner == "lower-right" {

Property border-bottom already defined on line 137
Open

      border-bottom: 1px solid $background-color;

Name of variable greyscale_midtone should be written in all lowercase letters with hyphens instead of underscores
Open

      border-bottom: 1px solid $greyscale_midtone; // IE fallback

Prefer single quoted strings
Open

  @if $size == "baseline" {

Name of variable font_size_120 should be written in all lowercase letters with hyphens instead of underscores
Open

    @include adjust-font-size-to($font_size_120);

Prefer single quoted strings
Open

  @if $corner == "top" {

Prefer single quoted strings
Open

  @if $corner == "upper-right" {

Properties should be ordered border-bottom, color
Open

      color: $primary-dark;

There are no issues that match your filters.

Category
Status