nexmo-oas-renderer 0.3.7 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -1
  3. data/Gemfile.lock +7 -7
  4. data/README.md +5 -0
  5. data/lib/nexmo/oas/renderer/app.rb +1 -0
  6. data/lib/nexmo/oas/renderer/filters/external_link.rb +1 -1
  7. data/lib/nexmo/oas/renderer/filters/heading.rb +1 -1
  8. data/lib/nexmo/oas/renderer/filters/icon.rb +3 -3
  9. data/lib/nexmo/oas/renderer/filters/tooltip.rb +1 -1
  10. data/lib/nexmo/oas/renderer/presenters/response_tab/link.rb +28 -0
  11. data/lib/nexmo/oas/renderer/presenters/response_tab/panel.rb +40 -0
  12. data/lib/nexmo/oas/renderer/presenters/response_tabs.rb +40 -0
  13. data/lib/nexmo/oas/renderer/public/assets/javascripts/application.js +19 -0
  14. data/lib/nexmo/oas/renderer/public/assets/javascripts/components/scroll.js +21 -0
  15. data/lib/nexmo/oas/renderer/public/assets/stylesheets/sass/api.scss +11 -1
  16. data/lib/nexmo/oas/renderer/public/assets/stylesheets/sass/core.scss +4 -0
  17. data/lib/nexmo/oas/renderer/public/assets/stylesheets/style.css +862 -1
  18. data/lib/nexmo/oas/renderer/public/assets/stylesheets/style.css.map +1 -1
  19. data/lib/nexmo/oas/renderer/version.rb +1 -1
  20. data/lib/nexmo/oas/renderer/views/layouts/_javascripts.erb +3 -0
  21. data/lib/nexmo/oas/renderer/views/open_api/_endpoint.erb +34 -53
  22. data/lib/nexmo/oas/renderer/views/open_api/_model.erb +1 -1
  23. data/lib/nexmo/oas/renderer/views/open_api/_navigation.erb +3 -3
  24. data/lib/nexmo/oas/renderer/views/open_api/_response_description_parameters.erb +2 -3
  25. data/lib/nexmo/oas/renderer/views/open_api/_response_descriptions.erb +9 -25
  26. data/lib/nexmo/oas/renderer/views/open_api/_response_fields.erb +18 -0
  27. data/lib/nexmo/oas/renderer/views/open_api/_response_tabs.erb +18 -0
  28. data/lib/nexmo/oas/renderer/views/open_api/show.erb +2 -2
  29. metadata +11 -16
  30. data/lib/nexmo/oas/renderer/public/assets/stylesheets/api.css +0 -95
  31. data/lib/nexmo/oas/renderer/public/assets/stylesheets/buttons.css +0 -80
  32. data/lib/nexmo/oas/renderer/public/assets/stylesheets/core.css +0 -79
  33. data/lib/nexmo/oas/renderer/public/assets/stylesheets/mediaqueries.css +0 -2
  34. data/lib/nexmo/oas/renderer/public/assets/stylesheets/mediaqueries.css.map +0 -7
  35. data/lib/nexmo/oas/renderer/public/assets/stylesheets/navigation.css +0 -79
  36. data/lib/nexmo/oas/renderer/public/assets/stylesheets/nexmo.css +0 -68
  37. data/lib/nexmo/oas/renderer/public/assets/stylesheets/syntax.css +0 -79
  38. data/lib/nexmo/oas/renderer/public/assets/stylesheets/typography.css +0 -86
  39. data/lib/nexmo/oas/renderer/public/assets/stylesheets/variables.css +0 -2
  40. data/lib/nexmo/oas/renderer/public/assets/stylesheets/variables.css.map +0 -7
  41. data/lib/nexmo/oas/renderer/public/assets/stylesheets/volta-templates.css +0 -2
  42. data/lib/nexmo/oas/renderer/public/assets/stylesheets/volta-templates.css.map +0 -7
@@ -1,2 +1,863 @@
1
- .Vlt-sidenav{display:inline-flex}body{background:#f8fafc}@media only screen and (min-width: 576px){.Vlt-S-only{display:none !important}}@media only screen and (max-width: 575px){.Vlt-M-only{display:none !important}}@media only screen and (min-width: 768px){.Vlt-M-only{display:none !important}}@media only screen and (max-width: 767px){.Vlt-L-plus{display:none !important}}@media only screen and (max-width: 575px){.Vlt-M-plus{display:none !important}}@media only screen and (min-width: 768px){.Vlt-M-less{display:none !important}}.Nxd-content{display:flex}.Nxd-menu__indent{margin-left:31px !important}.Nxd-method-badge{text-transform:uppercase}.Nxd-method-badge--post{background:#35be8b}.Nxd-method-badge--get{background:#117bb8}.Nxd-method-badge--delete{background:#f25a6b}.Nxd-method-badge--patch{background:#4cc3d2}.Nxd-method-badge--put{background:#8f4fa7}.table-no-line td{border-bottom:none !important}.Vlt-table .Vlt-table table thead th{background-color:#f8fafc;border-bottom-color:#c4cdd5;border-top-color:#e7ebee;color:#4e5a64}.Nxd-api{padding-top:0;padding-right:16px}@media only screen and (max-width: 575px){.Nxd-api{padding-left:16px}}.Nxd-api__code{background:#e7ebee;border-bottom:1px solid #f8fafc;padding:16px}.Nxd-api__code h4,.Nxd-api__code h5{color:#4e5a64}.Nxd-api__code__header{margin:-24px -16px 16px -16px}.Nxd-api__code__header .Vlt-native-dropdown{margin-right:16px;float:right}.Nxd-api__code__header--sticky{position:fixed;top:135px;width:27.5%;z-index:1000}@media only screen and (max-width: 575px){.Nxd-api__code__header--sticky{left:0;padding:0 8px;top:52px;width:100vw;margin:0}}.Nxd-api__code .Vlt-accordion__trigger:after{background-color:rgba(255,255,255,0.2);border-radius:100%}.Nxd-api__docs{padding-top:24px}@media only screen and (min-width: 576px){.Nxd-api__docs{border-bottom:1px solid #e7ebee;padding-top:40px}}.Nxd-api__docs .Vlt-tooltip{white-space:nowrap}.Nxd-api--noborder{margin-bottom:-16px}.Nxd-api--noborder .Nxd-api__docs{border:0}.Nxd-api--noborder .Nxd-api__code{border:0}@media only screen and (max-width: 575px){.Nxd-api--noborder .Nxd-api__code{display:none}}.Nxd-version p{text-transform:uppercase;font-size:1.3rem !important}.Nxd-version a{font-size:1.3rem !important;color:#005282 !important}.Nxd-version a.active{font-weight:bold}*{box-sizing:border-box;font-smoothing:antialiased;-webkit-font-smoothing:antialiased}body{display:flex;min-height:100vh;flex-direction:column}.Nxd-template{display:flex;flex-flow:row wrap;width:100%;justify-content:center}.Nxd-main{outline:none}@media only screen and (min-width: 576px){.Nxd-main{height:calc(100vh - 111px)}}.Nxd-landing-main{padding:24px 32px}.container{max-width:1300px;padding:24px 20px 0;margin:auto}.row{max-width:1300px;margin-left:-0.9375rem;margin-right:-0.9375rem}img{max-width:100%}table code{white-space:nowrap}.spacious{padding:40px 0}.clearfix{content:"";display:table;clear:both}@keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg)}}.spinner{width:100%;margin:40px 0;text-align:center;animation:spin 1.2s infinite ease-in-out}.spinner i{font-size:40px;color:#E4EEF3}.flex{display:flex}.flex--auto>*{flex:1}.hide{display:none}.grecaptcha-badge{display:none}.float-right{float:right}.Nxd-header-notices .Vlt-callout{margin-bottom:32px}table .Vlt-icon:not(.Vlt-icon--smaller){display:block;margin:0 auto}.Vlt-title--icon{position:relative}.heading-permalink{opacity:0;transition:opacity 0.2s;position:absolute;left:-20px}.heading-permalink svg{height:18px !important;width:18px !important}.Vlt-title--icon:hover .heading-permalink{opacity:1}.Vlt-sidenav{flex:0 0 300px;width:300px}.Vlt-sidemenu--flat .Vlt-sidemenu__link{padding:4px 10px}.Vlt-sidemenu--flat li a{font-weight:900}.Vlt-sidemenu--flat li li a{font-weight:600}.Vlt-sidemenu--flat li li li a{font-weight:400}.Vlt-sidemenu__title+ul>li{margin-left:0 !important}@media only screen and (min-width: 576px){.Vlt-sidenav{height:calc(100vh - 111px)}}.navigation--documentation .navigation-item--tutorials a{color:#2d966f}.navigation--documentation .navigation-item--api-reference a{color:#117bb8}.navigation--documentation .navigation-item--sdk-documentation>a{color:#35be8b}.navigation--documentation .navigation-item--ncco-reference a{color:#4cc3d2}.navigation--documentation .navigation-item--ncco-reference a .navigation-item--ncco-reference a{color:#4cc3d2}#Vlt-sidenav-mobile-trigger{display:inline-block;margin-top:4px;margin-right:16px}#Vlt-sidenav-mobile-trigger svg{height:24px;width:24px}@media only screen and (min-width: 576px){#Vlt-sidenav-mobile-trigger{display:none}}.Nxd-tutorial{border-right:1px solid silver}.Nxd-tutorial-sidenav{padding:0px}.Nxd-tutorial-sidenav a{color:black}.Nxd-tutorial-sidenav li li{margin-left:10px !important}.Vlt-sidemenu__link_active{color:white !important}.highlight .c{color:#919eab}.highlight .err{color:#fde8eb;background-color:rgba(247,156,166,0.7)}.highlight .k{color:#3ae}.highlight .l{color:#dcb6e9}.highlight .n{color:#c4cdd5}.highlight .o{color:#f79ca6}.highlight .p{color:#c4cdd5}.highlight .cm{color:#919eab}.highlight .cp{color:#919eab}.highlight .c1{color:#919eab}.highlight .cs{color:#919eab}.highlight .ge{font-style:italic}.highlight .gs{font-weight:bold}.highlight .kc{color:#3ae}.highlight .kd{color:#3ae}.highlight .kn{color:#f79ca6}.highlight .kp{color:#3ae}.highlight .kr{color:#3ae}.highlight .kt{color:#3ae}.highlight .ld{color:#ffc000}.highlight .m{color:#dcb6e9}.highlight .s{color:#ffc000}.highlight .na{color:#86d8b9}.highlight .nb{color:#c4cdd5}.highlight .nc{color:#86d8b9}.highlight .no{color:#3ae}.highlight .nd{color:#86d8b9}.highlight .ni{color:#c4cdd5}.highlight .ne{color:#86d8b9}.highlight .nf{color:#86d8b9}.highlight .nl{color:#c4cdd5}.highlight .nn{color:#c4cdd5}.highlight .nx{color:#86d8b9}.highlight .py{color:#c4cdd5}.highlight .nt{color:#f79ca6}.highlight .nv{color:#c4cdd5}.highlight .ow{color:#f79ca6}.highlight .w{color:#c4cdd5}.highlight .mf{color:#dcb6e9}.highlight .mh{color:#dcb6e9}.highlight .mi{color:#dcb6e9}.highlight .mo{color:#dcb6e9}.highlight .sb{color:#ffc000}.highlight .sc{color:#ffc000}.highlight .sd{color:#ffc000}.highlight .s2{color:#ffc000}.highlight .se{color:#dcb6e9}.highlight .sh{color:#ffc000}.highlight .si{color:#ffbc67}.highlight .sx{color:#ffc000}.highlight .sr{color:#ffc000}.highlight .s1{color:#ffc000}.highlight .ss{color:#ffc000}.highlight .bp{color:#c4cdd5}.highlight .vc{color:#c4cdd5}.highlight .vg{color:#c4cdd5}.highlight .vi{color:#c4cdd5}.highlight .il{color:#dcb6e9}.highlight .gu{color:#919eab}.highlight .gd{color:#f79ca6}.highlight .gi{color:#86d8b9}ul pre code,ol pre code,p pre code,h1 pre code,h2 pre code,h3 pre code,h4 pre code,h5 pre code,h6 pre code,table pre code{display:inline;border:none;color:inherit;background:none;padding:0;margin:0;border-radius:none}nav a,h1 a{border-bottom:none}.center{text-align:center}.left{text-align:left}.right{text-align:right}.indent{margin-left:30px}pre.highlight{background:#2c2d30;-webkit-font-smoothing:antialiased;padding:20px;color:#fff;margin-bottom:20px;line-height:1.35;overflow:auto;position:relative;border-radius:4px}pre.highlight code{color:#e7ebee}pre{font-family:Consolas, monospace;font-size:16px}.gutter{color:#5f697c;text-align:right;padding-right:5px;user-select:none}.active{color:#117bb8}.Nxd-article li ul,.Nxd-article li ol{margin-top:5px}.Nxd-article ul{margin-bottom:15px}.Nxd-article ul li{font-size:1em;margin-bottom:5px}.Nxd-article .tight{margin:0}.tight{margin:0}.color-text{color:#224E66}.color--warn{color:#ff8f02}.color--error{color:#f25a6b}.color--success{color:#35be8b}.meta{display:block;color:#5b8297;text-transform:uppercase;font-weight:700;font-size:13px;margin-bottom:5px}.tooltip{position:relative;display:inline-block;color:#4a748a;border-bottom:1px dotted #93B6C7;font-size:0.95em;cursor:pointer}.tooltip:before{display:none;content:' ';width:0;height:0;border-style:solid;border-width:0 10px 12px 10px;border-color:transparent transparent #282c34 transparent;position:absolute;left:50%;margin-left:-5px;bottom:-12px}.tooltip:after{display:none;content:attr(data-text);pointer-events:none;background:#282c34;color:#fff;padding:10px;position:absolute;width:300px;left:50%;margin-left:-150px;margin-top:10px;text-align:center;z-index:2}.tooltip:hover,.tooltip:focus{outline:none;color:#E6547B;border-bottom-color:#E6547B}.tooltip:hover:before,.tooltip:hover:after,.tooltip:focus:before,.tooltip:focus:after{display:block}.flash{font-size:1.2em;margin:20px 0;color:#E6547B}.version{margin-top:40px}.api-path{display:block;border:2px solid #E4EEF3;border-radius:4px;overflow:hidden;margin-bottom:20px;font-size:1.2em;background:#fff}.api-path .api-path-parameter{color:#E6547B}.api-path .api-path-method{display:inline-block;font-family:Consolas, monospace;color:#117bb8;background:#f3f8fb;border-right:1px solid #dbebf4;margin-right:10px;font-weight:700;padding:6px 20px 3px 20px}.api-path .api-path-method--post{color:#35be8b;background:#f5fcf9;border-right:1px solid #e1f5ee}.api-path .api-path-method--delete{color:#f25a6b;background:#fef7f8;border-right:1px solid #fde6e9}.api-path .api-path-method--update{color:#ff8f02;background:#fff9f2;border-right:1px solid #ffeed9}.api-path .api-path-host{margin-right:-10px;color:#96abb6}.api-reference b{color:#4a748a}.flag{text-transform:uppercase;font-size:0.82em;font-weight:600;color:#117bb8}.flag--strong{color:#f25a6b}.subtle{color:#4a748a}.truncate{overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}@media only screen and (min-width: 576px){.Vlt-S-only{display:none !important}}@media only screen and (max-width: 575px){.Vlt-M-only{display:none !important}}@media only screen and (min-width: 768px){.Vlt-M-only{display:none !important}}@media only screen and (max-width: 767px){.Vlt-L-plus{display:none !important}}@media only screen and (max-width: 575px){.Vlt-M-plus{display:none !important}}@media only screen and (min-width: 768px){.Vlt-M-less{display:none !important}}.Vlt-template{display:flex;flex-flow:row wrap;width:100%}@media only screen and (max-width: 575px){.Vlt-template--header .Vlt-sidenav__mobile{top:70px;z-index:650}}.Vlt-header{align-items:center;background:#fff;box-shadow:1px 0 8px rgba(44,45,48,0.2);display:flex;flex:0 0 100%;height:70px;justify-content:space-between;padding:4px 20px;transition:height 0.5s;width:100%;z-index:700}@media only screen and (max-width: 575px){.Vlt-header{position:fixed}}.Vlt-header__logo{display:block;flex:0 0 270px}@media only screen and (max-width: 575px){.Vlt-header__logo{flex:0 0 50px}}.Vlt-header__logo img{height:40px;margin:10px 0}.Vlt-header__menu{flex:1}.Vlt-header__menu--right{text-align:right}.Vlt-header .Vlt-tabs__header{border:0}.Vlt-main{flex:1;height:100vh;overflow-y:auto;padding-bottom:20px;padding-left:10px;padding-right:20px;padding-top:15px}@media only screen and (max-width: 575px){.Vlt-main{padding:10px}}.Vlt-main--light{background:#f8fafc}@media only screen and (max-width: 575px){.Vlt-template--sidenav .Vlt-main{padding-top:70px}}.Vlt-template--auth .Vlt-main{align-items:center;display:flex;justify-content:center}@media only screen and (max-width: 575px){.Vlt-template--auth .Vlt-main{padding-top:100px}}@media only screen and (max-width: 575px){.Vlt-template--sidenav.Vlt-template--header .Vlt-main{padding-top:140px}}.Vlt-main__content{max-height:calc(100vh - 130px);max-width:600px;overflow-y:auto;text-align:center}@media only screen and (max-width: 575px){.Vlt-main__content{max-height:calc(100vh - 100px)}}@media only screen and (min-width: 576px){.Vlt-template--header .Vlt-sidenav,.Vlt-template--header .Vlt-main{height:calc(100vh - 70px)}}
1
+ .Vlt-sidenav {
2
+ display: inline-flex; }
3
+
4
+ body {
5
+ background: #f8fafc; }
6
+
7
+ @media only screen and (min-width: 576px) {
8
+ .Vlt-S-only {
9
+ display: none !important; } }
10
+
11
+ @media only screen and (max-width: 575px) {
12
+ .Vlt-M-only {
13
+ display: none !important; } }
14
+ @media only screen and (min-width: 768px) {
15
+ .Vlt-M-only {
16
+ display: none !important; } }
17
+
18
+ @media only screen and (max-width: 767px) {
19
+ .Vlt-L-plus {
20
+ display: none !important; } }
21
+
22
+ @media only screen and (max-width: 575px) {
23
+ .Vlt-M-plus {
24
+ display: none !important; } }
25
+
26
+ @media only screen and (min-width: 768px) {
27
+ .Vlt-M-less {
28
+ display: none !important; } }
29
+
30
+ @media only screen and (min-width: 576px) {
31
+ .Vlt-S-only {
32
+ display: none !important; } }
33
+
34
+ @media only screen and (max-width: 575px) {
35
+ .Vlt-M-only {
36
+ display: none !important; } }
37
+ @media only screen and (min-width: 768px) {
38
+ .Vlt-M-only {
39
+ display: none !important; } }
40
+
41
+ @media only screen and (max-width: 767px) {
42
+ .Vlt-L-plus {
43
+ display: none !important; } }
44
+
45
+ @media only screen and (max-width: 575px) {
46
+ .Vlt-M-plus {
47
+ display: none !important; } }
48
+
49
+ @media only screen and (min-width: 768px) {
50
+ .Vlt-M-less {
51
+ display: none !important; } }
52
+
53
+ .Nxd-content {
54
+ display: flex; }
55
+
56
+ .Nxd-menu__indent {
57
+ margin-left: 31px !important; }
58
+
59
+ .Nxd-method-badge {
60
+ text-transform: uppercase; }
61
+ .Nxd-method-badge--post {
62
+ background: #35be8b; }
63
+ .Nxd-method-badge--get {
64
+ background: #117bb8; }
65
+ .Nxd-method-badge--delete {
66
+ background: #f25a6b; }
67
+ .Nxd-method-badge--patch {
68
+ background: #4cc3d2; }
69
+ .Nxd-method-badge--put {
70
+ background: #8f4fa7; }
71
+
72
+ .table-no-line td {
73
+ border-bottom: none !important; }
74
+
75
+ .Vlt-table .Vlt-table table thead th {
76
+ background-color: #f8fafc;
77
+ border-bottom-color: #c4cdd5;
78
+ border-top-color: #e7ebee;
79
+ color: #4e5a64; }
80
+
81
+ .Nxd-api {
82
+ padding-top: 0;
83
+ padding-right: 16px; }
84
+ @media only screen and (max-width: 575px) {
85
+ .Nxd-api {
86
+ padding-left: 16px; } }
87
+ .Nxd-api__responses {
88
+ top: 30px;
89
+ position: sticky;
90
+ display: block;
91
+ overflow: scroll; }
92
+ .Nxd-api__code {
93
+ background: #e7ebee;
94
+ border-bottom: 1px solid #f8fafc;
95
+ padding: 16px; }
96
+ .Nxd-api__code h4,
97
+ .Nxd-api__code h5 {
98
+ color: #4e5a64; }
99
+ .Nxd-api__code__header {
100
+ margin: -24px -16px 16px -16px; }
101
+ .Nxd-api__code__header .Vlt-native-dropdown {
102
+ margin-right: 16px;
103
+ float: right; }
104
+ .Nxd-api__code__header--sticky {
105
+ position: fixed;
106
+ top: 30px;
107
+ width: 27.5%;
108
+ z-index: 1000; }
109
+ @media only screen and (max-width: 575px) {
110
+ .Nxd-api__code__header--sticky {
111
+ left: 0;
112
+ padding: 0 8px;
113
+ top: 52px;
114
+ width: 100vw;
115
+ margin: 0; } }
116
+ .Nxd-api__code .Vlt-accordion__trigger:after {
117
+ background-color: rgba(255, 255, 255, 0.2);
118
+ border-radius: 100%; }
119
+ .Nxd-api__docs {
120
+ padding-top: 24px; }
121
+ @media only screen and (min-width: 576px) {
122
+ .Nxd-api__docs {
123
+ border-bottom: 1px solid #e7ebee;
124
+ padding-top: 40px; } }
125
+ .Nxd-api__docs .Vlt-tooltip {
126
+ white-space: nowrap; }
127
+ .Nxd-api--noborder {
128
+ margin-bottom: -16px; }
129
+ .Nxd-api--noborder .Nxd-api__docs {
130
+ border: 0; }
131
+ .Nxd-api--noborder .Nxd-api__code {
132
+ border: 0; }
133
+ @media only screen and (max-width: 575px) {
134
+ .Nxd-api--noborder .Nxd-api__code {
135
+ display: none; } }
136
+
137
+ .Nxd-version p {
138
+ text-transform: uppercase;
139
+ font-size: 1.3rem !important; }
140
+ .Nxd-version a {
141
+ font-size: 1.3rem !important;
142
+ color: #005282 !important; }
143
+ .Nxd-version a.active {
144
+ font-weight: bold; }
145
+
146
+ .Vlt-sidenav {
147
+ display: inline-flex; }
148
+
149
+ body {
150
+ background: #f8fafc; }
151
+
152
+ @media only screen and (min-width: 576px) {
153
+ .Vlt-S-only {
154
+ display: none !important; } }
155
+
156
+ @media only screen and (max-width: 575px) {
157
+ .Vlt-M-only {
158
+ display: none !important; } }
159
+ @media only screen and (min-width: 768px) {
160
+ .Vlt-M-only {
161
+ display: none !important; } }
162
+
163
+ @media only screen and (max-width: 767px) {
164
+ .Vlt-L-plus {
165
+ display: none !important; } }
166
+
167
+ @media only screen and (max-width: 575px) {
168
+ .Vlt-M-plus {
169
+ display: none !important; } }
170
+
171
+ @media only screen and (min-width: 768px) {
172
+ .Vlt-M-less {
173
+ display: none !important; } }
174
+
175
+ * {
176
+ box-sizing: border-box;
177
+ font-smoothing: antialiased;
178
+ -webkit-font-smoothing: antialiased; }
179
+
180
+ body {
181
+ display: flex;
182
+ min-height: 100vh;
183
+ flex-direction: column; }
184
+
185
+ .Nxd-template {
186
+ display: flex;
187
+ flex-flow: row wrap;
188
+ width: 100%;
189
+ justify-content: center; }
190
+
191
+ .Nxd-main {
192
+ outline: none; }
193
+
194
+ @media only screen and (min-width: 576px) {
195
+ .Nxd-main {
196
+ height: calc(100vh - 111px); } }
197
+ .Nxd-landing-main {
198
+ padding: 24px 32px; }
199
+
200
+ .container {
201
+ max-width: 1300px;
202
+ padding: 24px 20px 0;
203
+ margin: auto; }
204
+
205
+ .row {
206
+ max-width: 1300px;
207
+ margin-left: -0.9375rem;
208
+ margin-right: -0.9375rem; }
209
+
210
+ img {
211
+ max-width: 100%; }
212
+
213
+ table code {
214
+ white-space: nowrap; }
215
+
216
+ .spacious {
217
+ padding: 40px 0; }
218
+
219
+ .clearfix {
220
+ content: "";
221
+ display: table;
222
+ clear: both; }
223
+
224
+ @keyframes spin {
225
+ 0% {
226
+ -webkit-transform: rotate(0deg); }
227
+ 100% {
228
+ -webkit-transform: rotate(359deg); } }
229
+ .spinner {
230
+ width: 100%;
231
+ margin: 40px 0;
232
+ text-align: center;
233
+ animation: spin 1.2s infinite ease-in-out; }
234
+ .spinner i {
235
+ font-size: 40px;
236
+ color: #E4EEF3; }
237
+
238
+ .flex {
239
+ display: flex; }
240
+
241
+ .flex--auto > * {
242
+ flex: 1; }
243
+
244
+ .hide {
245
+ display: none; }
246
+
247
+ .grecaptcha-badge {
248
+ display: none; }
249
+
250
+ .float-right {
251
+ float: right; }
252
+
253
+ .Nxd-header-notices .Vlt-callout {
254
+ margin-bottom: 32px; }
255
+
256
+ table .Vlt-icon:not(.Vlt-icon--smaller) {
257
+ display: block;
258
+ margin: 0 auto; }
259
+
260
+ .Vlt-title--icon {
261
+ position: relative; }
262
+
263
+ .heading-permalink {
264
+ opacity: 0;
265
+ transition: opacity 0.2s;
266
+ position: absolute;
267
+ left: -20px; }
268
+ .heading-permalink svg {
269
+ height: 18px !important;
270
+ width: 18px !important; }
271
+ .Vlt-title--icon:hover .heading-permalink {
272
+ opacity: 1; }
273
+
274
+ .Vlt-sidenav {
275
+ flex: 0 0 300px;
276
+ width: 300px; }
277
+
278
+ .Vlt-sidemenu--flat .Vlt-sidemenu__link {
279
+ padding: 4px 10px; }
280
+ .Vlt-sidemenu--flat li a {
281
+ font-weight: 900; }
282
+ .Vlt-sidemenu--flat li li a {
283
+ font-weight: 600; }
284
+ .Vlt-sidemenu--flat li li li a {
285
+ font-weight: 400; }
286
+
287
+ .Vlt-sidemenu__title + ul > li {
288
+ margin-left: 0 !important; }
289
+
290
+ @media only screen and (min-width: 576px) {
291
+ .Vlt-sidenav {
292
+ height: calc(100vh - 111px); } }
293
+ .navigation--documentation .navigation-item--tutorials a {
294
+ color: #2d966f; }
295
+ .navigation--documentation .navigation-item--api-reference a {
296
+ color: #117bb8; }
297
+ .navigation--documentation .navigation-item--sdk-documentation > a {
298
+ color: #35be8b; }
299
+ .navigation--documentation .navigation-item--ncco-reference a {
300
+ color: #4cc3d2; }
301
+ .navigation--documentation .navigation-item--ncco-reference a .navigation-item--ncco-reference a {
302
+ color: #4cc3d2; }
303
+
304
+ #Vlt-sidenav-mobile-trigger {
305
+ display: inline-block;
306
+ margin-top: 4px;
307
+ margin-right: 16px; }
308
+ #Vlt-sidenav-mobile-trigger svg {
309
+ height: 24px;
310
+ width: 24px; }
311
+ @media only screen and (min-width: 576px) {
312
+ #Vlt-sidenav-mobile-trigger {
313
+ display: none; } }
314
+
315
+ .Nxd-tutorial {
316
+ border-right: 1px solid silver; }
317
+
318
+ .Nxd-tutorial-sidenav {
319
+ padding: 0px; }
320
+ .Nxd-tutorial-sidenav a {
321
+ color: black; }
322
+ .Nxd-tutorial-sidenav li li {
323
+ margin-left: 10px !important; }
324
+
325
+ .Vlt-sidemenu__link_active {
326
+ color: white !important; }
327
+
328
+ .highlight .c {
329
+ color: #919eab; }
330
+
331
+ /* Comment */
332
+ .highlight .err {
333
+ color: #fde8eb;
334
+ background-color: rgba(247, 156, 166, 0.7); }
335
+
336
+ /* Error */
337
+ .highlight .k {
338
+ color: #33aaee; }
339
+
340
+ /* Keyword */
341
+ .highlight .l {
342
+ color: #dcb6e9; }
343
+
344
+ /* Literal */
345
+ .highlight .n {
346
+ color: #c4cdd5; }
347
+
348
+ /* Name */
349
+ .highlight .o {
350
+ color: #f79ca6; }
351
+
352
+ /* Operator */
353
+ .highlight .p {
354
+ color: #c4cdd5; }
355
+
356
+ /* Punctuation */
357
+ .highlight .cm {
358
+ color: #919eab; }
359
+
360
+ /* Comment.Multiline */
361
+ .highlight .cp {
362
+ color: #919eab; }
363
+
364
+ /* Comment.Preproc */
365
+ .highlight .c1 {
366
+ color: #919eab; }
367
+
368
+ /* Comment.Single */
369
+ .highlight .cs {
370
+ color: #919eab; }
371
+
372
+ /* Comment.Special */
373
+ .highlight .ge {
374
+ font-style: italic; }
375
+
376
+ /* Generic.Emph */
377
+ .highlight .gs {
378
+ font-weight: bold; }
379
+
380
+ /* Generic.Strong */
381
+ .highlight .kc {
382
+ color: #33aaee; }
383
+
384
+ /* Keyword.Constant */
385
+ .highlight .kd {
386
+ color: #33aaee; }
387
+
388
+ /* Keyword.Declaration */
389
+ .highlight .kn {
390
+ color: #f79ca6; }
391
+
392
+ /* Keyword.Namespace */
393
+ .highlight .kp {
394
+ color: #33aaee; }
395
+
396
+ /* Keyword.Pseudo */
397
+ .highlight .kr {
398
+ color: #33aaee; }
399
+
400
+ /* Keyword.Reserved */
401
+ .highlight .kt {
402
+ color: #33aaee; }
403
+
404
+ /* Keyword.Type */
405
+ .highlight .ld {
406
+ color: #ffc000; }
407
+
408
+ /* Literal.Date */
409
+ .highlight .m {
410
+ color: #dcb6e9; }
411
+
412
+ /* Literal.Number */
413
+ .highlight .s {
414
+ color: #ffc000; }
415
+
416
+ /* Literal.String */
417
+ .highlight .na {
418
+ color: #86d8b9; }
419
+
420
+ /* Name.Attribute */
421
+ .highlight .nb {
422
+ color: #c4cdd5; }
423
+
424
+ /* Name.Builtin */
425
+ .highlight .nc {
426
+ color: #86d8b9; }
427
+
428
+ /* Name.Class */
429
+ .highlight .no {
430
+ color: #33aaee; }
431
+
432
+ /* Name.Constant */
433
+ .highlight .nd {
434
+ color: #86d8b9; }
435
+
436
+ /* Name.Decorator */
437
+ .highlight .ni {
438
+ color: #c4cdd5; }
439
+
440
+ /* Name.Entity */
441
+ .highlight .ne {
442
+ color: #86d8b9; }
443
+
444
+ /* Name.Exception */
445
+ .highlight .nf {
446
+ color: #86d8b9; }
447
+
448
+ /* Name.Function */
449
+ .highlight .nl {
450
+ color: #c4cdd5; }
451
+
452
+ /* Name.Label */
453
+ .highlight .nn {
454
+ color: #c4cdd5; }
455
+
456
+ /* Name.Namespace */
457
+ .highlight .nx {
458
+ color: #86d8b9; }
459
+
460
+ /* Name.Other */
461
+ .highlight .py {
462
+ color: #c4cdd5; }
463
+
464
+ /* Name.Property */
465
+ .highlight .nt {
466
+ color: #f79ca6; }
467
+
468
+ /* Name.Tag */
469
+ .highlight .nv {
470
+ color: #c4cdd5; }
471
+
472
+ /* Name.Variable */
473
+ .highlight .ow {
474
+ color: #f79ca6; }
475
+
476
+ /* Operator.Word */
477
+ .highlight .w {
478
+ color: #c4cdd5; }
479
+
480
+ /* Text.Whitespace */
481
+ .highlight .mf {
482
+ color: #dcb6e9; }
483
+
484
+ /* Literal.Number.Float */
485
+ .highlight .mh {
486
+ color: #dcb6e9; }
487
+
488
+ /* Literal.Number.Hex */
489
+ .highlight .mi {
490
+ color: #dcb6e9; }
491
+
492
+ /* Literal.Number.Integer */
493
+ .highlight .mo {
494
+ color: #dcb6e9; }
495
+
496
+ /* Literal.Number.Oct */
497
+ .highlight .sb {
498
+ color: #ffc000; }
499
+
500
+ /* Literal.String.Backtick */
501
+ .highlight .sc {
502
+ color: #ffc000; }
503
+
504
+ /* Literal.String.Char */
505
+ .highlight .sd {
506
+ color: #ffc000; }
507
+
508
+ /* Literal.String.Doc */
509
+ .highlight .s2 {
510
+ color: #ffc000; }
511
+
512
+ /* Literal.String.Double */
513
+ .highlight .se {
514
+ color: #dcb6e9; }
515
+
516
+ /* Literal.String.Escape */
517
+ .highlight .sh {
518
+ color: #ffc000; }
519
+
520
+ /* Literal.String.Heredoc */
521
+ .highlight .si {
522
+ color: #ffbc67; }
523
+
524
+ /* Literal.String.Interpol */
525
+ .highlight .sx {
526
+ color: #ffc000; }
527
+
528
+ /* Literal.String.Other */
529
+ .highlight .sr {
530
+ color: #ffc000; }
531
+
532
+ /* Literal.String.Regex */
533
+ .highlight .s1 {
534
+ color: #ffc000; }
535
+
536
+ /* Literal.String.Single */
537
+ .highlight .ss {
538
+ color: #ffc000; }
539
+
540
+ /* Literal.String.Symbol */
541
+ .highlight .bp {
542
+ color: #c4cdd5; }
543
+
544
+ /* Name.Builtin.Pseudo */
545
+ .highlight .vc {
546
+ color: #c4cdd5; }
547
+
548
+ /* Name.Variable.Class */
549
+ .highlight .vg {
550
+ color: #c4cdd5; }
551
+
552
+ /* Name.Variable.Global */
553
+ .highlight .vi {
554
+ color: #c4cdd5; }
555
+
556
+ /* Name.Variable.Instance */
557
+ .highlight .il {
558
+ color: #dcb6e9; }
559
+
560
+ /* Literal.Number.Integer.Long */
561
+ /* Generic Heading & Diff Header */
562
+ .highlight .gu {
563
+ color: #919eab; }
564
+
565
+ /* Generic.Subheading & Diff Unified/Comment? */
566
+ .highlight .gd {
567
+ color: #f79ca6; }
568
+
569
+ /* Generic.Deleted & Diff Deleted */
570
+ .highlight .gi {
571
+ color: #86d8b9; }
572
+
573
+ /* Generic.Inserted & Diff Inserted */
574
+ ul pre code, ol pre code, p pre code, h1 pre code, h2 pre code, h3 pre code, h4 pre code, h5 pre code, h6 pre code, table pre code {
575
+ display: inline;
576
+ border: none;
577
+ color: inherit;
578
+ background: none;
579
+ padding: 0;
580
+ margin: 0;
581
+ border-radius: none; }
582
+
583
+ nav a, h1 a {
584
+ border-bottom: none; }
585
+
586
+ .center {
587
+ text-align: center; }
588
+
589
+ .left {
590
+ text-align: left; }
591
+
592
+ .right {
593
+ text-align: right; }
594
+
595
+ .indent {
596
+ margin-left: 30px; }
597
+
598
+ pre.highlight {
599
+ background: #2c2d30;
600
+ -webkit-font-smoothing: antialiased;
601
+ padding: 20px;
602
+ color: #ffffff;
603
+ margin-bottom: 20px;
604
+ line-height: 1.35;
605
+ overflow: auto;
606
+ position: relative;
607
+ border-radius: 4px; }
608
+ pre.highlight code {
609
+ color: #e7ebee; }
610
+
611
+ pre {
612
+ font-family: Consolas, monospace;
613
+ font-size: 16px; }
614
+
615
+ .gutter {
616
+ color: #5f697c;
617
+ text-align: right;
618
+ padding-right: 5px;
619
+ user-select: none; }
620
+
621
+ .active {
622
+ color: #117bb8; }
623
+
624
+ .Nxd-article li ul, .Nxd-article li ol {
625
+ margin-top: 5px; }
626
+ .Nxd-article ul {
627
+ margin-bottom: 15px; }
628
+ .Nxd-article ul li {
629
+ font-size: 1em;
630
+ margin-bottom: 5px; }
631
+ .Nxd-article .tight {
632
+ margin: 0; }
633
+
634
+ .tight {
635
+ margin: 0; }
636
+
637
+ .color-text {
638
+ color: #224E66; }
639
+
640
+ .color--warn {
641
+ color: #ff8f02; }
642
+
643
+ .color--error {
644
+ color: #f25a6b; }
645
+
646
+ .color--success {
647
+ color: #35be8b; }
648
+
649
+ .meta {
650
+ display: block;
651
+ color: #5b8297;
652
+ text-transform: uppercase;
653
+ font-weight: 700;
654
+ font-size: 13px;
655
+ margin-bottom: 5px; }
656
+
657
+ .tooltip {
658
+ position: relative;
659
+ display: inline-block;
660
+ color: #4a748a;
661
+ border-bottom: 1px dotted #93B6C7;
662
+ font-size: 0.95em;
663
+ cursor: pointer; }
664
+ .tooltip:before {
665
+ display: none;
666
+ content: ' ';
667
+ width: 0;
668
+ height: 0;
669
+ border-style: solid;
670
+ border-width: 0 10px 12px 10px;
671
+ border-color: transparent transparent #282c34 transparent;
672
+ position: absolute;
673
+ left: 50%;
674
+ margin-left: -5px;
675
+ bottom: -12px; }
676
+ .tooltip:after {
677
+ display: none;
678
+ content: attr(data-text);
679
+ pointer-events: none;
680
+ background: #282c34;
681
+ color: #ffffff;
682
+ padding: 10px;
683
+ position: absolute;
684
+ width: 300px;
685
+ left: 50%;
686
+ margin-left: -150px;
687
+ margin-top: 10px;
688
+ text-align: center;
689
+ z-index: 2; }
690
+ .tooltip:hover, .tooltip:focus {
691
+ outline: none;
692
+ color: #E6547B;
693
+ border-bottom-color: #E6547B; }
694
+ .tooltip:hover:before, .tooltip:hover:after, .tooltip:focus:before, .tooltip:focus:after {
695
+ display: block; }
696
+
697
+ .flash {
698
+ font-size: 1.2em;
699
+ margin: 20px 0;
700
+ color: #E6547B; }
701
+
702
+ .version {
703
+ margin-top: 40px; }
704
+
705
+ .api-path {
706
+ display: block;
707
+ border: 2px solid #E4EEF3;
708
+ border-radius: 4px;
709
+ overflow: hidden;
710
+ margin-bottom: 20px;
711
+ font-size: 1.2em;
712
+ background: #ffffff; }
713
+ .api-path .api-path-parameter {
714
+ color: #E6547B; }
715
+ .api-path .api-path-method {
716
+ display: inline-block;
717
+ font-family: Consolas, monospace;
718
+ color: #117bb8;
719
+ background: #f3f8fb;
720
+ border-right: 1px solid #dbebf4;
721
+ margin-right: 10px;
722
+ font-weight: 700;
723
+ padding: 6px 20px 3px 20px; }
724
+ .api-path .api-path-method--post {
725
+ color: #35be8b;
726
+ background: #f5fcf9;
727
+ border-right: 1px solid #e1f5ee; }
728
+ .api-path .api-path-method--delete {
729
+ color: #f25a6b;
730
+ background: #fef7f8;
731
+ border-right: 1px solid #fde6e9; }
732
+ .api-path .api-path-method--update {
733
+ color: #ff8f02;
734
+ background: #fff9f2;
735
+ border-right: 1px solid #ffeed9; }
736
+ .api-path .api-path-host {
737
+ margin-right: -10px;
738
+ color: #96abb6; }
739
+
740
+ .api-reference b {
741
+ color: #4a748a; }
742
+
743
+ .flag {
744
+ text-transform: uppercase;
745
+ font-size: 0.82em;
746
+ font-weight: 600;
747
+ color: #117bb8; }
748
+ .flag--strong {
749
+ color: #f25a6b; }
750
+
751
+ .subtle {
752
+ color: #4a748a; }
753
+
754
+ .truncate {
755
+ overflow: hidden;
756
+ display: -webkit-box;
757
+ -webkit-line-clamp: 3;
758
+ -webkit-box-orient: vertical; }
759
+
760
+ @media only screen and (min-width: 576px) {
761
+ .Vlt-S-only {
762
+ display: none !important; } }
763
+
764
+ @media only screen and (max-width: 575px) {
765
+ .Vlt-M-only {
766
+ display: none !important; } }
767
+ @media only screen and (min-width: 768px) {
768
+ .Vlt-M-only {
769
+ display: none !important; } }
770
+
771
+ @media only screen and (max-width: 767px) {
772
+ .Vlt-L-plus {
773
+ display: none !important; } }
774
+
775
+ @media only screen and (max-width: 575px) {
776
+ .Vlt-M-plus {
777
+ display: none !important; } }
778
+
779
+ @media only screen and (min-width: 768px) {
780
+ .Vlt-M-less {
781
+ display: none !important; } }
782
+
783
+ .Vlt-template {
784
+ display: flex;
785
+ flex-flow: row wrap;
786
+ width: 100%; }
787
+ @media only screen and (max-width: 575px) {
788
+ .Vlt-template--header .Vlt-sidenav__mobile {
789
+ top: 70px;
790
+ z-index: 650; } }
791
+
792
+ .Vlt-header {
793
+ align-items: center;
794
+ background: #ffffff;
795
+ box-shadow: 1px 0 8px rgba(44, 45, 48, 0.2);
796
+ display: flex;
797
+ flex: 0 0 100%;
798
+ height: 70px;
799
+ justify-content: space-between;
800
+ padding: 4px 20px;
801
+ transition: height 0.5s;
802
+ width: 100%;
803
+ z-index: 700; }
804
+ @media only screen and (max-width: 575px) {
805
+ .Vlt-header {
806
+ position: fixed; } }
807
+ .Vlt-header__logo {
808
+ display: block;
809
+ flex: 0 0 270px; }
810
+ @media only screen and (max-width: 575px) {
811
+ .Vlt-header__logo {
812
+ flex: 0 0 50px; } }
813
+ .Vlt-header__logo img {
814
+ height: 40px;
815
+ margin: 10px 0; }
816
+ .Vlt-header__menu {
817
+ flex: 1; }
818
+ .Vlt-header__menu--right {
819
+ text-align: right; }
820
+ .Vlt-header .Vlt-tabs__header {
821
+ border: 0; }
822
+
823
+ .Vlt-main {
824
+ flex: 1;
825
+ height: 100vh;
826
+ overflow-y: auto;
827
+ padding-bottom: 20px;
828
+ padding-left: 10px;
829
+ padding-right: 20px;
830
+ padding-top: 15px; }
831
+ @media only screen and (max-width: 575px) {
832
+ .Vlt-main {
833
+ padding: 10px; } }
834
+ .Vlt-main--light {
835
+ background: #f8fafc; }
836
+ @media only screen and (max-width: 575px) {
837
+ .Vlt-template--sidenav .Vlt-main {
838
+ padding-top: 70px; } }
839
+ .Vlt-template--auth .Vlt-main {
840
+ align-items: center;
841
+ display: flex;
842
+ justify-content: center; }
843
+ @media only screen and (max-width: 575px) {
844
+ .Vlt-template--auth .Vlt-main {
845
+ padding-top: 100px; } }
846
+ @media only screen and (max-width: 575px) {
847
+ .Vlt-template--sidenav.Vlt-template--header .Vlt-main {
848
+ padding-top: 140px; } }
849
+ .Vlt-main__content {
850
+ max-height: calc(100vh - 130px);
851
+ max-width: 600px;
852
+ overflow-y: auto;
853
+ text-align: center; }
854
+ @media only screen and (max-width: 575px) {
855
+ .Vlt-main__content {
856
+ max-height: calc(100vh - 100px); } }
857
+
858
+ @media only screen and (min-width: 576px) {
859
+ .Vlt-template--header .Vlt-sidenav,
860
+ .Vlt-template--header .Vlt-main {
861
+ height: calc(100vh - 70px); } }
862
+
2
863
  /*# sourceMappingURL=style.css.map */