birzha-legalizasia/public/swagger/styles-fix.css

761 lines
17 KiB
CSS
Executable File

/* advanced start */
h1 small, h2 small, h3 small, h4 small, h5 small, h6 small {
color: #777;
font-size: 0.9em;
font-weight: 300;
}
a, .swagger-ui .info a, span.link {
text-decoration: none;
font-family: MailSans;
font-weight: 500;
font-size: 20px;
line-height: 32px;
color: #005BD1;
cursor: pointer;
}
a:hover, a:focus {
text-decoration: underline;
}
pre {
display: block;
padding: 0.3em;
margin: 0 0 9px;
font-size: 1.3rem;
line-height: 1.42857143;
word-break: break-all;
border: 1px solid #ccc;
border-radius: 4px;
font-family: MailSans;
}
code {
color: #F5148C;
font-size: 13px;
line-height: 20px;
font-family: MailSans !important;
}
#wrapper {
position: relative;
min-height: 100%;
background-color: #fff;
font-size: 1.3rem;
max-width: 1460px;
padding: 0 20px;
}
.swagger-ui {
overflow: auto;
}
.swagger-ui .info {
margin: 50px 0;
}
.swagger-ui .info code, .swagger-ui .markdown code, .swagger-ui .renderedMarkdown code {
line-height: 2;
background-color: #E2EAF3;
color: #F84FA9;
font-family: MailSans;
font-size: 20px;
font-weight: 500;
padding: 0 4px;
}
.doc-botapi_icq .swagger-ui .info code,
.doc-botapi_icq .swagger-ui .markdown code,
.doc-botapi_icq .swagger-ui .renderedMarkdown code {
color: #08A03C;
background-color: #F1F4F9;
}
.doc-botapi_agent .swagger-ui .info code,
.doc-botapi_agent .swagger-ui .markdown code,
.doc-botapi_agent .swagger-ui .renderedMarkdown code {
color: #2D90F5;
background-color: #F1F4F9;
}
.swagger-ui .info .title span {
display: block;
top: 15px;
position: relative;
}
.swagger-ui .info .title small {
border-radius: 3px;
height: 25px;
}
.swagger-ui .info .title small pre {
border: none;
background: none;
}
.col.col_header.response-col_description {
font-size: 14px;
}
/* advanced end */
html {
font-family: MailSans;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
font-size: 10px;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body {
font-family: MailSans;
font-size: 13px;
line-height: 1.42857143;
color: #888888;
background-color: #eeeeee;
}
body, html {
min-width: inherit;
font-size: 9px;
color: #444;
}
.swagger-ui {
position: relative;
}
.swagger-ui .info .main a,
.swagger-ui .opblock-tag button, .swagger-ui section.models h4 svg,
.swagger-ui .opblock-tag small,
opsFilter.operation-filter-input,
.filter-container,
.opblock-summary-description,
.swagger-ui .opblock .tab-header .tab-item.active h4 span:after,
.swagger-ui .parameter__name.required span,
.swagger-ui .parameter__deprecated,
.swagger-ui .response-col_links {
display: none;
}
.swagger-ui .info .title {
font-weight: bold;
font-family: MailSans;
}
h2, .swagger-ui .servers-title {
font-size: 28px;
line-height: 36px;
color: #2C2D2E;
margin: 48px 0 16px;
font-weight: 500;
font-family: MailSans;
}
.swagger-ui .servers-title {
display: none;
margin-top: 0;
}
.swagger-ui .scheme-container {
margin-top: -35px;
padding-top: 0;
box-shadow: none;
}
.swagger-ui .info li,
.swagger-ui li,
.swagger-ui .info p,
.swagger-ui .info table,
.swagger-ui .opblock-description-wrapper p,
.swagger-ui .opblock-external-docs-wrapper p,
.swagger-ui .opblock-title_normal p {
/*font: 400 13px/1.5385 Arial,Helvetica,sans-serif;*/
font-size: 20px;
line-height: 32px;
color: #2C2D2E;
font-family: MailSans;
}
.swagger-ui .opblock-tag-section {
margin-bottom: -1px;
box-shadow: none;
}
.swagger-ui span:first-child .opblock-tag-section {
border-top-left-radius: 2px;
border-top-right-radius: 2px;
margin-top: 0;
}
.swagger-ui span:last-child .opblock-tag-section {
border-bottom-left-radius: 2px;
border-bottom-right-radius: 2px;
margin-bottom: 0;
}
.swagger-ui section.models {
border: none;
box-shadow: -1px 0 0 0 #e1e1e1, 1px 0 0 0 #e1e1e1, inset 0 -1px 0 0 #e1e1e1, inset 0 1px 0 0 #e1e1e1;
}
.swagger-ui .opblock-tag-section.is-open {
margin: 13px 0;
border-radius: 2px;
}
.swagger-ui section.models.is-open {
border-radius: 2px;
border: none;
box-shadow: -1px 0 0 0 #e1e1e1, 1px 0 0 0 #e1e1e1, 0 -1px 0 0 #e1e1e1, 0 1px 0 0 #e1e1e1;
}
.swagger-ui .opblock-tag, .swagger-ui section.models h4 {
border-bottom: none;
color: #333;
cursor: pointer;
display: block;
font-size: 15px;
font-weight: 700;
line-height: 40px;
padding: 0;
position: relative;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-user-select: none;
margin: 0;
transition: none;
-webkit-transition: none;
pointer-events: none;
}
.swagger-ui .opblock-summary:before, .botapi-lang-switcher:before {
content: "";
display: inline-block;
position: absolute;
width: 8px;
height: 8px;
text-indent: -9999px;
border-top: 2px solid white;
border-left: 2px solid white;
transition: all 250ms ease-in-out;
text-decoration: none;
color: transparent;
right: 26px;
top: 23px;
transform: rotate(-135deg);
}
.botapi_icq .botapi-lang-switcher:before, .botapi_agent .botapi-lang-switcher:before {
border-color: #2C2D2E;
}
.swagger-ui .opblock-tag:hover, .swagger-ui section.models h4:hover {
background-color: transparent;
}
.swagger-ui .is-open .opblock-tag, .swagger-ui section.models.is-open h4 {
margin-bottom: 10px;
}
.swagger-ui div.opblock.is-open div.opblock-summary:before {
transform: rotate(45deg);
top: 26px;
}
.swagger-ui .is-open .opblock-tag:hover, .swagger-ui section.models.is-open h4:hover {
background-color: #f0f0f0;
}
.swagger-ui .model-box {
padding: 5px;
}
.swagger-ui section.models .model-container {
margin: 0 10px 10px;
}
.swagger-ui section.models .model-container:first-of-type {
margin: 10px;
}
.swagger-ui section.models .model-container:last-of-type {
margin: 0 10px;
}
.swagger-ui section.models.is-open {
padding: 0 0 10px;
}
.swagger-ui .response-col_description__inner div.markdown, .swagger-ui .response-col_description__inner div.renderedMarkdown {
font-size: 12px;
font-style: italic;
display: block;
margin: 0;
border-radius: 4px;
font-family: monospace;
font-weight: 600;
color: #fff;
background-color: transparent;
padding: 10px 10px 10px 0;
}
/* 2020 colors */
.doc-botapi_icq .swagger-ui .opblock.opblock-post{border-color:#22F200;background:rgba(34,242,0,.1)}
.doc-botapi_icq .swagger-ui .opblock.opblock-post .opblock-summary-method{background: #08A03C;}
.doc-botapi_agent .swagger-ui .opblock.opblock-post .opblock-summary-method{background: #2D90F5;}
.doc-botapi_icq .swagger-ui .opblock.opblock-post .opblock-summary{background-color:#F1F4F9;}
.doc-botapi_agent .swagger-ui .opblock.opblock-post .opblock-summary{background-color:#F1F4F9;}
.doc-botapi_icq .swagger-ui .opblock.opblock-post .tab-header .tab-item.active h4 span:after{background:#22F200}
.doc-botapi_icq .swagger-ui .opblock.opblock-get{border-color:#000000;background:rgba(0,0,0,.1)}
.doc-botapi_icq .swagger-ui .opblock.opblock-get .opblock-summary-method{background:#F1F4F9}
.doc-botapi_icq .swagger-ui .opblock.opblock-get .opblock-summary{background-color:#08A03C}
.doc-botapi_agent .swagger-ui .opblock.opblock-get .opblock-summary{background-color:#2D90F5}
.doc-botapi_agent .swagger-ui .opblock.opblock-get .opblock-summary-method{background:#F1F4F9}
.doc-botapi_icq .swagger-ui .opblock.opblock-get .tab-header .tab-item.active h4 span:after{background:#000000}
.doc-botapi_icq .swagger-ui textarea:focus{border:2px solid #000000}
.doc-botapi_icq .swagger-ui .info hgroup.main .title small:nth-child(2) {
background-color: #22F200 !important;
}
/* end 2020 colors */
#wrapper {
max-width: 1060px;
width: 100%;
margin: 80px auto 0;
}
.botapi-header {
height: 84px;
line-height: 84px;
width: 100%;
position: fixed;
top: 0;
z-index: 1;
background-color: #F1F4F9;
transform: translate3d(0px, 0px, 0px);
}
.botapi-logo {
position: relative;
height: 100%;
max-width: 1060px;
margin: 0 auto;
display: flex;
}
.botapi-logo .logo {
content: '';
display: inline-block;
width: 120px;
height: 100%;
background-repeat: no-repeat;
background-position: center;
}
.botapi_agent .botapi-logo .logo {
background-image: url(./res/logo_agent.svg?1);
background-size: 126px 51px;
}
.botapi_icq .botapi-logo .logo {
background-image: url(./res/logo_icq_new.png?2);
background-size: 130px 51px;
width: 127px;
background-position: center;
}
.botapi_icq .header-links, .botapi_agent .header-links {
margin-left: 50px;
color: #2C2D2E;
}
.botapi_myteam.botapi-header {
background-color: #060540;
}
.botapi_myteam .botapi-logo .logo {
width: 0;
}
.botapi_myteam .botapi-logo .logo {
width: 140px;
background-image: url(./res/logo_myteam.svg?1);
background-size: 140px 51px;
position: absolute;
}
.botapi-copyright {
margin-top: 50px;
text-align: center;
font-size: 14px;
display: none;
}
.botapi-copyright a {
color: #4990e2;
}
.botapi-lang-switcher {
position: absolute;
right: 5px;
top: 0;
font-size: 16px;
color: #2C2D2E;
padding-right: 30px;
cursor: pointer;
font-weight: 500;
}
.botapi_myteam .botapi-lang-switcher {
color: #ffffff;
}
.swagger-ui b, .swagger-ui strong {
font-weight: 500;
}
.swagger-ui h1, .swagger-ui .info .title {
font-size: 56px;
line-height: 65px;
color: #2C2D2E;
}
.swagger-ui .info h1, .swagger-ui .info h2, .swagger-ui .info h3, .swagger-ui .info h4, .swagger-ui .info h5 {
font-family: MailSans;
color: #2C2D2E;
}
.swagger-ui select {
border: 1px solid rgba(0, 16, 61, 0.12);
box-shadow: none;
height: 56px;
width: 420px;
background-color: #FFFFFF;
}
.swagger-ui h4.opblock-tag {
font-family: MailSans;
font-weight: 500;
font-size: 28px;
line-height: 36px;
text-transform: capitalize;
}
.swagger-ui .opblock {
border: 0;
box-shadow: none;
background: none !important;
}
.swagger-ui .opblock.opblock-get .opblock-summary {
border: none;
border-radius: 4px;
height: 56px;
padding: 12px 20px;
position: relative;
background-color: #201A75;
}
.swagger-ui .opblock .opblock-summary-path {
color: white;
font-family: MailSans;
font-weight: 400;
font-size: 20px !important;
}
.swagger-ui .opblock .opblock-summary-method {
background-color: #E2EAF3;
min-width: 57px;
border-radius: 4px;
font-family: MailSans;
font-size: 20px;
line-height: 24px;
color: #2C2D2E;
font-weight: 500;
padding-left: 8px;
padding-right: 8px;
height: 32px;
}
.swagger-ui .opblock .opblock-section-header h4,
.swagger-ui table thead tr td,
.swagger-ui table thead tr th,
.swagger-ui .parameter__name.required,
.swagger-ui .parameter__name.required:after,
.swagger-ui .parameter__type,
.swagger-ui .parameter__extension,
.swagger-ui .parameter__in,
.swagger-ui .renderedMarkdown p,
.swagger-ui .parameters-col_description input[type=text],
.swagger-ui .response-col_status,
.swagger-ui .response-col_description__inner div.markdown p,
.swagger-ui .response-col_description__inner div.renderedMarkdown p,
.swagger-ui .response-control-examples__title,
.swagger-ui .response-control-media-type__title,
.swagger-ui select,
.swagger-ui .tab li,
.swagger-ui .opblock-body pre.microlight,
.swagger-ui .parameter__name {
font-family: MailSans;
font-weight: 500;
font-size: 20px;
line-height: 32px;
color: #2C2D2E;
font-style: normal;
}
.swagger-ui .opblock .opblock-section-header {
box-shadow: none;
border-radius: 4px;
background-color: #F1F4F9;
height: 56px;
margin-top: 10px;
}
.swagger-ui .table-container,
.swagger-ui .responses-inner,
.swagger-ui .parameters-col_description,
.swagger-ui .response-col_description {
padding: 0;
}
.swagger-ui table thead tr td,
.swagger-ui table thead tr th {
padding-left: 20px;
}
.swagger-ui .parameter__name.required:after {
font-weight: 400;
color: #F5148C;
top: 0;
content: '\*required';
}
.swagger-ui .parameter__type,
.swagger-ui .parameter__extension,
.swagger-ui .parameter__in {
display: inline;
font-weight: 400;
}
.swagger-ui .parameter__type {
padding-right: 5px;
}
.swagger-ui .renderedMarkdown p,
.swagger-ui .response-col_description__inner div.markdown p,
.swagger-ui .response-col_description__inner div.renderedMarkdown p {
font-weight: 400;
margin: 0;
}
.swagger-ui .parameters-col_description input[type=text] {
height: 56px;
font-weight: 400;
}
.swagger-ui input[disabled],
.swagger-ui select[disabled],
.swagger-ui textarea[disabled],
.swagger-ui .parameters-col_description input[disabled]{
color: #919399;
background-color: #F0F0F0;
border-color: #d9d9d9;
-webkit-text-fill-color: #919399;
opacity: 1; /* required on iOS */
}
.swagger-ui table tbody tr td:first-of-type {
padding-left: 20px;
padding-top: 0;
min-width: 300px;
}
.swagger-ui .parameter__name.required,
.swagger-ui .parameters-col_description div.renderedMarkdown,
.swagger-ui .parameter__type,
.swagger-ui .parameter__name {
min-height: 56px;
line-height: 56px;
}
.swagger-ui .parameters-col_description div.renderedMarkdown p {
line-height: 32px;
display: inline-block;
vertical-align: middle;
}
.swagger-ui .response-control-media-type--accept-controller select {
border: 1px solid rgba(0, 16, 61, 0.12);
}
.swagger-ui .response-control-examples__title, .swagger-ui .response-control-media-type__title {
margin-bottom: 10px;
}
.swagger-ui .response-control-media-type__accept-message,
.swagger-ui .response-control-alternative-examples__title {
font-family: MailSans;
font-weight: 400;
font-size: 13px;
line-height: 20px;
color: #2C2D2E;
display: block;
height: 20px;
margin-top: 10px;
}
.swagger-ui .tab li,
.swagger-ui select {
font-weight: 400;
}
.swagger-ui .tab li a.tablinks {
color: #2C2D2E;
font-weight: 400;
}
.swagger-ui .tab li.active a.tablinks {
font-weight: 500;
}
.swagger-ui .tab li:first-of-type:after {
top: 7px;
width: 2px;
height: 18px;
background: black;
}
.swagger-ui .opblock-body pre.microlight {
border: 0;
background-color: #F1F4F9;
padding: 24px;
}
.swagger-ui .opblock-body pre.microlight span,
.swagger-ui .parameter__name{
color: #2C2D2E !important;
font-weight: 400;
}
.swagger-ui .opblock.opblock-post .opblock-summary {
border: none;
border-radius: 4px;
height: 56px;
padding: 12px 20px;
position: relative;
background-color: #C0BCF0;
}
.swagger-ui .opblock.opblock-post .opblock-summary:before {
border-color: #2C2D2E;
}
.swagger-ui .opblock.opblock-post .opblock-summary-method {
background-color: #201A75;
color: white;
}
.swagger-ui div.opblock-post span.opblock-summary-path {
color: #2C2D2E;
}
.swagger-ui h4.opblock-title.parameter__name.required {
display: contents;
}
.swagger-ui .response-col_status {
padding-top: 10px !important;
}
.swagger-ui ul {
font-family: MailSans;
}
.botapi-lang-switcher:before {
top: 36px;
right: 11px;
}
.botapi-lang-switcher.is-open div.botapi-switcher-menu,
.libraries-list.is-open div.botapi-switcher-menu {
visibility: visible;
}
.botapi-switcher-menu {
width: 140px;
background: #090330;
box-shadow: 0px 4px 12px rgba(4, 1, 45, 0.2);
border-radius: 12px;
position: absolute;
right: 0;
top: 54px;
padding: 12px 0;
visibility: hidden;
}
.botapi-switcher-menu a {
height: 56px;
font-size: 15px;
line-height: 56px;
padding-left: 22px;
color: #C0BCF0;
display: block;
text-decoration: none;
}
.botapi-switcher-menu a:hover {
background-color: rgba(0, 95, 249, 0.26);
color: #FFFFFF;
}
.doc-botapi_icq .botapi-switcher-menu, .doc-botapi_agent .botapi-switcher-menu {
background-color: #CCCFD8;
box-shadow: 0px 4px 12px #CCCFD8;
}
.doc-botapi_icq .botapi-switcher-menu a, .doc-botapi_agent .botapi-switcher-menu a {
color: #2C2D2E;
}
.doc-botapi_icq .botapi-switcher-menu a:hover, .doc-botapi_agent .botapi-switcher-menu a:hover {
background-color: rgba(111, 116, 126, 0.1);
}
.header-links {
max-width: 100%;
font-weight: 500;
font-size: 16px;
display: flex;
margin-left: 190px;
color: #FFFFFF;
}
.header-links div span {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
cursor: pointer;
}
.header-links div:not(:last-child) {
margin-right: 60px;
}
.header-links div span.selected {
color: #0A8DFF;
}
.libraries-list {
position: relative;
}
.swagger-ui .opblock.opblock-get .opblock-summary-method {
background-color: #E2EAF3;
}