3scale/porta

View on GitHub
app/assets/stylesheets/provider/admin/cms/_templates.scss

Summary

Maintainability
Test Coverage

0.1 should be written without a leading zero as .1
Open

       opacity: 0.1;

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

      a {

Begin pseudo elements with double colons: ::
Open

     &:after {

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

    position: absolute;

Properties should be ordered clear, margin-left
Open

    margin-left: 0;

Properties should be ordered display, position, top, vertical-align, z-index
Open

    vertical-align: middle;

Avoid using id selectors
Open

#open-portal-to-public {

Avoid using id selectors
Open

#cms-template-editor-tabs {

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

      @include border-top-radius($border-radius-sm);

Properties should be ordered background-color, border-color, font-weight
Open

        font-weight: $font-weight-bold;

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

       top: -0.5rem;

Avoid using id selectors
Open

  #cms_template_published_input {

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

     .CodeMirror-cursor {

Each selector in a comma sequence should be on its own single line
Open

.formtastic.cms_template, .formtastic.cms_section, .formtastic.cms_file {

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

      border-bottom: none;

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

        a {

Each selector in a comma sequence should be on its own single line
Open

    label[for=cms_template_draft], label[for=cms_template_published] {

1/3 should be written with a single space on each side of the operator: 1 / 3
Open

        padding: line-height-times(1/3) line-height-times(1/2);

!important should not be used
Open

       border-left: none !important;

1/2 should be written with a single space on each side of the operator: 1 / 2
Open

        padding: line-height-times(1/3) line-height-times(1/2);

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

   .cm-s-neat {

Avoid using id selectors
Open

#cms-template-editor {

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

    @include inline-block-list;

Properties should be ordered position, right, top
Open

  top: 0;

Each selector in a comma sequence should be on its own single line
Open

.formtastic.cms_template, .formtastic.cms_section, .formtastic.cms_file {

Prefer single quoted strings
Open

       content: "Published";

Properties should be ordered color, content, font-size, left, opacity, position, text-align, top, transform, transform-origin
Open

       transform: rotate(35deg);

Properties should be ordered background-color, border, border-bottom, text-align
Open

      text-align: center;

1/4 should be written with a single space on each side of the operator: 1 / 4
Open

    margin-top: line-height-times(1/4);

Avoid using id selectors
Open

#cms-new-content-button {

There are no issues that match your filters.

Category
Status