grape-swagger-ui 0.0.9 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/CHANGELOG.md +39 -0
  4. data/README.md +11 -15
  5. data/app/views/layouts/swagger.html.erb +75 -61
  6. data/lib/generators/swagger/layout/templates/swagger.html.haml +67 -20
  7. data/lib/grape-swagger-ui/version.rb +1 -1
  8. data/vendor/assets/fonts/DroidSans-Bold.ttf +0 -0
  9. data/vendor/assets/fonts/DroidSans.ttf +0 -0
  10. data/vendor/assets/images/collapse.gif +0 -0
  11. data/vendor/assets/images/expand.gif +0 -0
  12. data/vendor/assets/images/favicon-16x16.png +0 -0
  13. data/vendor/assets/images/favicon-32x32.png +0 -0
  14. data/vendor/assets/images/favicon.ico +0 -0
  15. data/vendor/assets/javascripts/lang/en.js +56 -0
  16. data/vendor/assets/javascripts/lang/es.js +53 -0
  17. data/vendor/assets/javascripts/lang/fr.js +54 -0
  18. data/vendor/assets/javascripts/lang/geo.js +56 -0
  19. data/vendor/assets/javascripts/lang/it.js +52 -0
  20. data/vendor/assets/javascripts/lang/ja.js +53 -0
  21. data/vendor/assets/javascripts/lang/pl.js +53 -0
  22. data/vendor/assets/javascripts/lang/pt.js +53 -0
  23. data/vendor/assets/javascripts/lang/ru.js +56 -0
  24. data/vendor/assets/javascripts/lang/tr.js +53 -0
  25. data/vendor/assets/javascripts/lang/translator.js +39 -0
  26. data/vendor/assets/javascripts/lang/zh-cn.js +53 -0
  27. data/vendor/assets/javascripts/lib/backbone-min.js +14 -37
  28. data/vendor/assets/javascripts/lib/handlebars-2.0.0.js +28 -0
  29. data/vendor/assets/javascripts/lib/highlight.9.1.0.pack.js +2 -0
  30. data/vendor/assets/javascripts/lib/highlight.9.1.0.pack_extended.js +34 -0
  31. data/vendor/assets/javascripts/lib/jquery-1.8.0.min.js +1 -1
  32. data/vendor/assets/javascripts/lib/js-yaml.min.js +3 -0
  33. data/vendor/assets/javascripts/lib/jsoneditor.min.js +11 -0
  34. data/vendor/assets/javascripts/lib/lodash.min.js +102 -0
  35. data/vendor/assets/javascripts/lib/marked.js +1272 -0
  36. data/vendor/assets/javascripts/lib/object-assign-pollyfill.js +23 -0
  37. data/vendor/assets/javascripts/lib/swagger-oauth.js +193 -65
  38. data/vendor/assets/javascripts/swagger-ui.js +22064 -2110
  39. data/vendor/assets/javascripts/swagger-ui.min.js +9 -0
  40. data/vendor/assets/javascripts/swagger_ui.js +11 -8
  41. data/vendor/assets/stylesheets/print.css +1362 -0
  42. data/vendor/assets/stylesheets/reset_2.css +125 -0
  43. data/vendor/assets/stylesheets/screen.css +310 -45
  44. data/vendor/assets/stylesheets/style.css +250 -0
  45. data/vendor/assets/stylesheets/swagger_ui.css +7 -2
  46. data/vendor/assets/stylesheets/swagger_ui_print.css +15 -0
  47. data/vendor/assets/stylesheets/swagger_ui_screen.css +16 -0
  48. data/vendor/assets/stylesheets/typography.css +14 -0
  49. metadata +37 -8
  50. data/vendor/assets/javascripts/lib/handlebars-1.0.0.js +0 -2278
  51. data/vendor/assets/javascripts/lib/highlight.7.3.pack.js +0 -1
  52. data/vendor/assets/javascripts/lib/shred.bundle.js +0 -2765
  53. data/vendor/assets/javascripts/lib/shred/content.js +0 -193
  54. data/vendor/assets/javascripts/lib/swagger.js +0 -1653
  55. data/vendor/assets/javascripts/lib/underscore-min.js +0 -32
@@ -0,0 +1,125 @@
1
+ /* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 */
2
+ html,
3
+ body,
4
+ div,
5
+ span,
6
+ applet,
7
+ object,
8
+ iframe,
9
+ h1,
10
+ h2,
11
+ h3,
12
+ h4,
13
+ h5,
14
+ h6,
15
+ p,
16
+ blockquote,
17
+ pre,
18
+ a,
19
+ abbr,
20
+ acronym,
21
+ address,
22
+ big,
23
+ cite,
24
+ code,
25
+ del,
26
+ dfn,
27
+ em,
28
+ img,
29
+ ins,
30
+ kbd,
31
+ q,
32
+ s,
33
+ samp,
34
+ small,
35
+ strike,
36
+ strong,
37
+ sub,
38
+ sup,
39
+ tt,
40
+ var,
41
+ b,
42
+ u,
43
+ i,
44
+ center,
45
+ dl,
46
+ dt,
47
+ dd,
48
+ ol,
49
+ ul,
50
+ li,
51
+ fieldset,
52
+ form,
53
+ label,
54
+ legend,
55
+ table,
56
+ caption,
57
+ tbody,
58
+ tfoot,
59
+ thead,
60
+ tr,
61
+ th,
62
+ td,
63
+ article,
64
+ aside,
65
+ canvas,
66
+ details,
67
+ embed,
68
+ figure,
69
+ figcaption,
70
+ footer,
71
+ header,
72
+ hgroup,
73
+ menu,
74
+ nav,
75
+ output,
76
+ ruby,
77
+ section,
78
+ summary,
79
+ time,
80
+ mark,
81
+ audio,
82
+ video {
83
+ margin: 0;
84
+ padding: 0;
85
+ border: 0;
86
+ font-size: 100%;
87
+ font: inherit;
88
+ vertical-align: baseline;
89
+ }
90
+ /* HTML5 display-role reset for older browsers */
91
+ article,
92
+ aside,
93
+ details,
94
+ figcaption,
95
+ figure,
96
+ footer,
97
+ header,
98
+ hgroup,
99
+ menu,
100
+ nav,
101
+ section {
102
+ display: block;
103
+ }
104
+ body {
105
+ line-height: 1;
106
+ }
107
+ ol,
108
+ ul {
109
+ list-style: none;
110
+ }
111
+ blockquote,
112
+ q {
113
+ quotes: none;
114
+ }
115
+ blockquote:before,
116
+ blockquote:after,
117
+ q:before,
118
+ q:after {
119
+ content: '';
120
+ content: none;
121
+ }
122
+ table {
123
+ border-collapse: collapse;
124
+ border-spacing: 0;
125
+ }
@@ -82,7 +82,7 @@
82
82
  .swagger-section pre .vhdl .attribute,
83
83
  .swagger-section pre .clojure .attribute,
84
84
  .swagger-section pre .coffeescript .property {
85
- color: #8888ff;
85
+ color: #88F;
86
86
  }
87
87
  .swagger-section pre .keyword,
88
88
  .swagger-section pre .id,
@@ -120,12 +120,75 @@
120
120
  .swagger-section pre .xml .cdata {
121
121
  opacity: 0.5;
122
122
  }
123
+ .swagger-section .hljs {
124
+ display: block;
125
+ overflow-x: auto;
126
+ padding: 0.5em;
127
+ background: #F0F0F0;
128
+ }
129
+ .swagger-section .hljs,
130
+ .swagger-section .hljs-subst {
131
+ color: #444;
132
+ }
133
+ .swagger-section .hljs-keyword,
134
+ .swagger-section .hljs-attribute,
135
+ .swagger-section .hljs-selector-tag,
136
+ .swagger-section .hljs-meta-keyword,
137
+ .swagger-section .hljs-doctag,
138
+ .swagger-section .hljs-name {
139
+ font-weight: bold;
140
+ }
141
+ .swagger-section .hljs-built_in,
142
+ .swagger-section .hljs-literal,
143
+ .swagger-section .hljs-bullet,
144
+ .swagger-section .hljs-code,
145
+ .swagger-section .hljs-addition {
146
+ color: #1F811F;
147
+ }
148
+ .swagger-section .hljs-regexp,
149
+ .swagger-section .hljs-symbol,
150
+ .swagger-section .hljs-variable,
151
+ .swagger-section .hljs-template-variable,
152
+ .swagger-section .hljs-link,
153
+ .swagger-section .hljs-selector-attr,
154
+ .swagger-section .hljs-selector-pseudo {
155
+ color: #BC6060;
156
+ }
157
+ .swagger-section .hljs-type,
158
+ .swagger-section .hljs-string,
159
+ .swagger-section .hljs-number,
160
+ .swagger-section .hljs-selector-id,
161
+ .swagger-section .hljs-selector-class,
162
+ .swagger-section .hljs-quote,
163
+ .swagger-section .hljs-template-tag,
164
+ .swagger-section .hljs-deletion {
165
+ color: #880000;
166
+ }
167
+ .swagger-section .hljs-title,
168
+ .swagger-section .hljs-section {
169
+ color: #880000;
170
+ font-weight: bold;
171
+ }
172
+ .swagger-section .hljs-comment {
173
+ color: #888888;
174
+ }
175
+ .swagger-section .hljs-meta {
176
+ color: #2B6EA1;
177
+ }
178
+ .swagger-section .hljs-emphasis {
179
+ font-style: italic;
180
+ }
181
+ .swagger-section .hljs-strong {
182
+ font-weight: bold;
183
+ }
123
184
  .swagger-section .swagger-ui-wrap {
124
185
  line-height: 1;
125
186
  font-family: "Droid Sans", sans-serif;
187
+ min-width: 760px;
126
188
  max-width: 960px;
127
189
  margin-left: auto;
128
190
  margin-right: auto;
191
+ /* JSONEditor specific styling */
129
192
  }
130
193
  .swagger-section .swagger-ui-wrap b,
131
194
  .swagger-section .swagger-ui-wrap strong {
@@ -274,6 +337,9 @@
274
337
  font-weight: bold;
275
338
  font-size: 25px;
276
339
  }
340
+ .swagger-section .swagger-ui-wrap .footer {
341
+ margin-top: 20px;
342
+ }
277
343
  .swagger-section .swagger-ui-wrap p.big,
278
344
  .swagger-section .swagger-ui-wrap div.big p {
279
345
  font-size: 1em;
@@ -294,7 +360,13 @@
294
360
  .swagger-section .swagger-ui-wrap .message-fail {
295
361
  color: #cc0000;
296
362
  }
297
- .swagger-section .swagger-ui-wrap .info_contact {
363
+ .swagger-section .swagger-ui-wrap .info_url {
364
+ padding-bottom: 5px;
365
+ }
366
+ .swagger-section .swagger-ui-wrap .info_email {
367
+ padding-bottom: 5px;
368
+ }
369
+ .swagger-section .swagger-ui-wrap .info_name {
298
370
  padding-bottom: 5px;
299
371
  }
300
372
  .swagger-section .swagger-ui-wrap .info_description {
@@ -355,6 +427,7 @@
355
427
  }
356
428
  .swagger-section .swagger-ui-wrap .model-signature ul.signature-nav {
357
429
  display: block;
430
+ min-width: 230px;
358
431
  margin: 0;
359
432
  padding: 0;
360
433
  }
@@ -391,6 +464,43 @@
391
464
  font-weight: bold;
392
465
  color: #000;
393
466
  }
467
+ .swagger-section .swagger-ui-wrap .model-signature .description .propWrap .optionsWrapper {
468
+ border-spacing: 0;
469
+ position: absolute;
470
+ background-color: #ffffff;
471
+ border: 1px solid #bbbbbb;
472
+ display: none;
473
+ font-size: 11px;
474
+ max-width: 400px;
475
+ line-height: 30px;
476
+ color: black;
477
+ padding: 5px;
478
+ margin-left: 10px;
479
+ }
480
+ .swagger-section .swagger-ui-wrap .model-signature .description .propWrap .optionsWrapper th {
481
+ text-align: center;
482
+ background-color: #eeeeee;
483
+ border: 1px solid #bbbbbb;
484
+ font-size: 11px;
485
+ color: #666666;
486
+ font-weight: bold;
487
+ padding: 5px;
488
+ line-height: 15px;
489
+ }
490
+ .swagger-section .swagger-ui-wrap .model-signature .description .propWrap .optionsWrapper .optionName {
491
+ font-weight: bold;
492
+ }
493
+ .swagger-section .swagger-ui-wrap .model-signature .description .propDesc.markdown > p:first-child,
494
+ .swagger-section .swagger-ui-wrap .model-signature .description .propDesc.markdown > p:last-child {
495
+ display: inline;
496
+ }
497
+ .swagger-section .swagger-ui-wrap .model-signature .description .propDesc.markdown > p:not(:first-child):before {
498
+ display: block;
499
+ content: '';
500
+ }
501
+ .swagger-section .swagger-ui-wrap .model-signature .description span:last-of-type.propDesc.markdown > p:only-child {
502
+ margin-right: -3px;
503
+ }
394
504
  .swagger-section .swagger-ui-wrap .model-signature .propName {
395
505
  font-weight: bold;
396
506
  }
@@ -412,6 +522,17 @@
412
522
  .swagger-section .swagger-ui-wrap .required {
413
523
  font-weight: bold;
414
524
  }
525
+ .swagger-section .swagger-ui-wrap .editor_holder {
526
+ font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
527
+ font-size: 0.9em;
528
+ }
529
+ .swagger-section .swagger-ui-wrap .editor_holder label {
530
+ font-weight: normal!important;
531
+ /* JSONEditor uses bold by default for all labels, we revert that back to normal to not give the impression that by default fields are required */
532
+ }
533
+ .swagger-section .swagger-ui-wrap .editor_holder label.required {
534
+ font-weight: bold!important;
535
+ }
415
536
  .swagger-section .swagger-ui-wrap input.parameter {
416
537
  width: 300px;
417
538
  border: 1px solid #aaa;
@@ -546,6 +667,7 @@
546
667
  }
547
668
  .swagger-section .swagger-ui-wrap .markdown pre code {
548
669
  line-height: 1.6em;
670
+ overflow: auto;
549
671
  }
550
672
  .swagger-section .swagger-ui-wrap div.gist {
551
673
  margin: 20px 0 25px 0 !important;
@@ -666,6 +788,9 @@
666
788
  color: black;
667
789
  text-decoration: none;
668
790
  }
791
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.path a.toggleOperation.deprecated {
792
+ text-decoration: line-through;
793
+ }
669
794
  .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.path a:hover {
670
795
  text-decoration: underline;
671
796
  }
@@ -761,6 +886,9 @@
761
886
  outline: 2px solid black;
762
887
  outline-color: #cc0000;
763
888
  }
889
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content form select[name='parameterContentType'] {
890
+ max-width: 300px;
891
+ }
764
892
  .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.response div.block pre {
765
893
  font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
766
894
  padding: 10px;
@@ -1034,6 +1162,9 @@
1034
1162
  .swagger-section .swagger-ui-wrap form.form_box p strong {
1035
1163
  color: black;
1036
1164
  }
1165
+ .swagger-section .swagger-ui-wrap .operation-status td.markdown > p:last-child {
1166
+ padding-bottom: 0;
1167
+ }
1037
1168
  .swagger-section .title {
1038
1169
  font-style: bold;
1039
1170
  }
@@ -1051,18 +1182,122 @@
1051
1182
  }
1052
1183
  .swagger-section .oauth_submit {
1053
1184
  text-align: center;
1185
+ display: inline-block;
1186
+ }
1187
+ .swagger-section .authorize-wrapper {
1188
+ margin: 15px 0 10px;
1189
+ }
1190
+ .swagger-section .authorize-wrapper_operation {
1191
+ float: right;
1192
+ }
1193
+ .swagger-section .authorize__btn:hover {
1194
+ text-decoration: underline;
1195
+ cursor: pointer;
1196
+ }
1197
+ .swagger-section .authorize__btn_operation:hover .authorize-scopes {
1198
+ display: block;
1199
+ }
1200
+ .swagger-section .authorize-scopes {
1201
+ position: absolute;
1202
+ margin-top: 20px;
1203
+ background: #FFF;
1204
+ border: 1px solid #ccc;
1205
+ border-radius: 5px;
1206
+ display: none;
1207
+ font-size: 13px;
1208
+ max-width: 300px;
1209
+ line-height: 30px;
1210
+ color: black;
1211
+ padding: 5px;
1212
+ }
1213
+ .swagger-section .authorize-scopes .authorize__scope {
1214
+ text-decoration: none;
1215
+ }
1216
+ .swagger-section .authorize__btn_operation {
1217
+ height: 18px;
1218
+ vertical-align: middle;
1219
+ display: inline-block;
1220
+ background: url(../images/explorer_icons.png) no-repeat;
1221
+ }
1222
+ .swagger-section .authorize__btn_operation_login {
1223
+ background-position: 0 0;
1224
+ width: 18px;
1225
+ margin-top: -6px;
1226
+ margin-left: 4px;
1227
+ }
1228
+ .swagger-section .authorize__btn_operation_logout {
1229
+ background-position: -30px 0;
1230
+ width: 18px;
1231
+ margin-top: -6px;
1232
+ margin-left: 4px;
1233
+ }
1234
+ .swagger-section #auth_container {
1235
+ color: #fff;
1236
+ display: inline-block;
1237
+ border: none;
1238
+ padding: 5px;
1239
+ width: 87px;
1240
+ height: 13px;
1241
+ }
1242
+ .swagger-section #auth_container .authorize__btn {
1243
+ color: #fff;
1244
+ }
1245
+ .swagger-section .auth_container {
1246
+ padding: 0 0 10px;
1247
+ margin-bottom: 5px;
1248
+ border-bottom: solid 1px #CCC;
1249
+ font-size: 0.9em;
1250
+ }
1251
+ .swagger-section .auth_container .auth__title {
1252
+ color: #547f00;
1253
+ font-size: 1.2em;
1254
+ }
1255
+ .swagger-section .auth_container .basic_auth__label {
1256
+ display: inline-block;
1257
+ width: 60px;
1258
+ }
1259
+ .swagger-section .auth_container .auth__description {
1260
+ color: #999999;
1261
+ margin-bottom: 5px;
1262
+ }
1263
+ .swagger-section .auth_container .auth__button {
1264
+ margin-top: 10px;
1265
+ height: 30px;
1266
+ }
1267
+ .swagger-section .auth_container .key_auth__field {
1268
+ margin: 5px 0;
1269
+ }
1270
+ .swagger-section .auth_container .key_auth__label {
1271
+ display: inline-block;
1272
+ width: 60px;
1054
1273
  }
1055
1274
  .swagger-section .api-popup-dialog {
1056
- z-index: 10000;
1057
1275
  position: absolute;
1276
+ display: none;
1277
+ }
1278
+ .swagger-section .api-popup-dialog-wrapper {
1279
+ z-index: 1000;
1058
1280
  width: 500px;
1059
1281
  background: #FFF;
1060
1282
  padding: 20px;
1061
1283
  border: 1px solid #ccc;
1062
1284
  border-radius: 5px;
1063
- display: none;
1064
1285
  font-size: 13px;
1065
1286
  color: #777;
1287
+ position: fixed;
1288
+ top: 50%;
1289
+ left: 50%;
1290
+ transform: translate(-50%, -50%);
1291
+ }
1292
+ .swagger-section .api-popup-dialog-shadow {
1293
+ position: fixed;
1294
+ top: 0;
1295
+ left: 0;
1296
+ width: 100%;
1297
+ height: 100%;
1298
+ opacity: 0.2;
1299
+ background-color: gray;
1300
+ z-index: 900;
1066
1301
  }
1067
1302
  .swagger-section .api-popup-dialog .api-popup-title {
1068
1303
  font-size: 24px;
@@ -1072,14 +1307,18 @@
1072
1307
  font-size: 24px;
1073
1308
  padding: 10px 0;
1074
1309
  }
1075
- .swagger-section .api-popup-dialog p.error-msg {
1310
+ .swagger-section .api-popup-dialog .error-msg {
1076
1311
  padding-left: 5px;
1077
1312
  padding-bottom: 5px;
1078
1313
  }
1079
- .swagger-section .api-popup-dialog button.api-popup-authbtn {
1314
+ .swagger-section .api-popup-dialog .api-popup-content {
1315
+ max-height: 500px;
1316
+ overflow-y: auto;
1317
+ }
1318
+ .swagger-section .api-popup-dialog .api-popup-authbtn {
1080
1319
  height: 30px;
1081
1320
  }
1082
- .swagger-section .api-popup-dialog button.api-popup-cancel {
1321
+ .swagger-section .api-popup-dialog .api-popup-cancel {
1083
1322
  height: 30px;
1084
1323
  }
1085
1324
  .swagger-section .api-popup-scopes {
@@ -1089,14 +1328,14 @@
1089
1328
  padding: 5px 0;
1090
1329
  line-height: 20px;
1091
1330
  }
1092
- .swagger-section .api-popup-scopes .api-scope-desc {
1093
- padding-left: 20px;
1094
- font-style: italic;
1095
- }
1096
1331
  .swagger-section .api-popup-scopes li input {
1097
1332
  position: relative;
1098
1333
  top: 2px;
1099
1334
  }
1335
+ .swagger-section .api-popup-scopes .api-scope-desc {
1336
+ padding-left: 20px;
1337
+ font-style: italic;
1338
+ }
1100
1339
  .swagger-section .api-popup-actions {
1101
1340
  padding-top: 10px;
1102
1341
  }
@@ -1106,8 +1345,16 @@
1106
1345
  .swagger-section .auth {
1107
1346
  float: right;
1108
1347
  }
1109
- .swagger-section #api_information_panel {
1110
- position: absolute;
1348
+ .swagger-section .api-ic {
1349
+ height: 18px;
1350
+ vertical-align: middle;
1351
+ display: inline-block;
1352
+ background: url(../images/explorer_icons.png) no-repeat;
1353
+ }
1354
+ .swagger-section .api-ic .api_information_panel {
1355
+ position: relative;
1356
+ margin-top: 20px;
1357
+ margin-left: -5px;
1111
1358
  background: #FFF;
1112
1359
  border: 1px solid #ccc;
1113
1360
  border-radius: 5px;
@@ -1118,34 +1365,32 @@
1118
1365
  color: black;
1119
1366
  padding: 5px;
1120
1367
  }
1121
- .swagger-section #api_information_panel p .api-msg-enabled {
1368
+ .swagger-section .api-ic .api_information_panel p .api-msg-enabled {
1122
1369
  color: green;
1123
1370
  }
1124
- .swagger-section #api_information_panel p .api-msg-disabled {
1371
+ .swagger-section .api-ic .api_information_panel p .api-msg-disabled {
1125
1372
  color: red;
1126
1373
  }
1127
- .swagger-section .api-ic {
1128
- height: 18px;
1129
- vertical-align: middle;
1130
- display: inline-block;
1131
- background: url(../images/explorer_icons.png) no-repeat;
1374
+ .swagger-section .api-ic:hover .api_information_panel {
1375
+ position: absolute;
1376
+ display: block;
1132
1377
  }
1133
1378
  .swagger-section .ic-info {
1134
1379
  background-position: 0 0;
1135
1380
  width: 18px;
1136
- margin-top: -7px;
1381
+ margin-top: -6px;
1137
1382
  margin-left: 4px;
1138
1383
  }
1139
1384
  .swagger-section .ic-warning {
1140
1385
  background-position: -60px 0;
1141
1386
  width: 18px;
1142
- margin-top: -7px;
1387
+ margin-top: -6px;
1143
1388
  margin-left: 4px;
1144
1389
  }
1145
1390
  .swagger-section .ic-error {
1146
1391
  background-position: -30px 0;
1147
1392
  width: 18px;
1148
- margin-top: -7px;
1393
+ margin-top: -6px;
1149
1394
  margin-left: 4px;
1150
1395
  }
1151
1396
  .swagger-section .ic-off {
@@ -1162,34 +1407,33 @@
1162
1407
  }
1163
1408
  .swagger-section #header {
1164
1409
  background-color: #89bf04;
1165
- padding: 14px;
1410
+ padding: 9px 14px 19px 14px;
1411
+ height: 23px;
1412
+ min-width: 775px;
1166
1413
  }
1167
- .swagger-section #header a#logo {
1168
- font-size: 1.5em;
1169
- font-weight: bold;
1170
- text-decoration: none;
1171
- background: transparent url(../images/logo_small.png) no-repeat left center;
1172
- padding: 20px 0 20px 40px;
1173
- color: white;
1414
+ .swagger-section #input_baseUrl {
1415
+ width: 400px;
1174
1416
  }
1175
- .swagger-section #header form#api_selector {
1417
+ .swagger-section #api_selector {
1176
1418
  display: block;
1177
1419
  clear: none;
1178
1420
  float: right;
1179
1421
  }
1180
- .swagger-section #header form#api_selector .input {
1181
- display: block;
1422
+ .swagger-section #api_selector .input {
1423
+ display: inline-block;
1182
1424
  clear: none;
1183
- float: left;
1184
1425
  margin: 0 10px 0 0;
1185
1426
  }
1186
- .swagger-section #header form#api_selector .input input#input_apiKey {
1187
- width: 200px;
1427
+ .swagger-section #api_selector input {
1428
+ font-size: 0.9em;
1429
+ padding: 3px;
1430
+ margin: 0;
1188
1431
  }
1189
- .swagger-section #header form#api_selector .input input#input_baseUrl {
1190
- width: 400px;
1432
+ .swagger-section #input_apiKey {
1433
+ width: 200px;
1191
1434
  }
1192
- .swagger-section #header form#api_selector .input a#explore {
1435
+ .swagger-section #explore,
1436
+ .swagger-section #auth_container .authorize__btn {
1193
1437
  display: block;
1194
1438
  text-decoration: none;
1195
1439
  font-weight: bold;
@@ -1204,13 +1448,24 @@
1204
1448
  -khtml-border-radius: 4px;
1205
1449
  border-radius: 4px;
1206
1450
  }
1207
- .swagger-section #header form#api_selector .input a#explore:hover {
1451
+ .swagger-section #explore:hover,
1452
+ .swagger-section #auth_container .authorize__btn:hover {
1208
1453
  background-color: #547f00;
1209
1454
  }
1210
- .swagger-section #header form#api_selector .input input {
1211
- font-size: 0.9em;
1212
- padding: 3px;
1213
- margin: 0;
1455
+ .swagger-section #header #logo {
1456
+ font-size: 1.5em;
1457
+ font-weight: bold;
1458
+ text-decoration: none;
1459
+ color: white;
1460
+ }
1461
+ .swagger-section #header #logo .logo__img {
1462
+ display: block;
1463
+ float: left;
1464
+ margin-top: 2px;
1465
+ }
1466
+ .swagger-section #header #logo .logo__title {
1467
+ display: inline-block;
1468
+ padding: 5px 0 0 10px;
1214
1469
  }
1215
1470
  .swagger-section #content_message {
1216
1471
  margin: 10px 15px;
@@ -1222,3 +1477,13 @@
1222
1477
  text-align: center;
1223
1478
  padding-top: 10px;
1224
1479
  }
1480
+ .swagger-section .swagger-collapse:before {
1481
+ content: "-";
1482
+ }
1483
+ .swagger-section .swagger-expand:before {
1484
+ content: "+";
1485
+ }
1486
+ .swagger-section .error {
1487
+ outline-color: #cc0000;
1488
+ background-color: #f2dede;
1489
+ }