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

93 lines
1.3 KiB
CSS
Raw Normal View History

2015-11-17 02:12:42 +03:00
h2 {
border-bottom: 1px solid #999;
font-size: 18px;
padding: 0.2em 0;
margin: 0.5em 0;
color: #253137;
2015-10-10 16:01:41 +03:00
}
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;
padding: 0 5px;
font-weight: bold;
2015-10-22 21:50:26 +03:00
}
2015-11-17 02:12:42 +03:00
.param-info {
display: table-cell;
width: 100%;
padding: 0 5px;
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-required {
color: red;
font-weight: bold;
font-size: 12px;
2015-10-18 20:16:40 +03:00
}
2015-11-17 02:12:42 +03:00
.param-description {
padding: 0.5em 0;
border-bottom: 1px solid #999;
2015-10-10 16:01:41 +03:00
}
2015-11-17 02:12:42 +03:00
.param-type {
text-transform: capitalize;
color: #999;
font-weight: bold;
2015-10-18 12:29:18 +03:00
font-size: 12px;
}
2015-11-17 02:12:42 +03:00
.param-name {
border-left: 2px solid #7D97CE;
white-space: nowrap;
position: relative;
}
/* tree */
.param-name > span:before {
content: "";
display: inline-block;
width: 8px;
height: 8px;
background-color: #7D97CE;
margin: 0 5px;
top: -1px;
position: relative;
2015-10-10 16:01:41 +03:00
}
2015-11-17 02:12:42 +03:00
.param-name > span:after {
content: "";
position: absolute;
border-top: 2px solid #7D97CE;
width: 10px;
left: 0;
top: 10px;
2015-10-10 16:01:41 +03:00
}
2015-10-17 21:12:46 +03:00
2015-11-17 02:12:42 +03:00
.param:first-of-type .param-name:before {
content: "";
display: block;
position: absolute;
left: -2px;
width: 2px;
background-color: white;
height: 10px;
}
.param:last-of-type .param-name:after {
content: "";
display: block;
position: absolute;
left: -2px;
width: 2px;
top: 18px;
background-color: white;
bottom: 0;
2015-10-17 21:12:46 +03:00
}