2015-11-22 16:45:27 +03:00
|
|
|
@import '../../common/styles/variables';
|
|
|
|
|
2016-01-12 02:07:36 +03:00
|
|
|
:host {
|
|
|
|
display: block;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2015-12-26 20:44:39 +03:00
|
|
|
.redoc-wrap {
|
|
|
|
position: relative;
|
2016-03-01 01:18:00 +03:00
|
|
|
font-family: $base-font, $base-font-family;
|
|
|
|
font-size: $em-size;
|
|
|
|
line-height: $base-line-height;
|
|
|
|
color: $text-color;
|
2015-12-26 20:44:39 +03:00
|
|
|
}
|
|
|
|
|
2015-11-16 02:15:06 +03:00
|
|
|
side-menu {
|
|
|
|
display: block;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2015-12-26 20:44:39 +03:00
|
|
|
methods-list {
|
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2015-12-20 23:19:56 +03:00
|
|
|
api-info, .side-bar {
|
2015-11-16 02:15:06 +03:00
|
|
|
display: block;
|
2015-11-26 23:06:54 +03:00
|
|
|
padding: 10px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
api-info {
|
2016-03-01 21:08:02 +03:00
|
|
|
padding: 40px;
|
2015-11-16 02:15:06 +03:00
|
|
|
}
|
|
|
|
|
2015-12-21 00:34:20 +03:00
|
|
|
api-logo {
|
|
|
|
display: block;
|
|
|
|
text-align: center;
|
2016-01-21 18:26:54 +03:00
|
|
|
|
|
|
|
@media (max-width: $side-menu-mobile-breakpoint) {
|
|
|
|
display: none;
|
|
|
|
}
|
2015-12-21 00:34:20 +03:00
|
|
|
}
|
|
|
|
|
2016-01-21 01:09:42 +03:00
|
|
|
[sticky-sidebar] {
|
2015-12-20 23:19:56 +03:00
|
|
|
width: $side-bar-width;
|
2016-01-21 18:26:54 +03:00
|
|
|
background-color: $side-bar-bg-color;
|
2015-11-16 02:15:06 +03:00
|
|
|
overflow-y: auto;
|
2015-12-26 20:44:39 +03:00
|
|
|
overflow-x: hidden;
|
2016-01-21 18:26:54 +03:00
|
|
|
|
|
|
|
@media (max-width: $side-menu-mobile-breakpoint) {
|
|
|
|
z-index: 1;
|
|
|
|
width: 100%;
|
|
|
|
bottom: auto !important;
|
|
|
|
}
|
2015-11-16 02:15:06 +03:00
|
|
|
}
|
|
|
|
|
2015-12-26 20:44:39 +03:00
|
|
|
#api-content {
|
2015-12-20 23:19:56 +03:00
|
|
|
margin-left: $side-bar-width;
|
2016-01-21 18:26:54 +03:00
|
|
|
@media (max-width: $side-menu-mobile-breakpoint) {
|
|
|
|
padding-top: 3em;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#api-content:after {
|
|
|
|
content: "";
|
|
|
|
position: absolute;;
|
|
|
|
left:0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
background-color: black;
|
|
|
|
opacity: 0.5;
|
|
|
|
transition: all 0.3s ease;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#api-content.menu-opened:after {
|
|
|
|
display: block;;
|
2015-11-16 02:15:06 +03:00
|
|
|
}
|
2016-03-01 21:08:02 +03:00
|
|
|
|
|
|
|
/* global redoc styles */
|
|
|
|
|
|
|
|
:host p {
|
|
|
|
margin: 0;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* markdown elements */
|
|
|
|
|
|
|
|
:host .redoc-markdown-block {
|
|
|
|
pre {
|
|
|
|
font-family: Courier, monospace;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
background-color: rgba(38,50,56,0.04);
|
|
|
|
padding: 12px 14px 15px 14px;
|
|
|
|
overflow-x: auto;
|
|
|
|
line-height: normal;
|
|
|
|
border-radius: $border-radius;
|
|
|
|
border: 1px solid rgba(38,50,56,0.1);
|
|
|
|
|
|
|
|
code {
|
|
|
|
background-color: transparent;
|
|
|
|
|
|
|
|
&:before, &:after {
|
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
|
|
|
font-family: Courier, monospace;
|
|
|
|
background-color: rgba(0,0,0,0.04);
|
|
|
|
padding: 0.2em 0;
|
|
|
|
font-size: 1em;
|
|
|
|
border-radius: 3px;
|
|
|
|
|
|
|
|
&:before, &:after {
|
|
|
|
letter-spacing: -0.2em;
|
|
|
|
content: "\\00a0";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
p:last-of-type {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
margin: 0;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
padding: 0 15px;
|
|
|
|
color: #777;
|
|
|
|
border-left: 4px solid #ddd;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
box-sizing: content-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul, ol {
|
|
|
|
padding-left: 2em;
|
|
|
|
margin: 0;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
overflow: auto;
|
|
|
|
word-break: normal;
|
|
|
|
word-break: keep-all;
|
|
|
|
border-collapse: collapse;
|
|
|
|
border-spacing: 0;
|
|
|
|
margin-top: 0.5em;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
table tr {
|
|
|
|
background-color: #fff;
|
|
|
|
border-top: 1px solid #ccc;
|
|
|
|
|
|
|
|
&:nth-child(2n) {
|
|
|
|
background-color: #f8f8f8;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
table th, table td {
|
|
|
|
padding: 6px 13px;
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
}
|
|
|
|
|
|
|
|
table th {
|
|
|
|
text-align: left;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|