betajs/betajs-media-components

View on GitHub
src/themes/video_recorder/minimalist/imagegallery.scss

Summary

Maintainability
Test Coverage

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

  @include border-radius($imagegallery_border_radius);

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

    width: $imagegallery_buttonsize;

Line should be indented 2 spaces, but was indented 4 spaces
Open

    z-index: 10;

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

  @include border-rgba( 2px, 0, 0, 0, .4, #b2b2b2 );

Files should end with a trailing newline
Open

}

Line should be indented 2 spaces, but was indented 4 spaces
Open

    width: $imagegallery_buttonsize;

border: 0 is preferred over border: none
Open

  border: none;

Line should be indented 2 spaces, but was indented 4 spaces
Open

    height: $imagegallery_buttonsize;

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

    height: $imagegallery_buttonsize;

Line should be indented 2 spaces, but was indented 4 spaces
Open

    .#{$css}-imagegallery-container {

Expected item on line 12 to appear before line 11. Rule sets should be ordered as follows: @extends, @includes without @content, properties, @includes with @content, nested rule sets
Open

  @include border-radius($imagegallery_border_radius);

Line should be indented 2 spaces, but was indented 4 spaces
Open

    background-color: #4c4c4c;

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

    background-color: #4c4c4c;

Expected 0 spaces before ) instead of
Open

  @include border-rgba( 2px, 0, 0, 0, .4, #b2b2b2 );

Line should be indented 2 spaces, but was indented 4 spaces
Open

    border-radius: 50%;

Opening curly brace { should be preceded by one space
Open

.#{$css}-imagegallery-image, .#{$cssrecorder}-overlay img  {

Properties should be ordered background-color, border-radius, height, width, z-index
Open

    border-radius: 50%;

Expected 0 spaces after ( instead of
Open

  @include border-rgba( 2px, 0, 0, 0, .4, #b2b2b2 );

There are no issues that match your filters.

Category
Status