This commit is contained in:
Anna Bodnia
2016-02-23 21:08:44 +02:00
parent 8af3a5046e
commit 56e048aa17
7 changed files with 218 additions and 149 deletions

4
dist/css/print.css vendored
View File

@@ -1181,6 +1181,10 @@
.swagger-section .oauth_submit { .swagger-section .oauth_submit {
text-align: center; text-align: center;
} }
.swagger-section .authorize__btn:hover {
text-decoration: underline;
cursor: pointer;
}
.swagger-section .auth_container .basic_auth__title { .swagger-section .auth_container .basic_auth__title {
color: #547f00; color: #547f00;
font-size: 1.2em; font-size: 1.2em;

4
dist/css/screen.css vendored
View File

@@ -1181,6 +1181,10 @@
.swagger-section .oauth_submit { .swagger-section .oauth_submit {
text-align: center; text-align: center;
} }
.swagger-section .authorize__btn:hover {
text-decoration: underline;
cursor: pointer;
}
.swagger-section .auth_container .basic_auth__title { .swagger-section .auth_container .basic_auth__title {
color: #547f00; color: #547f00;
font-size: 1.2em; font-size: 1.2em;

255
dist/swagger-ui.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -124,11 +124,11 @@
display: block; display: block;
overflow-x: auto; overflow-x: auto;
padding: 0.5em; padding: 0.5em;
background: #f0f0f0; background: #F0F0F0;
} }
.swagger-section .hljs, .swagger-section .hljs,
.swagger-section .hljs-subst { .swagger-section .hljs-subst {
color: #444444; color: #444;
} }
.swagger-section .hljs-keyword, .swagger-section .hljs-keyword,
.swagger-section .hljs-attribute, .swagger-section .hljs-attribute,
@@ -143,7 +143,7 @@
.swagger-section .hljs-bullet, .swagger-section .hljs-bullet,
.swagger-section .hljs-code, .swagger-section .hljs-code,
.swagger-section .hljs-addition { .swagger-section .hljs-addition {
color: #1f811f; color: #1F811F;
} }
.swagger-section .hljs-regexp, .swagger-section .hljs-regexp,
.swagger-section .hljs-symbol, .swagger-section .hljs-symbol,
@@ -152,7 +152,7 @@
.swagger-section .hljs-link, .swagger-section .hljs-link,
.swagger-section .hljs-selector-attr, .swagger-section .hljs-selector-attr,
.swagger-section .hljs-selector-pseudo { .swagger-section .hljs-selector-pseudo {
color: #bc6060; color: #BC6060;
} }
.swagger-section .hljs-type, .swagger-section .hljs-type,
.swagger-section .hljs-string, .swagger-section .hljs-string,
@@ -173,7 +173,7 @@
color: #888888; color: #888888;
} }
.swagger-section .hljs-meta { .swagger-section .hljs-meta {
color: #2b6ea1; color: #2B6EA1;
} }
.swagger-section .hljs-emphasis { .swagger-section .hljs-emphasis {
font-style: italic; font-style: italic;

View File

@@ -124,11 +124,11 @@
display: block; display: block;
overflow-x: auto; overflow-x: auto;
padding: 0.5em; padding: 0.5em;
background: #f0f0f0; background: #F0F0F0;
} }
.swagger-section .hljs, .swagger-section .hljs,
.swagger-section .hljs-subst { .swagger-section .hljs-subst {
color: #444444; color: #444;
} }
.swagger-section .hljs-keyword, .swagger-section .hljs-keyword,
.swagger-section .hljs-attribute, .swagger-section .hljs-attribute,
@@ -143,7 +143,7 @@
.swagger-section .hljs-bullet, .swagger-section .hljs-bullet,
.swagger-section .hljs-code, .swagger-section .hljs-code,
.swagger-section .hljs-addition { .swagger-section .hljs-addition {
color: #1f811f; color: #1F811F;
} }
.swagger-section .hljs-regexp, .swagger-section .hljs-regexp,
.swagger-section .hljs-symbol, .swagger-section .hljs-symbol,
@@ -152,7 +152,7 @@
.swagger-section .hljs-link, .swagger-section .hljs-link,
.swagger-section .hljs-selector-attr, .swagger-section .hljs-selector-attr,
.swagger-section .hljs-selector-pseudo { .swagger-section .hljs-selector-pseudo {
color: #bc6060; color: #BC6060;
} }
.swagger-section .hljs-type, .swagger-section .hljs-type,
.swagger-section .hljs-string, .swagger-section .hljs-string,
@@ -173,7 +173,7 @@
color: #888888; color: #888888;
} }
.swagger-section .hljs-meta { .swagger-section .hljs-meta {
color: #2b6ea1; color: #2B6EA1;
} }
.swagger-section .hljs-emphasis { .swagger-section .hljs-emphasis {
font-style: italic; font-style: italic;

View File

@@ -36,7 +36,7 @@
if (url && url.length > 1) { if (url && url.length > 1) {
url = decodeURIComponent(url[1]); url = decodeURIComponent(url[1]);
} else { } else {
url = "http://localhost:3001/swagger.json"; url = "http://petstore.swagger.io/v2/swagger.json";
} }
hljs.configure({ hljs.configure({