2016-05-06 00:48:41 +03:00
|
|
|
@import '../../shared/styles/variables';
|
|
|
|
@import '../../shared/styles/share-link';
|
2015-11-22 16:45:27 +03:00
|
|
|
|
2016-01-20 19:02:13 +03:00
|
|
|
:host {
|
|
|
|
padding-bottom: 100px;
|
|
|
|
display: block;
|
2016-03-01 01:18:00 +03:00
|
|
|
border-bottom: 1px solid rgba(127, 127, 127, 0.25);
|
2016-01-20 19:02:13 +03:00
|
|
|
}
|
|
|
|
|
2016-07-10 15:43:17 +03:00
|
|
|
:host:last-of-type {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2015-10-21 12:20:14 +03:00
|
|
|
responses-list, params-list {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2015-11-22 16:45:27 +03:00
|
|
|
.method-header {
|
2016-03-02 22:48:55 +03:00
|
|
|
margin-bottom: .9em;
|
2015-10-10 15:34:46 +03:00
|
|
|
}
|
|
|
|
|
2015-11-22 16:45:27 +03:00
|
|
|
.method-endpoint {
|
2016-03-01 21:08:02 +03:00
|
|
|
margin: 0 0 2em 0;
|
2016-03-08 23:03:05 +03:00
|
|
|
padding: 10px 20px;
|
|
|
|
border-radius: $border-radius*2;
|
|
|
|
background-color: darken($black, 2%);
|
2016-03-01 21:08:02 +03:00
|
|
|
display: block;
|
|
|
|
font-weight: $light;
|
2016-05-18 22:12:41 +03:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow-x: auto;
|
2015-10-10 15:34:46 +03:00
|
|
|
}
|
|
|
|
|
2016-03-01 21:08:02 +03:00
|
|
|
.method-endpoint > h5 {
|
2016-03-02 22:48:55 +03:00
|
|
|
padding-top: 1px;
|
|
|
|
padding-bottom: 0;
|
2016-03-01 21:08:02 +03:00
|
|
|
margin: 0;
|
|
|
|
font-size: .8em;
|
2016-03-08 23:03:05 +03:00
|
|
|
color: $black;
|
2015-10-10 15:34:46 +03:00
|
|
|
vertical-align: middle;
|
2016-03-01 21:08:02 +03:00
|
|
|
display: inline-block;
|
|
|
|
border-radius: $border-radius;
|
2015-11-17 01:03:49 +03:00
|
|
|
}
|
|
|
|
|
2015-11-22 16:45:27 +03:00
|
|
|
.api-url {
|
2016-07-01 17:25:42 +03:00
|
|
|
color: rgba(#ffffff, .6);
|
2015-11-17 01:03:49 +03:00
|
|
|
margin-left: 10px;
|
2016-03-01 21:08:02 +03:00
|
|
|
margin-top: 2px;
|
|
|
|
position: relative;
|
2016-03-08 23:03:05 +03:00
|
|
|
top: 1px;
|
|
|
|
font-family: $headers-font, $headers-font-family;
|
|
|
|
font-size: 0.929em!important;
|
2015-10-10 15:34:46 +03:00
|
|
|
}
|
|
|
|
|
2015-11-22 16:45:27 +03:00
|
|
|
.path {
|
2016-03-08 23:03:05 +03:00
|
|
|
font-family: $headers-font, $headers-font-family;
|
2016-03-01 21:08:02 +03:00
|
|
|
position: relative;
|
|
|
|
top: 1px;
|
2016-03-08 23:03:05 +03:00
|
|
|
color: #ffffff;
|
|
|
|
font-size: 0.929em!important;
|
2015-10-30 13:03:13 +03:00
|
|
|
}
|
|
|
|
|
2015-10-30 12:43:51 +03:00
|
|
|
.method-tags {
|
2015-11-17 02:43:05 +03:00
|
|
|
margin-top: 20px;
|
2015-10-30 12:43:51 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.method-tags a {
|
2015-11-17 02:43:05 +03:00
|
|
|
font-size: 16px;
|
|
|
|
color: #999;
|
2015-10-30 12:43:51 +03:00
|
|
|
display: inline-block;
|
2015-11-17 02:43:05 +03:00
|
|
|
padding: 0 0.5em;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2015-11-22 16:45:27 +03:00
|
|
|
.method-tags a:before {
|
2015-11-17 02:43:05 +03:00
|
|
|
content: '#';
|
|
|
|
margin-right: -0.4em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.method-tags a:first-of-type {
|
|
|
|
padding: 0;
|
2015-10-30 12:43:51 +03:00
|
|
|
}
|
|
|
|
|
2015-11-22 16:45:27 +03:00
|
|
|
.method-content, .method-samples {
|
2015-10-21 14:07:22 +03:00
|
|
|
display: block;
|
|
|
|
box-sizing: border-box;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
2015-11-22 16:45:27 +03:00
|
|
|
.method-content {
|
|
|
|
width: 100% - $samples-panel-width;
|
2016-03-01 21:08:02 +03:00
|
|
|
padding: 40px;
|
2015-10-21 14:46:15 +03:00
|
|
|
}
|
|
|
|
|
2015-11-22 16:45:27 +03:00
|
|
|
.method-samples {
|
|
|
|
color: $sample-panel-color;
|
2015-10-21 14:46:15 +03:00
|
|
|
width: 40%;
|
2016-03-01 21:08:02 +03:00
|
|
|
padding: 40px;
|
2016-01-20 19:02:13 +03:00
|
|
|
background: $samples-panel-bg-color;
|
2015-10-21 14:46:15 +03:00
|
|
|
}
|
2015-10-21 14:07:22 +03:00
|
|
|
|
2015-10-22 20:54:26 +03:00
|
|
|
responses-samples {
|
|
|
|
display: block;
|
2015-10-25 14:26:38 +03:00
|
|
|
}
|
|
|
|
|
2016-03-08 23:03:05 +03:00
|
|
|
.method-samples header,
|
|
|
|
.method-samples > h5 {
|
2015-11-22 16:45:27 +03:00
|
|
|
color: $sample-panel-headers-color;
|
|
|
|
text-transform: uppercase;
|
2015-10-25 14:26:38 +03:00
|
|
|
}
|
|
|
|
|
2016-03-08 23:03:05 +03:00
|
|
|
.method-samples > h5 {
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
|
2015-11-22 16:45:27 +03:00
|
|
|
.method-samples schema-sample {
|
2015-10-25 14:26:38 +03:00
|
|
|
display: block;
|
2015-10-21 17:24:04 +03:00
|
|
|
}
|
|
|
|
|
2015-10-21 14:07:22 +03:00
|
|
|
.method:after {
|
|
|
|
content: "";
|
|
|
|
display: table;
|
|
|
|
clear:both;
|
|
|
|
}
|
|
|
|
|
2015-10-18 20:16:40 +03:00
|
|
|
.method-description {
|
2016-03-08 23:03:05 +03:00
|
|
|
padding: 6px 0 10px 0;
|
2016-01-23 15:53:10 +03:00
|
|
|
margin: 0;
|
2015-10-18 20:16:40 +03:00
|
|
|
}
|
|
|
|
|
2015-10-10 15:34:46 +03:00
|
|
|
.http-method {
|
2016-03-08 23:03:05 +03:00
|
|
|
color: $black;
|
|
|
|
background: #ffffff;
|
2015-11-17 01:03:49 +03:00
|
|
|
padding: 3px 10px;
|
|
|
|
text-transform: uppercase;
|
2015-10-10 15:34:46 +03:00
|
|
|
}
|
|
|
|
|
2016-01-20 19:02:13 +03:00
|
|
|
@media (max-width: 1100px) {
|
|
|
|
.methods:before {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.method-samples, .method-content {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.method-samples {
|
|
|
|
margin-top: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
:host {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|