|
34 | 34 | <template> |
35 | 35 | <style> |
36 | 36 | :host { |
37 | | - --app-primary-color: #00A2DF; |
38 | | - --app-secondary-color: black; |
| 37 | + --app-primary-color: var(--api-console-primary-color, #00A2DF); |
| 38 | + --app-secondary-color: var(--api-console-secondary-color, black); |
39 | 39 | display: block; |
40 | | - background-color: var(--primary-background-color, transparent); |
| 40 | + background-color: var(--api-console-primary-background-color, var(--primary-background-color, transparent)); |
41 | 41 | @apply --arc-font-body1; |
42 | 42 | } |
43 | 43 |
|
|
84 | 84 | } |
85 | 85 |
|
86 | 86 | :host([layout-narrow]) app-drawer { |
87 | | - z-index: 1; |
| 87 | + z-index: var(--api-console-drawer-zindex, 1); |
88 | 88 | } |
89 | 89 |
|
90 | 90 | app-toolbar { |
|
141 | 141 |
|
142 | 142 | api-request-panel, |
143 | 143 | api-documentation { |
144 | | - max-width: var(--api-console-main-max-width, 900px); |
| 144 | + max-width: var(--api-console-main-max-width, 1600px); |
145 | 145 | } |
146 | 146 |
|
147 | 147 | .api-docs { |
|
190 | 190 | margin: 0; |
191 | 191 | @apply --api-method-documentation-title-narrow; |
192 | 192 | } |
| 193 | + |
| 194 | + .store-link { |
| 195 | + @apply --arc-link; |
| 196 | + } |
193 | 197 | </style> |
194 | 198 | <template is="dom-if" if="[[app]]" restamp="true"> |
195 | 199 | <iron-media-query query="(max-width: 740px)" query-matches="{{narrow}}"></iron-media-query> |
@@ -233,7 +237,7 @@ <h1 class="method-title">[[methodName]]</h1> |
233 | 237 | </div> |
234 | 238 | </div> |
235 | 239 | <div class="extension-banner" active$="[[extensionBannerActive]]"> |
236 | | - <p>For better experience install API console extension. Get it from <a target="_blank" href="https://chrome.google.com/webstore/detail/olkpohecoakpkpinafnpppponcfojioa">Chrome Web Store</a></p> |
| 240 | + <p>For better experience install API console extension. Get it from <a target="_blank" class="store-link" href="https://chrome.google.com/webstore/detail/olkpohecoakpkpinafnpppponcfojioa">Chrome Web Store</a></p> |
237 | 241 | <paper-icon-button icon="arc:close" on-click="dismissExtensionBanner"></paper-icon-button> |
238 | 242 | </div> |
239 | 243 | <api-request-panel |
@@ -266,7 +270,7 @@ <h1 class="method-title">[[methodName]]</h1> |
266 | 270 | <template is="dom-if" if="[[_renderInlineTyit]]" restamp> |
267 | 271 | <div class="inline-request"> |
268 | 272 | <div class="extension-banner" active$="[[extensionBannerActive]]"> |
269 | | - <p>For better experience install API console extension. Get it from <a target="_blank" href="https://chrome.google.com/webstore/detail/olkpohecoakpkpinafnpppponcfojioa">Chrome Web Store</a></p> |
| 273 | + <p>For better experience install API console extension. Get it from <a target="_blank" class="store-link" href="https://chrome.google.com/webstore/detail/olkpohecoakpkpinafnpppponcfojioa">Chrome Web Store</a></p> |
270 | 274 | <paper-icon-button icon="arc:close" on-click="dismissExtensionBanner"></paper-icon-button> |
271 | 275 | </div> |
272 | 276 | <api-request-panel |
|
0 commit comments