betajs/betajs-media-components

View on GitHub
src/themes/image_viewer/theatre/controlbar.scss

Summary

Maintainability
Test Coverage

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

            height: $controlbar_height;

Opening curly brace { should be preceded by one space
Open

        & > div:last-child{

Unnecessary parent selector (&)
Open

        & > div:first-child {

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

    .#{$css}-dashboard {

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

            @include background-rgba( 255, 255, 255, 0.4, $controlbar_background);

Properties should be ordered border, box-sizing, line-height, text-align
Open

        box-sizing: content-box;

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

    .#{$csscommon}-icon-resize-full {

0.75 should be written without a leading zero as .75
Open

        opacity: 0.75;

Unnecessary parent selector (&)
Open

        & > div:last-child {

0.4 should be written without a leading zero as .4
Open

            @include background-rgba( 255, 255, 255, 0.4, $controlbar_background);

border: 0 is preferred over border: none
Open

        border: none;

Properties should be ordered background-color, border, bottom, box-sizing, height, left, opacity, position, width
Open

        box-sizing: border-box;

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

        @include transition1(opacity, $dashboard_transition, ease-in-out);

Expected 0 spaces after ( instead of
Open

            @include background-rgba( 255, 255, 255, 0.4, $controlbar_background);

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

        color: $button_color;

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

        font-size: $button_fontsize;

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

        bottom: $controlbar_distance_from_side;

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

    .#{$css}-dashboard-hidden {

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

    .#{$css}-center-block {

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

            height: $controlbar_height - 3;

Properties should be ordered color, height, line-height, text-align, top, width
Open

            height: $controlbar_height;

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

            color: $message_color;

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

    .#{$css}-button-text {

Properties should be ordered font-family, font-size, font-weight
Open

        font-weight: normal;

Rule declaration should be preceded by an empty line
Open

        & > p {

Properties should be ordered border, box-sizing
Open

        box-sizing: content-box;

border: 0 is preferred over border: none
Open

        border: none;

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

    &.#{$cssie8} .#{$css}-rightbutton-container {

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

        @include float-width-height(right, $button_width, 50%);

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

    &.#{$cssnoie8} .#{$css}-button-inner {

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

    .#{$css}-button-inner {

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

        color: $button_color_secondary;

Unnecessary parent selector (&)
Open

        & > div {

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

            line-height: $controlbar_line_height - 2;

Unnecessary parent selector (&)
Open

        & > div {

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

            line-height: $controlbar_line_height - 3;

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

            height: $controlbar_height;

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

    &.#{$cssnoie8} .#{$css}-rightbutton-container {

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

        color: $button_color;

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

        background-color: $controlbar_background;

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

        border: 1px solid $dashboard_border_color;

Unnecessary parent selector (&)
Open

        & > div {

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

    .#{$css}-right-block {

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

            line-height: $controlbar_height;

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

            top: $controlbar_distance_from_side;

border: 0 is preferred over border: none
Open

        border: none;

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

    &.#{$cssnoie8} .#{$css}-full-screen-btn-inner {

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

        height: $controlbar_height;

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

    .#{$css}-left-block {

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

    &.#{$cssie8} .#{$css}-button-inner {

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

        font-size: $button_fontsize;

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

            line-height: $controlbar_line_height - 3;

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

        width: $dashboard_width;

Rule declaration should be preceded by an empty line
Open

        & > div {

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

            line-height: $controlbar_line_height;

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

    .#{$css}-image-title-container {

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

        @include float-width-height(left, $button_width, 100%);

Use // comments everywhere
Open

/* Theatre */

Rule declaration should be preceded by an empty line
Open

        & > div {

Unnecessary parent selector (&)
Open

        & > p {

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

            width: $dashboard_width;

Properties should be ordered border, box-sizing
Open

        box-sizing: content-box;

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

        font-family: $font_family;

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

        @include transition1(opacity, $dashboard_transition, ease-in-out);

Unnecessary parent selector (&)
Open

        & > div:last-child{

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

    .#{$css}-leftbutton-container {

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

        @include float-width-height(right, $button_width, 100%);

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

    &.#{$cssie8} .#{$css}-left-block {

There are no issues that match your filters.

Category
Status