betajs/betajs-media-components

View on GitHub
src/themes/_common/player/adplayer.scss

Summary

Maintainability
Test Coverage

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

    height: 100%;

0.8 should be written without a leading zero as .8
Open

    @include background-rgba(0, 0, 0, 0.8, #333333);

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

    @include float-width-height(left, 40px, 100%);

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

    box-sizing: content-box;

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

    .#{$cssadsplayer}-linear-ad-container > div {

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

    align-items: center;

Unnecessary parent selector (&)
Open

    & > * {

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

    justify-content: center;

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

    @include align-all();

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

    @include background-rgba(0, 0, 0, 0.8, #333333);

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

    height: 32px;

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

    z-index: 10;

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

    @include float-width-height(right, 40px, 50%);

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

    color: #ffffff;

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

    font-size: 13px;

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

    background-color: #666666;

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

    position: absolute;

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

    box-sizing: content-box;

Color #ffffff should be written as #fff
Open

    color: #ffffff;

Properties should be ordered float, padding, width
Open

    width: auto;

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

    @include clickable;

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

    margin-top: 6px + 6;

Properties should be ordered color, font-size, margin-top, text-align
Open

    margin-top: 6px + 6;

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

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

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

    background-color: #666666;

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

    position: relative;

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

    @include border-round-edges(6px / 2);

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

    padding: 10px 0;

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

    justify-content: center;

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

    @include transition1(opacity, #{$player_dashboard_transition}, ease-in-out);

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

    font-size: 13px;

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

    padding: 3px 15px 0;

Rule declaration should be followed by an empty line
Open

}

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

    position: absolute;

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

    right: 0;

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

    @include transparent(0.7);

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

    @include transition1(bottom, #{$player_dashboard_transition}, ease 0.2s);

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

    position: absolute;

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

    bottom: #{$controlbar_height + $progressbar_height + 10};

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

    width: 100%;

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

    position: relative;

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

    position: relative;

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

    box-sizing: content-box;

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

    color: #ffffff;

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

    color: #ffffff;

Rule declaration should be followed by an empty line
Open

}

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

    width: 100%;

Rule declaration should be preceded by an empty line
Open

    .#{$cssadsplayer}-progressbar-played {

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

    margin-right: 6px*2;

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

    @include clickable;

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

    @include absolute-align-left();

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

    font-size: 12px;

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

    bottom: 80px;

Selector raisedSkipButton should be written in lowercase with hyphens
Open

    .raisedSkipButton.videoAdUiSkipWidgetV2 .videoAdUiPreSkipContainer,

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

    display: flex;

Properties should be ordered height, opacity, width, z-index
Open

    opacity: 1;

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

    width: 100%;

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

    color: #ffffff;

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

    @include clickable;

Rule declaration should be followed by an empty line
Open

}

Properties should be ordered background-color, height, left, position
Open

    position: relative;

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

    background: #020202;

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

    padding: 0;

0.2 should be written without a leading zero as .2
Open

    @include transition1(bottom, #{$player_dashboard_transition}, ease 0.2s);

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

    color: black;

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

    text-align: center;

Properties should be ordered background, border-color, border-radius, color, cursor, display, line-height, margin-bottom, min-width, padding, text-decoration
Open

    text-decoration: none;

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

    cursor: pointer;

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

    padding: 5px 20px;

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

    margin-bottom: 10px;

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

    color: #020202;

Properties should be ordered display, filter, height, width
Open

        width: 100%;

0.7 should be written without a leading zero as .7
Open

        filter: drop-shadow(1px 4px 3px rgba(0, 0, 0, 0.7));

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

    &:hover {

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

    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;

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

    margin-top: 6px + 5;

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

    position: absolute;

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

    bottom: 0;

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

    background: #020202;

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

    color: #ececec;

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

    @include transition1(bottom, #{$player_dashboard_transition}, ease 0.2s);

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

    bottom: #{$controlbar_height + $progressbar_height + 10};

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

    opacity: 1;

Color black should be written in hexadecimal form as #000000
Open

    color: black;

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

    color: #ccc;

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

    max-width: 25px;

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

    display: flex;

Color #333333 should be written as #333
Open

    @include background-rgba(0, 0, 0, 0.8, #333333);

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

    opacity: 0;

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

    @include clickable;

Color #ffffff should be written as #fff
Open

    color: #ffffff;

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

    color: #ffffff;

6px*2 should be written with a single space on each side of the operator: 6px * 2
Open

    margin-right: 6px*2;

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

    cursor: pointer;

Selector videoAdUiSkipWidgetV2 should be written in lowercase with hyphens
Open

    .raisedSkipButton.videoAdUiSkipWidgetV2 .videoAdUiPreSkipContainer,

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

    @include transition1(opacity, #{$player_dashboard_transition}, ease-in-out);

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

    right: 15px;

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

    z-index: 100;

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

    color: #fff;

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

    line-height: 20px;

Rule declaration should be followed by an empty line
Open

    }

Color #ffffff should be written as #fff
Open

    color: #ffffff;

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

    box-sizing: content-box;

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

    width: auto;

Properties should be ordered background-color, bottom, cursor, height, position, width, z-index
Open

    position: absolute;

Color #F1D44F should be written as #f1d44f
Open

    background-color: #F1D44F;

6px*2 should be written with a single space on each side of the operator: 6px * 2
Open

    margin-right: 6px*2;

0.3 should be written without a leading zero as .3
Open

    @include transition1(all, 0.3s, ease-in-out 0.2s);

Selector videoAdUiPreSkipContainer should be written in lowercase with hyphens
Open

    .raisedSkipButton.videoAdUiSkipWidgetV2 .videoAdUiPreSkipContainer,

Selector should have depth of applicability no greater than 3, but was 4
Open

    .raisedSkipButton.videoAdUiSkipWidgetV2 .videoAdUiPreSkipContainer,

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

    border-color: #c9c9c9;

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

    background-color: #ccc;

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

    color: #ccc;

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

    & > * {

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

    align-items: center;

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

    @include float-width-height(right, 40px, 100%);

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

    @include clickable;

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

    background-color: #F1D44F;

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

    background-color: #ffffff;

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

    text-align: center;

0.7 should be written without a leading zero as .7
Open

    @include transparent(0.7);

Selector raisedSkipButton should be written in lowercase with hyphens
Open

    .raisedSkipButton.videoAdUiSkipWidgetV2 .videoAdUiPreSkipContainer,

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

    z-index: 10;

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

    bottom: 0;

Properties should be ordered line-height, margin
Open

    margin: 0;

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

    background: #020202;

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

    svg {

Properties should be ordered height, width
Open

        width: 100%;

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

    opacity: 1;

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

    font-size: 13px;

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

    text-align: center;

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

    cursor: not-allowed;

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

    .#{$cssadsplayer}-progressbar-played {

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

    @include float-width-height(right, 60px, 50%);

6px+10 should be written with a single space on each side of the operator: 6px + 10
Open

    margin-top: 6px+10;

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

    margin: 0;

Selector videoAdUiSkipContainer should be written in lowercase with hyphens
Open

    .raisedSkipButton.videoAdUiSkipWidgetV2 .videoAdUiPreSkipContainer,

Selector videoAdUiPreSkipContainer should be written in lowercase with hyphens
Open

    .raisedSkipButton.videoAdUiSkipWidgetV2 .videoAdUiPreSkipContainer,

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

    bottom: #{$controlbar_height + $progressbar_height + 10};

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

    position: absolute;

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

    text-align: center;

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

    @include relative-center-center;

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

    height: 3px;

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

    background-color: #878787;

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

    @include transparent(0.4);

Properties should be ordered bottom, opacity, position, text-align, width, z-index
Open

    position: absolute;

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

    border-color: #c9c9c9;

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

    &:visited {

Rule declaration should be followed by an empty line
Open

    }

Rule declaration should be preceded by an empty line
Open

    & > * {

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

    img {

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

    background-color: #F1D44F;

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

    margin-top: 6px+10;

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

    @include relative-center-center;

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

    background-color: #878787;

0.2 should be written without a leading zero as .2
Open

    @include transition1(all, 0.3s, ease-in-out 0.2s);

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

    color: #ececec;

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

    .raisedSkipButton.videoAdUiSkipWidgetV2 .videoAdUiPreSkipContainer,

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

    background: white;

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

    min-width: 7em;

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

    max-height: 25px;

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

        filter: drop-shadow(1px 4px 3px rgba(0, 0, 0, 0.7));

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

    &:active {

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

    min-width: 100px;

Selector videoAdUiSkipWidgetV2 should be written in lowercase with hyphens
Open

    .raisedSkipButton.videoAdUiSkipWidgetV2 .videoAdUiPreSkipContainer,

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

    @include transition1(opacity, #{$player_dashboard_transition}, ease-in-out);

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

    display: inline-block;

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

    background-color: #ccc;

Rule declaration should be followed by an empty line
Open

    }

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

    color: #ffffff;

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

    z-index: 100;

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

    width: 100%;

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

    @include float-width-height(right, 60px, 100%);

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

    margin-right: 6px*2;

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

    @include border-round-edges(6px / 2);

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

    @include transition1(all, 0.3s, ease-in-out 0.2s);

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

    @include transparent(0.4);

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

    @include transition1(all, 0.3s, ease-in-out 0.2s);

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

    text-align: center;

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

    cursor: pointer;

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

    height: 16px;

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

    z-index: 2;

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

    color: black;

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

    border-radius: 1px;

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

    display: inline-block;

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

    background: #020202;

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

    display: inline-block;

Rule declaration should be preceded by an empty line
Open

    svg {

Rule declaration should be followed by an empty line
Open

    }

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

    text-align: center;

Selector videoAdUiSkipWidgetV2 should be written in lowercase with hyphens
Open

    .raisedSkipButton.videoAdUiSkipWidgetV2 .videoAdUiPreSkipContainer,

0.9 should be written without a leading zero as .9
Open

    opacity: 0.9;

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

    background: white;

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

    background: white;

0.3 should be written without a leading zero as .3
Open

    @include transition1(background-color, 0.3s, ease-in-out);

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

    background: none;

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

    color: #020202;

Rule declaration should be followed by an empty line
Open

    }

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

    @include absolute-align-bottom();

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

    @include relative-center-center;

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

    height: 3px;

Properties should be ordered margin-right, margin-top
Open

    margin-top: 6px+10;

Color #ffffff should be written as #fff
Open

    background-color: #ffffff;

Selector videoAdUiSkipContainer should be written in lowercase with hyphens
Open

    .raisedSkipButton.videoAdUiSkipWidgetV2 .videoAdUiPreSkipContainer,

0.2 should be written without a leading zero as .2
Open

    @include transition1(bottom, #{$player_dashboard_transition}, ease 0.2s);

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

    opacity: 0.9;

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

    @include transition1(opacity, #{$player_dashboard_transition}, ease-in-out);

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

    margin: 0;

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

    text-decoration: none;

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

    background-color: #ccc;

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

    &:link {

Color #666666 should be written as #666
Open

    background-color: #666666;

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

    height: 6px;

Properties should be ordered margin, padding, text-align
Open

    text-align: center;

0.2 should be written without a leading zero as .2
Open

    @include transition1(all, 0.3s, ease-in-out 0.2s);

Selector videoAdUiSkipWidgetV2 should be written in lowercase with hyphens
Open

    .raisedSkipButton.videoAdUiSkipWidgetV2 .videoAdUiPreSkipContainer,

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

    @include transition1(bottom, #{$player_dashboard_transition}, ease 0.2s);

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

    @include transition1(bottom, #{$player_dashboard_transition}, ease 0.2s);

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

    display: inline-block;

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

    top: 10px;

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

    background-color: #ccc;

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

    position: absolute;

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

    width: 16px;

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

    color: #fff;

Properties should be ordered display, max-height, max-width, position, text-indent
Open

    position: absolute;

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

    @include background-rgba(0, 0, 0, 0.8, #333333);

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

    @include transition1(opacity, #{$player_dashboard_transition}, ease-in-out);

Properties should be ordered box-sizing, color, font-family, font-size, text-align
Open

    text-align: center;

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

    float: left;

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

    left: 0;

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

    background-color: #ffffff;

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

    height: 100%;

Properties should be ordered background, bottom, color, cursor, font-size, min-width, overflow, padding, position, right, text-align
Open

    font-size: 12px;

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

    overflow: hidden;

0.3 should be written without a leading zero as .3
Open

    @include transition1(all, 0.3s, ease-in-out 0.2s);

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

    @include transition1(opacity, #{$player_dashboard_transition}, ease-in-out);

Properties should be ordered display, position
Open

    position: relative;

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

    line-height: 16px;

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

    @include transition1(background-color, 0.3s, ease-in-out);

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

    color: #020202;

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

    color: #020202;

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

    text-indent: -9999px;

There are no issues that match your filters.

Category
Status