SCPR/scpr-style-guide

View on GitHub
src/css/objects/_mast.scss

Summary

Maintainability
Test Coverage

Line contains trailing whitespace
Open

      transform: translate(-50%, -50%);      
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

Property cursor already defined on line 15
Open

  cursor: hand;
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

Properties should be ordered bottom, position, top, transform, width
Open

      position: absolute;
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

Rule declaration should be preceded by an empty line
Open

    .o-mast__search {
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

Merge rule .o-mast__nav-sections .c-nav__item with rule on line 463
Open

    .o-mast__nav-sections .c-nav__item {
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

Rule declaration should be followed by an empty line
Open

    }
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

Rule declaration should be followed by an empty line
Open

        }
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

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

        form, form input {
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

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

        form, form input {
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

Avoid using id selectors
Open

#o-mast__search-toggler-checkbox:checked ~ .o-mast {
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

Avoid using id selectors
Open

  #o-mast__search-toggler-checkbox:checked ~ .o-mast {
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

Merge rule .o-mast__nav > * with rule on line 409
Open

    .o-mast__nav > * {
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

Merge rule .c-search form with rule on line 139
Open

.c-search form {
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

Avoid using id selectors
Open

  #o-mast__search-toggler-checkbox:checked ~ .o-mast {
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

Merge rule .o-mast__search with rule on line 190
Open

    .o-mast__search {
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

Properties should be ordered align-items, display, height
Open

    height: 28px;
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

Avoid using id selectors
Open

#o-mast__menu-toggler-checkbox:checked ~ .o-mast {
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

Avoid using id selectors
Open

  #o-mast__search-toggler-checkbox:checked ~ #o-mast__menu-toggler-checkbox:checked ~ .o-mast .o-mast__nav-sections .c-nav__item {
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

Merge rule .o-mast__nav-actions .c-nav__item .o-mast__menu-toggler with rule on line 56
Open

.o-mast__nav-actions .c-nav__item .o-mast__menu-toggler {
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

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

        position: relative;
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

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

    .o-mast__search .icon--search-open {
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

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

    form {
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

Avoid using id selectors
Open

  #o-mast__menu-toggler-checkbox:checked ~ .o-mast {
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

Avoid using id selectors
Open

  #o-mast__search-toggler-checkbox:checked ~ .o-mast {
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

Properties should be ordered position, width
Open

        width: 100%;
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

Rule declaration should be followed by an empty line
Open

  }
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

Properties should be ordered display, float, width
Open

    float: right;
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

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

    .o-mast__search {
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

Avoid using id selectors
Open

  #o-mast__menu-toggler-checkbox:checked ~ .o-mast {
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

Avoid using id selectors
Open

  #o-mast__search-toggler-checkbox:checked ~ #o-mast__menu-toggler-checkbox:checked ~ .o-mast .o-mast__nav-sections .c-nav__item {
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

Properties should be ordered background-color, bottom, left, overflow-y, position, right, top
Open

      position: fixed;
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

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

    .o-mast__search .icon--search-close {
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

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

    label {
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

Properties should be ordered align-items, display
Open

    display: flex;
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

Avoid using id selectors
Open

  #o-mast__search-toggler-checkbox:checked ~ .o-mast {
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

Properties should be ordered left, padding
Open

    padding: 0;
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

Properties should be ordered display, transform
Open

    transform: translateY(-0.3rem);
Severity: Minor
Found in src/css/objects/_mast.scss by scss-lint

There are no issues that match your filters.

Category
Status