redoc/lib/components/ParamsList/params-list.scss
2015-11-22 20:04:18 +02:00

50 lines
914 B
SCSS

.param-list-header {
border-bottom: 1px solid #999;
font-size: 18px;
padding: 0.2em 0;
margin: 0.5em 0;
color: #253137;
}
@import '../JsonSchema/json-schema.scss';
// paramters can't be multilevel so table representation works for it without javascript
.params-wrap {
display: table;
}
.param-name {
display: table-cell;
vertical-align: top;
}
.param-info {
display: table-cell;
}
.param {
display: table-row;
}
.param:first-of-type .param-name:before {
content: "";
display: block;
position: absolute;
left: -$lines-width;
top: 0;
border-left: $line-border-erase;
height: ($param-name-height/2) + $cell-padding;
}
.param:last-of-type .param-name:after {
content: "";
display: block;
position: absolute;
left: -$lines-width;
border-left: $line-border-erase;
top: ($param-name-height/2) + $cell-padding + $lines-width;
background-color: white;
bottom: 0;
}