3scale/porta

View on GitHub
app/assets/stylesheets/swagger-ui/threescale.scss

Summary

Maintainability
Test Coverage
@import 'provider/colors';
 
.swagger-section .swagger-ui-wrap {
Colon after property should be followed by one space
max-width:100%;
}
 
.apidocs-tip-description {
Properties should be ordered background, color, font-style, margin, padding, text-align
text-align: left;
font-style: italic;
color: $label-color;
padding: 0;
margin: 0;
background: $content-background;
Property `padding` already defined on line 11
padding: 2px;
}
 
.apidocs-param-tips li:hover {
Color literals like `white` should only be used in variable declarations; they should be referred to via variable everywhere else.
background: white;
Properties should be ordered background, color, cursor
Colon after property should be followed by one space
cursor:pointer;
color: $link-color;
}
 
.apidocs-param-tips ul {
`0px` should be written without units as `0`
padding: 0px;
text-align: left;
}
 
.apidocs-param-tips li {
Properties should be ordered border-top, list-style, padding
padding: 5px;
border-top: 1px solid $border-color;
list-style: none;
}
 
Merge rule `.apidocs-param-tips` with rule on line 17
.apidocs-param-tips {
Properties should be ordered background, border, border-radius, box-shadow, color, font-size, left, padding, position, top
position: absolute;
padding: 10px;
`0px` should be written without units as `0`
top: 0px;
`0px` should be written without units as `0`
left: 0px;
box-shadow: 0 0 6px $box-shadow-color;
font-size: 12px;
color: $font-color;
background: rgba($content-background, .99);
border: 1px solid $border-color;
border-radius: 6px;
}
 
div.swagger-notifications {
text-align: left;
}
 
.swagger-ui-wrap {
ul {
`0px` should be written without units as `0`
padding-left: 0px;
}
}