mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-24 17:43:45 +03:00
131 lines
1.8 KiB
SCSS
131 lines
1.8 KiB
SCSS
@import '../../common/styles/variables';
|
|
@import '../../common/styles/share-link';
|
|
|
|
responses-list, params-list {
|
|
display: block;
|
|
}
|
|
|
|
.method-header {
|
|
font-size: 25px;
|
|
font-weight: 200;
|
|
color: $method-headers-color;
|
|
}
|
|
|
|
.method-endpoint {
|
|
margin: 0;
|
|
font-weight: 200;
|
|
font-size: 0;
|
|
}
|
|
|
|
.method-endpoint > span {
|
|
padding-top: 3px;
|
|
padding-bottom: 3px;
|
|
vertical-align: middle;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.api-url {
|
|
color: #999;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.path {
|
|
font-family: monospace;
|
|
font-weight: bold;
|
|
color: $headers-color;
|
|
}
|
|
|
|
.method-tags {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.method-tags a {
|
|
font-size: 16px;
|
|
color: #999;
|
|
display: inline-block;
|
|
padding: 0 0.5em;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.method-tags a:before {
|
|
content: '#';
|
|
margin-right: -0.4em;
|
|
}
|
|
|
|
.method-tags a:first-of-type {
|
|
padding: 0;
|
|
}
|
|
|
|
.method-content, .method-samples {
|
|
display: block;
|
|
box-sizing: border-box;
|
|
float: left;
|
|
}
|
|
|
|
.method-content {
|
|
width: 100% - $samples-panel-width;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.method-samples {
|
|
color: $sample-panel-color;
|
|
width: 40%;
|
|
padding: 10px 20px;
|
|
}
|
|
|
|
responses-samples {
|
|
display: block;
|
|
}
|
|
|
|
.method-samples header {
|
|
font-size: 16px;
|
|
margin: 5px 0;
|
|
color: $sample-panel-headers-color;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.method-samples schema-sample {
|
|
display: block;
|
|
}
|
|
|
|
.method:after {
|
|
content: "";
|
|
display: table;
|
|
clear:both;
|
|
}
|
|
|
|
.method-description {
|
|
padding: 30px 0;
|
|
}
|
|
|
|
.http-method {
|
|
color: white;
|
|
background-color: #1976D3;
|
|
padding: 3px 10px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.http-method.delete {
|
|
background-color: red;
|
|
}
|
|
|
|
.http-method.post {
|
|
background-color: #00329F;
|
|
}
|
|
|
|
.http-method.patch {
|
|
background-color: orange;
|
|
}
|
|
|
|
.http-method.put {
|
|
background-color: crimson;
|
|
}
|
|
|
|
.http-method.options {
|
|
background-color: black;
|
|
}
|
|
|
|
.http-method.head {
|
|
background-color: darkkhaki;
|
|
}
|