app/assets/stylesheets/provider/admin/cms/_templates.scss
0.1
should be written without a leading zero as .1
Open
Open
opacity: 0.1;
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
a {
- Exclude checks
Begin pseudo elements with double colons: ::
Open
Open
&:after {
- Exclude checks
Properties should be ordered margin-top, position, right, top Open
Open
position: absolute;
- Exclude checks
Properties should be ordered clear, margin-left Open
Open
margin-left: 0;
- Exclude checks
Properties should be ordered display, position, top, vertical-align, z-index Open
Open
vertical-align: middle;
- Exclude checks
Avoid using id selectors Open
Open
#open-portal-to-public {
- Exclude checks
Avoid using id selectors Open
Open
#cms-template-editor-tabs {
- Exclude checks
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
Open
@include border-top-radius($border-radius-sm);
- Exclude checks
Properties should be ordered background-color, border-color, font-weight Open
Open
font-weight: $font-weight-bold;
- Exclude checks
0.5
should be written without a leading zero as .5
Open
Open
top: -0.5rem;
- Exclude checks
Avoid using id selectors Open
Open
#cms_template_published_input {
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
.CodeMirror-cursor {
- Exclude checks
Each selector in a comma sequence should be on its own single line Open
Open
.formtastic.cms_template, .formtastic.cms_section, .formtastic.cms_file {
- Exclude checks
border-bottom: 0
is preferred over border-bottom: none
Open
Open
border-bottom: none;
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
a {
- Exclude checks
Each selector in a comma sequence should be on its own single line Open
Open
label[for=cms_template_draft], label[for=cms_template_published] {
- Exclude checks
1/3
should be written with a single space on each side of the operator: 1 / 3
Open
Open
padding: line-height-times(1/3) line-height-times(1/2);
- Exclude checks
!important should not be used Open
Open
border-left: none !important;
- Exclude checks
1/2
should be written with a single space on each side of the operator: 1 / 2
Open
Open
padding: line-height-times(1/3) line-height-times(1/2);
- Exclude checks
Line should be indented 4 spaces, but was indented 3 spaces Open
Open
.cm-s-neat {
- Exclude checks
Avoid using id selectors Open
Open
#cms-template-editor {
- Exclude checks
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
Open
@include inline-block-list;
- Exclude checks
Properties should be ordered position, right, top Open
Open
top: 0;
- Exclude checks
Each selector in a comma sequence should be on its own single line Open
Open
.formtastic.cms_template, .formtastic.cms_section, .formtastic.cms_file {
- Exclude checks
Prefer single quoted strings Open
Open
content: "Published";
- Exclude checks
Properties should be ordered color, content, font-size, left, opacity, position, text-align, top, transform, transform-origin Open
Open
transform: rotate(35deg);
- Exclude checks
Properties should be ordered background-color, border, border-bottom, text-align Open
Open
text-align: center;
- Exclude checks
1/4
should be written with a single space on each side of the operator: 1 / 4
Open
Open
margin-top: line-height-times(1/4);
- Exclude checks
Avoid using id selectors Open
Open
#cms-new-content-button {
- Exclude checks