YetiForceCompany/YetiForceCRM

View on GitHub
public_html/layouts/basic/styles/layout/_Header.scss

Summary

Maintainability
Test Coverage

Line should be indented with spaces, not tabs
Open

    .rightHeader {

Selector c-header__btn__container should be written in lowercase with hyphens
Open

    .c-header__btn__container {

0.315 should be written without a leading zero as .315
Open

                padding: 0.315rem 0.75rem;

Line should be indented with spaces, not tabs
Open

    visibility: hidden;

Line should be indented with spaces, not tabs
Open

    height: $h-main-viewport;

Line should be indented with spaces, not tabs
Open

    border-left: 1px solid #797979;

Use // comments everywhere
Open

/* {[The file is published on the basis of YetiForce Public License 6.5 that can be found in the following directory: licenses/LicenseEN.txt or yetiforce.com]} */

Line should be indented with spaces, not tabs
Open

    z-index: 1031;

Prefer using placeholder selectors (e.g. %some-placeholder) with @extend
Open

            @extend .mr-2;

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

        @include media-breakpoint-up(xxl) {

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

                padding: 0.315rem 0.75rem;

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

    background: #fff;

Line should be indented with spaces, not tabs
Open

    right: -380px;

Avoid vendor prefixes.
Open

    -webkit-transition: all 0.5s ease;

Line should be indented with spaces, not tabs
Open

    position: fixed;

Selector remindersNotificationContainer should be written in lowercase with hyphens
Open

    .remindersNoticeContainer,

Line should be indented with spaces, not tabs
Open

    .o-navbar__left {

Line should be indented with spaces, not tabs
Open

    -webkit-transition: all 0.5s ease;

0.5 should be written without a leading zero as .5
Open

    transition: all 0.5s ease;

Line should be indented with spaces, not tabs
Open

    margin: 5px 8px 0 8px;

Selector o-navbar__left should be written in lowercase with hyphens
Open

    .o-navbar__left {

Rule declaration should be followed by an empty line
Open

    }

Selector summaryWidgetContainer should be written in lowercase with hyphens
Open

.summaryWidgetContainer .widget_header {

Selector remindersNoticeContainer should be written in lowercase with hyphens
Open

    .remindersNoticeContainer,

Selector modalRightSiteBar should be written in lowercase with hyphens
Open

    .remindersNoticeContainer,

Line should be indented with spaces, not tabs
Open

    .c-user-avatar-medium {

0.5 should be written without a leading zero as .5
Open

    -webkit-transition: all 0.5s ease;

Properties should be ordered margin, width
Open

        width: 34px;

Selector c-header__btn should be written in lowercase with hyphens
Open

    .c-header__btn {

Properties should be ordered right, visibility
Open

        visibility: visible;

Properties should be ordered height, margin, overflow, position, right, top, width, z-index
Open

    margin: 0;

Line should be indented with spaces, not tabs
Open

    overflow: hidden;

Avoid qualifying class selectors with an element.
Open

    button.close {

Properties should be ordered border-bottom, border-top
Open

        border-top: none;

Line should be indented with spaces, not tabs
Open

    .o-search-menu__container {

Properties should be ordered background-color, color, left, padding, position, right, top, -webkit-transition, transition, width, z-index
Open

        position: fixed;

Avoid vendor prefixes.
Open

            -webkit-transition: ease-in-out 0.35s;

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

                .fas,

Nesting should be no greater than 3, but was 4
Open

                .fas,

Selector actionMenuOn should be written in lowercase with hyphens
Open

        &.actionMenuOn {

Line should be indented with spaces, not tabs
Open

    display: flex;

Merge rule .widget_header with rule on line 56
Open

.widget_header {

Properties should be ordered border-radius, height, min-width, width
Open

        width: 48px;

Selector widget_header should be written in lowercase with hyphens
Open

.summaryWidgetContainer .widget_header {

Selector remindersNoticeContainer should be written in lowercase with hyphens
Open

.remindersNoticeContainer {

Line should be indented with spaces, not tabs
Open

    right: 0;

Selector moduleIcon should be written in lowercase with hyphens
Open

    .moduleIcon {

Selector select2HeaderWidth should be written in lowercase with hyphens
Open

    .select2HeaderWidth {

0.35 should be written without a leading zero as .35
Open

            transition: right ease-in-out 0.35s;

Rule declaration should be preceded by an empty line
Open

    &__container {

Line should be indented with spaces, not tabs
Open

    .c-user-avatar-small {

Line should be indented with spaces, not tabs
Open

    width: 380px;

Line should be indented with spaces, not tabs
Open

    overflow-y: auto;

Line should be indented with spaces, not tabs
Open

    height: 20px;

Line should be indented with spaces, not tabs
Open

    width: 100%;

Line should be indented with spaces, not tabs
Open

    .listViewEntriesTable thead > tr > th {

Selector o-global-search__input--desktop should be written in lowercase with hyphens
Open

.o-global-search__input--desktop {

Prefer using placeholder selectors (e.g. %some-placeholder) with @extend
Open

        @extend .p-1;

Properties should be ordered background-color, color, left, overflow, padding, position, right, text-align, -webkit-transition, transition, visibility, width, z-index
Open

            visibility: visible;

0.35 should be written without a leading zero as .35
Open

            -webkit-transition: ease-in-out 0.35s;

Nesting should be no greater than 3, but was 4
Open

                .sr-only {

Selector o-navbar__right should be written in lowercase with hyphens
Open

        &,

Line should be indented with spaces, not tabs
Open

    background-color: $bg-navbar;

Line should be indented with spaces, not tabs
Open

    .moduleIcon {

Shorthand form for property margin should be written more concisely as 5px 8px 0 instead of 5px 8px 0 8px
Open

    margin: 5px 8px 0 8px;

Selector select2WithButtonWidth should be written in lowercase with hyphens
Open

.select2WithButtonWidth {

Line should be indented with spaces, not tabs
Open

    min-width: $w-header-search;

!important should not be used
Open

        left: 4px !important;

Selector actionMenu should be written in lowercase with hyphens
Open

    .actionMenu {

Properties should be ordered float, margin-bottom, -webkit-overflow-scrolling, overflow-y, position
Open

                position: relative;

Line should be indented with spaces, not tabs
Open

    min-height: calculate-rem(32px);

Selector moduleIcon should be written in lowercase with hyphens
Open

    .moduleIcon {

Line should be indented with spaces, not tabs
Open

    z-index: 1035;

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

    background: rgba(0, 0, 0, 0.4);

Line should be indented with spaces, not tabs
Open

    transition: all 0.5s ease;

Line should be indented with spaces, not tabs
Open

    max-width: 100%;

Line should be indented with spaces, not tabs
Open

    &.toggled {

Selector remindersNoticeContainer should be written in lowercase with hyphens
Open

.remindersNoticeContainer .panel-heading {

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

    background: #f1f1f1;

Line should be indented with spaces, not tabs
Open

    top: $h-header;

Line should be indented with spaces, not tabs
Open

    button.close {

Line should be indented with spaces, not tabs
Open

    .ui-menu.ui-widget:not(.mobile) {

Selector searchMenu should be written in lowercase with hyphens
Open

.searchMenu.toogleSearchMenu {

Line should be indented with spaces, not tabs
Open

    .o-search-menu__container {

Line should be indented with spaces, not tabs
Open

    .o-header-toggle {

Selector c-header__btn__container should be written in lowercase with hyphens
Open

        .c-header__btn:not(.c-header__btn--mobile),

Line should be indented with spaces, not tabs
Open

    .c-header__btn {

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

        padding: 0.25rem 0.3rem;

Line should be indented with spaces, not tabs
Open

    .c-header__btn__container {

Selector remindersNotificationContainer should be written in lowercase with hyphens
Open

.remindersNoticeContainer,

Selector remindersNoticeContainer should be written in lowercase with hyphens
Open

.remindersNoticeContainer,

Line should be indented with spaces, not tabs
Open

    .remindersNoticeContainer,

Selector modalRightSiteBar should be written in lowercase with hyphens
Open

.modalRightSiteBar {

Line should be indented with spaces, not tabs
Open

    margin: 0;

Selector listViewEntriesTable should be written in lowercase with hyphens
Open

    .listViewEntriesTable thead > tr > th {

Merge rule .active .table with rule on line 156
Open

.active .table {

Selector o-global-search__value should be written in lowercase with hyphens
Open

    .o-global-search__value {

border-bottom: 0 is preferred over border-bottom: none
Open

        border-bottom: none;

Line should be indented with spaces, not tabs
Open

    padding: 10px 0;

Line should be indented with spaces, not tabs
Open

    .ui-menu.ui-widget {

Selector c-header__btn--mobile should be written in lowercase with hyphens
Open

    .c-header__btn--mobile {

Line should be indented with spaces, not tabs
Open

    .c-header__btn--mobile {

Avoid vendor prefixes.
Open

            -webkit-transition: right ease-in-out 0.35s;

Properties should be ordered height, white-space
Open

        white-space: nowrap;

Shorthand form for property padding should be written more concisely as 5px 10px 10px instead of 5px 10px 10px 10px
Open

        padding: 5px 10px 10px 10px;

Line should be indented with spaces, not tabs
Open

    padding: 0;

Selector basicSearchModulesList should be written in lowercase with hyphens
Open

.basicSearchModulesList {

Line should be indented with spaces, not tabs
Open

    .ui-menu.ui-widget {

Selector c-header__label--sm-down should be written in lowercase with hyphens
Open

    .c-header__label--sm-down {

0.35 should be written without a leading zero as .35
Open

            transition: ease-in-out 0.35s;

Rule declaration should be followed by an empty line
Open

            }

Selector c-header__btn should be written in lowercase with hyphens
Open

            .c-header__btn {

Selector c-menu__container should be written in lowercase with hyphens
Open

    .c-menu__container.js-expand + .c-header {

Properties should be ordered background-color, right, top, z-index
Open

    top: 0;

Selector rightHeader should be written in lowercase with hyphens
Open

    .rightHeader {

Selector widget_header should be written in lowercase with hyphens
Open

.widget_header {

Avoid qualifying class selectors with an element.
Open

    .actionRow a.btn {

Selector quickDetailWidget should be written in lowercase with hyphens
Open

    .quickDetailWidget h4 {

Selector toogleSearchMenu should be written in lowercase with hyphens
Open

.searchMenu.toogleSearchMenu {

Properties should be ordered bottom, box-shadow, padding, padding-bottom
Open

            box-shadow: $box-shadow-lg;

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

    min-height: calculate-rem(32px);

Line should be indented with spaces, not tabs
Open

    .c-menu__container.js-expand + .c-header {

Line should be indented with spaces, not tabs
Open

    height: $h-main-viewport;

Line should be indented with spaces, not tabs
Open

    .modal-content {

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

    .listViewEntriesTable thead > tr > th {

Line should be indented with spaces, not tabs
Open

    width: 35px;

Property width already defined on line 228
Open

        width: calc(100% - 50px);

0.35 should be written without a leading zero as .35
Open

        -webkit-transition: right ease-in-out 0.35s;

Line should be indented with spaces, not tabs
Open

    .o-action-menu__item {

Line should be indented with spaces, not tabs
Open

    .c-header__label--sm-down {

Selector c-header__btn--mobile should be written in lowercase with hyphens
Open

        .c-header__btn--mobile {

Selector c-header__label--sm-down should be written in lowercase with hyphens
Open

        .c-header__label--sm-down {

Selector historyList should be written in lowercase with hyphens
Open

            .dropdown-menu.historyList {

Properties should be ordered display, width
Open

        width: 100%;

!important should not be used
Open

            margin-left: 0 !important;

Line should be indented with spaces, not tabs
Open

    right: 0;

0.25 should be written without a leading zero as .25
Open

        padding: 0.25rem 0.3rem;

Selector c-header__btn should be written in lowercase with hyphens
Open

            .c-header__btn {

Line should be indented with spaces, not tabs
Open

    background: rgba(0, 0, 0, 0.4);

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

    background: rgba(0, 0, 0, 0.4);

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

    border-left: 1px solid #797979;

!important should not be used
Open

    position: fixed !important;

Line should be indented with spaces, not tabs
Open

    .moduleIcon {

Line should be indented with spaces, not tabs
Open

    .o-global-search__value {

Selector globalSearchResults should be written in lowercase with hyphens
Open

.globalSearchResults .nav li a {

Selector o-search-menu__container should be written in lowercase with hyphens
Open

    .o-search-menu__container {

Selector actionMenu should be written in lowercase with hyphens
Open

.actionMenu {

Line should be indented with spaces, not tabs
Open

    .o-header-toggle__detail {

Merge rule .widget_header > div[class*="col-"]:first-child with rule on line 56
Open

.widget_header > div[class*="col-"]:first-child {

Properties should be ordered align-items, background, flex-wrap, overflow
Open

        background: none;

Selector c-header__btn should be written in lowercase with hyphens
Open

        .c-header__btn:not(.c-header__btn--mobile),

Selector c-header__btn should be written in lowercase with hyphens
Open

        .c-header__btn {

Line should be indented with spaces, not tabs
Open

    background: $gray-100;

Line should be indented with spaces, not tabs
Open

    background: #fff;

Line should be indented with spaces, not tabs
Open

    margin-bottom: 0;

Line should be indented with spaces, not tabs
Open

    .card-header a {

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

        @extend .p-1;

Avoid qualifying attribute selectors with an element.
Open

.widget_header > div[class*="col-"]:first-child {

Line should be indented with spaces, not tabs
Open

    font-weight: initial;

border: 0 is preferred over border: none
Open

    border: none;

!important should not be used
Open

        top: 253px !important;

Properties should be ordered background-color, color, left, max-height, overflow, padding, position, right, text-align, top, -webkit-transition, transition, width, z-index
Open

            position: fixed;

!important should not be used
Open

                margin: 0 0 5px !important;

Line should be indented with spaces, not tabs
Open

    @include media-breakpoint-down(sm) {

Line should be indented with spaces, not tabs
Open

    z-index: 1070;

Line should be indented with spaces, not tabs
Open

    font-weight: bold;

Properties should be ordered border, padding
Open

    padding: 0;

Line should be indented with spaces, not tabs
Open

    .select2HeaderWidth {

Selector o-search-menu__container should be written in lowercase with hyphens
Open

    .o-search-menu__container {

Selector o-action-menu__item should be written in lowercase with hyphens
Open

    .o-action-menu__item {

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

            padding-right: 0.4rem;

!important should not be used
Open

            display: inline-block !important;

Properties should be ordered clip-path, height, overflow, position, white-space, width
Open

                    position: static;

Line should be indented with spaces, not tabs
Open

    @include media-breakpoint-up(sm) {

Properties should be ordered height, min-height, visibility
Open

        visibility: hidden;

Selector widget_header should be written in lowercase with hyphens
Open

.widget_header > div[class*="col-"]:first-child {

Line should be indented with spaces, not tabs
Open

    top: 0;

Rule declaration should be followed by an empty line
Open

    }

Properties should be ordered border-radius, height, vertical-align, width
Open

        width: 1.25em;

Properties should be ordered background, border-left, height, max-width, overflow-y, position, right, top, -webkit-transition, transition, visibility, width, z-index
Open

    visibility: hidden;

Line should be indented with spaces, not tabs
Open

    top: $h-header;

Selector remindersContent should be written in lowercase with hyphens
Open

.remindersContent {

Line should be indented with spaces, not tabs
Open

    padding: 5px 10px;

Properties should be ordered background, padding
Open

    padding: 5px 10px;

Line should be indented with spaces, not tabs
Open

    .panel-body {

Line should be indented with spaces, not tabs
Open

    .actionRow a.btn {

Line should be indented with spaces, not tabs
Open

    position: fixed !important;

Rule declaration should be followed by an empty line
Open

}

Line should be indented with spaces, not tabs
Open

    .btn {

!important should not be used
Open

        left: 45px !important;

!important should not be used
Open

            height: auto !important;

0.35 should be written without a leading zero as .35
Open

            -webkit-transition: right ease-in-out 0.35s;

Selector o-action-menu__item should be written in lowercase with hyphens
Open

        .o-action-menu__item {

Line should be indented with spaces, not tabs
Open

    &__container {

Selector widget_header should be written in lowercase with hyphens
Open

.widget_header {

Selector o-navbar__left should be written in lowercase with hyphens
Open

        &,

Line should be indented with spaces, not tabs
Open

    background: #f1f1f1;

Merge rule .remindersNoticeContainer with rule on line 103
Open

.remindersNoticeContainer {

Selector actionRow should be written in lowercase with hyphens
Open

    .actionRow a.btn {

Avoid using id selectors
Open

        &#global-search-__value {

Selector global-search-__value should be written in lowercase with hyphens
Open

        &#global-search-__value {

Line should be indented with spaces, not tabs
Open

    border: none;

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

.globalSearchResults .nav li a {

0.35 should be written without a leading zero as .35
Open

        transition: right ease-in-out 0.35s;

Merge rule .searchMenu.toogleSearchMenu with rule on line 222
Open

.searchMenu.toogleSearchMenu {

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

            padding-left: 0.4rem;

Selector o-header-toggle__detail should be written in lowercase with hyphens
Open

    .o-header-toggle__detail {

Rule declaration should be preceded by an empty line
Open

            .btn {

Line should be indented with spaces, not tabs
Open

    .actionMenu {

Selector o-action-menu__container should be written in lowercase with hyphens
Open

        .o-action-menu__container {

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

                .sr-only {

Rule declaration should be followed by an empty line
Open

}

Line should be indented with spaces, not tabs
Open

    .breadcrumb {

Line should be indented with spaces, not tabs
Open

    .breadcrumb-item {

Selector activityTypeIcon should be written in lowercase with hyphens
Open

.activityTypeIcon {

Line should be indented with spaces, not tabs
Open

    .quickDetailWidget h4 {

border-top: 0 is preferred over border-top: none
Open

        border-top: none;

Selector searchMenu should be written in lowercase with hyphens
Open

.searchMenu {

Avoid vendor prefixes.
Open

        -webkit-transition: right ease-in-out 0.35s;

Selector o-header-toggle__actions should be written in lowercase with hyphens
Open

        .o-header-toggle__actions {

Rule declaration should be followed by an empty line
Open

            }

Selector o-action-menu__container should be written in lowercase with hyphens
Open

            .o-action-menu__container {

!important should not be used
Open

            margin-right: 0 !important;

0.25 should be written without a leading zero as .25
Open

            margin-bottom: 0.25rem;

There are no issues that match your filters.

Category
Status