redoc/lib/components/ParamsList/params-list.scss

51 lines
939 B
SCSS
Raw Normal View History

.param-list-header {
2015-11-17 02:12:42 +03:00
border-bottom: 1px solid #999;
font-size: 18px;
padding: 0.2em 0;
margin: 0.5em 0;
color: #253137;
font-weight: normal;
2015-10-10 16:01:41 +03:00
}
@import '../JsonSchema/json-schema-common';
2015-11-22 21:04:18 +03:00
// paramters can't be multilevel so table representation works for it without javascript
2015-11-17 02:12:42 +03:00
.params-wrap {
display: table;
2015-10-18 20:16:40 +03:00
}
2015-11-17 02:12:42 +03:00
.param-name {
display: table-cell;
2015-11-22 21:04:18 +03:00
vertical-align: top;
2015-10-22 21:50:26 +03:00
}
2015-11-17 02:12:42 +03:00
.param-info {
display: table-cell;
2015-10-22 21:50:26 +03:00
}
2015-11-17 02:12:42 +03:00
.param {
display: table-row;
2015-10-18 20:16:40 +03:00
}
2015-11-17 02:12:42 +03:00
.param:first-of-type .param-name:before {
content: "";
display: block;
position: absolute;
2015-11-22 21:04:18 +03:00
left: -$lines-width;
top: 0;
border-left: $line-border-erase;
height: ($param-name-height/2) + $cell-padding;
2015-11-17 02:12:42 +03:00
}
.param:last-of-type .param-name:after {
content: "";
display: block;
position: absolute;
2015-11-22 21:04:18 +03:00
left: -$lines-width;
border-left: $line-border-erase;
top: ($param-name-height/2) + $cell-padding + $lines-width;
2015-11-17 02:12:42 +03:00
background-color: white;
bottom: 0;
2015-10-17 21:12:46 +03:00
}