forked from Polymer/old-docs-site
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsite2.css
More file actions
401 lines (338 loc) · 17.9 KB
/
site2.css
File metadata and controls
401 lines (338 loc) · 17.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
@charset "UTF-8";
@import url(//fonts.googleapis.com/css?family=Open+Sans:300,300italic,600,800|Source+Code+Pro);
/* line 20, ../sass/spec.scss */
.meta { font-size: 12px; font-weight: normal; line-height: 20px; }
/* line 27, ../sass/spec.scss */
.secondary { font-size: 14px; font-weight: normal; line-height: 20px; }
/* line 34, ../sass/spec.scss */
body { font-size: 16px; font-family: "Open Sans", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 24px; }
/* line 49, ../sass/spec.scss */
h1, h2, h3, h4, h5 { font-weight: 300; letter-spacing: -0.01em; line-height: 48px; margin: 0; }
/* line 55, ../sass/spec.scss */
h1 { font-size: 40px; }
/* line 58, ../sass/spec.scss */
h2 { font-size: 24px; }
/* line 61, ../sass/spec.scss */
h3 { font-size: 20px; }
/* line 64, ../sass/spec.scss */
h4 { font-size: 16px; font-weight: 600; }
/* line 68, ../sass/spec.scss */
h5 { font-size: 12px; font-weight: 600; }
/* line 73, ../sass/spec.scss */
button { font-size: 12px; font-weight: normal; text-transform: uppercase; }
/* line 80, ../sass/spec.scss */
a { font-size: inherit; font-weight: normal; color: #3367d6; text-decoration: none; }
/* line 89, ../sass/spec.scss */
a:hover { text-decoration: underline; }
/* line 93, ../sass/spec.scss */
code, pre { font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace; }
/* line 3, ../sass/polymer.scss */
.platform { color: #9f499b; }
/* line 8, ../sass/polymer.scss */
.elements-using { color: #5c6bc0; }
/* line 13, ../sass/polymer.scss */
.elements-creating { color: #d61a7f; }
/* line 18, ../sass/polymer.scss */
.main-bg, #architecture .box { background-color: #eeeeee; }
/* line 22, ../sass/polymer.scss */
.main-purple { background-color: #1f2036; }
/* line 26, ../sass/polymer.scss */
code, pre { color: #9f499b; }
/* line 31, ../sass/polymer.scss */
.prettyprint { margin: 30px 0; }
/* line 35, ../sass/polymer.scss */
.prettyprint .typ { color: #6b499f; }
/* line 39, ../sass/polymer.scss */
.prettyprint .pun { color: #5c6bc0; }
/* line 42, ../sass/polymer.scss */
.prettyprint .str { color: #ff4081; }
/* line 45, ../sass/polymer.scss */
.prettyprint .pln { color: #7986cb; }
/* line 48, ../sass/polymer.scss */
.prettyprint .kwd { color: #d61a7f; }
/* line 54, ../sass/polymer.scss */
.prettyprint .atn { color: #6b499f; }
/* line 57, ../sass/polymer.scss */
.prettyprint .atv { color: #7986cb; }
/* line 60, ../sass/polymer.scss */
.prettyprint .com { color: #8a8a8a; }
/* line 12, ../sass/site2.scss */
* { box-sizing: border-box; }
/* line 22, ../sass/site2.scss */
h2:target:before, h3:target:before, h4:target:before, h5:target:before { display: block; content: " "; margin-top: -70px; height: 90px; visibility: hidden; }
/* line 31, ../sass/site2.scss */
html, body { margin: 0; padding: 0; height: 100%; }
/* line 37, ../sass/site2.scss */
body { color: #444; }
/* line 43, ../sass/site2.scss */
img { max-width: 100%; }
/* line 47, ../sass/site2.scss */
pre, code { white-space: pre-wrap; word-wrap: break-word; }
/* line 52, ../sass/site2.scss */
ul, ol { padding-left: 0; }
/* line 55, ../sass/site2.scss */
ul li::before, ol li::before { content: '·'; color: #999999; margin-left: -15px; position: absolute; }
/* line 63, ../sass/site2.scss */
ul ul, ol ul { margin-left: 30px; }
/* line 68, ../sass/site2.scss */
ul { list-style: none; }
/* line 73, ../sass/site2.scss */
table.table { width: 100%; }
/* line 77, ../sass/site2.scss */
table.first-col-nowrap tr td:first-of-type { white-space: nowrap; }
/* line 81, ../sass/site2.scss */
table td { padding: 0; margin: 0; vertical-align: top; padding: 12px 12px 12px 0; }
/* line 88, ../sass/site2.scss */
table th { text-transform: uppercase; font-size: 14px; text-align: left; padding-right: 40px; border-bottom: 1px solid #eeeeee; font-weight: 600; line-height: 48px; }
/* line 99, ../sass/site2.scss */
b, strong { font-weight: 600; }
/* line 103, ../sass/site2.scss */
hr { border: none; border-bottom: 1px solid #eeeeee; }
/* line 109, ../sass/site2.scss */
dl dt { font-weight: 600; }
/* line 113, ../sass/site2.scss */
dl.horizontal dt { float: left; width: 160px; }
/* line 124, ../sass/site2.scss */
blockquote { padding: 0 0 0 15px; margin: 0 0 20px; border-left: 5px solid #eeeeee; }
/* line 130, ../sass/site2.scss */
summary { outline: none; }
/* Help catch template errors. */
/* line 135, ../sass/site2.scss */
.error { border: 3px solid red; background-color: rgba(255, 0, 0, 0.3); padding: 5px; }
/* line 141, ../sass/site2.scss */
.alert { color: #999999; border: 1px solid #eeeeee; font-size: 14px; padding: 10px 15px; }
/* line 147, ../sass/site2.scss */
.alert b, .alert strong { margin-right: 5px; }
/* line 153, ../sass/site2.scss */
.alert.alert-success b, .alert.alert-success strong { color: green; }
/* line 160, ../sass/site2.scss */
.alert.alert-info b, .alert.alert-info strong { color: #3367d6; }
/* line 167, ../sass/site2.scss */
.alert.alert-error b, .alert.alert-error strong { color: #ff4120; }
/* Remove empty p generated from markdown conversion. */
/* line 174, ../sass/site2.scss */
p:empty { display: none; }
/* line 177, ../sass/site2.scss */
a[disabled] { pointer-events: none; color: #ccc; }
/* -------------------------------------------------------------------------- */
/* line 199, ../sass/site2.scss */
a.paper-button { color: inherit; }
/* line 203, ../sass/site2.scss */
.paper-button { -webkit-transition: box-shadow 0.2s, background 0.2s; transition: box-shadow 0.2s, background 0.2s; border: none; cursor: default; overflow: hidden; position: relative; color: #666666; padding: 14px 14px 12px; border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-right-radius: 2px; border-bottom-left-radius: 2px; outline: none; }
/* line 218, ../sass/site2.scss */
.paper-button[borderless] { border: none; background: none; }
/* line 223, ../sass/site2.scss */
.paper-button:not([borderless]) { background: #fafafa; box-shadow: rgba(0, 0, 0, 0.14902) 0px 1px 1px 0px, rgba(0, 0, 0, 0.09804) 0px 1px 2px 0px; }
/* line 228, ../sass/site2.scss */
.paper-button:hover, .paper-button.active { background: #fff; box-shadow: 0px 4px 10px 0 rgba(0, 0, 0, 0.1), 0px 2px 10px 0px rgba(0, 0, 0, 0.1); }
/* line 234, ../sass/site2.scss */
.paper-button[sink] { padding: 7px 10px; transition: none; }
/* line 238, ../sass/site2.scss */
.paper-button[sink]:hover, .paper-button[sink].active { box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2) inset, 0 -1px 1px rgba(0, 0, 0, 0.1) inset, 0 1px 0px rgba(0, 0, 0, 0.2) inset; background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 5%, rgba(0, 0, 0, 0.08) 40%); background: linear-gradient(top, rgba(0, 0, 0, 0) 5%, rgba(0, 0, 0, 0.08) 40%); }
/* line 245, ../sass/site2.scss */
.paper-button a { font-size: 13px; line-height: 24px; letter-spacing: 0.06em; color: inherit; vertical-align: middle; opacity: 0.6; color: black; margin-left: 5px; text-decoration: none; }
/* line 258, ../sass/site2.scss */
polymer-ui-icon { width: 24px; height: 24px; background-size: 48px !important; }
/* line 266, ../sass/site2.scss */
.content-padding, .panel, footer > :first-child { max-width: 1032px; margin: 0 auto; }
/* line 271, ../sass/site2.scss */
.bar { padding: 16px !important; height: 80px; }
/* line 276, ../sass/site2.scss */
.bar a { text-decoration: none; }
/* line 281, ../sass/site2.scss */
.panel { padding: 150px 0; display: -webkit-box; display: -webkit-flex; display: -moz-flex; display: -ms-flex; display: -o-flex; display: flex; }
/* line 289, ../sass/site2.scss */
.panel.left img { margin-right: 88px; }
/* line 294, ../sass/site2.scss */
.panel.right img { margin-left: 88px; }
/* line 299, ../sass/site2.scss */
.panel summary { -webkit-box-flex: 1; -webkit-flex: 1; -moz-flex: 1; -ms-flex: 1; -o-flex: 1; flex: 1; }
/* line 302, ../sass/site2.scss */
.panel summary + summary { margin-left: 25px; }
/* line 306, ../sass/site2.scss */
.panel summary p { margin: 56px 0; line-height: 32px; }
/* line 312, ../sass/site2.scss */
.panel img { -webkit-align-self: center; -moz-align-self: center; -ms-align-self: center; -o-align-self: center; align-self: center; }
/* line 317, ../sass/site2.scss */
polymer-ui-toolbar { font: inherit !important; border: none !important; background: inherit !important; height: auto; color: inherit !important; }
/* line 326, ../sass/site2.scss */
.sticky { position: fixed !important; width: 100%; }
/* line 338, ../sass/site2.scss */
section { border-bottom: 1px solid #eeeeee; }
/* line 366, ../sass/site2.scss */
#future polymer-ui-toolbar { -webkit-box-align: stretch; -webkit-align-items: stretch; -moz-align-items: stretch; -ms-align-items: stretch; -o-align-items: stretch; align-items: stretch; }
/* line 370, ../sass/site2.scss */
#future .paper-button:not(:last-child) { margin-right: 30px; }
/* line 384, ../sass/site2.scss */
#everything-element .panel img { max-width: 312px; }
/* line 387, ../sass/site2.scss */
#everything-element summary { color: #fff; }
/* line 390, ../sass/site2.scss */
#everything-element .paper-button { background: #262742 !important; }
/* line 394, ../sass/site2.scss */
#everything-element .paper-button:hover { background: #3a3b56 !important; }
/* line 398, ../sass/site2.scss */
#everything-element .paper-button a { color: white; }
/* line 405, ../sass/site2.scss */
#architecture .panel { padding: 35px 0; }
/* line 408, ../sass/site2.scss */
#architecture .box { padding: 100px 24px 14px; margin-bottom: 56px; }
/* line 413, ../sass/site2.scss */
#architecture h5 { font-size: 14px; font-weight: normal; color: #999999; line-height: 24px; letter-spacing: 0.01em; margin-top: 6px; margin-bottom: 18px; }
/* line 422, ../sass/site2.scss */
#architecture p { font-size: 14px; line-height: 24px; margin-top: 0; }
/* line 427, ../sass/site2.scss */
#architecture img { height: 92px; width: auto; }
/* line 435, ../sass/site2.scss */
footer { position: relative; z-index: 100; background-color: #e6e6e6; padding: 100px 0; box-shadow: rgba(0, 0, 0, 0.14902) 0px 1px 1px 0px inset, rgba(0, 0, 0, 0.09804) 0px 1px 2px 0px inset; }
/* line 442, ../sass/site2.scss */
footer polymer-ui-toolbar { margin-bottom: 56px; }
/* line 446, ../sass/site2.scss */
footer .paper-button { margin-right: 30px; }
/* line 450, ../sass/site2.scss */
footer .paper-button a { opacity: 0.6; color: black; }
/* line 460, ../sass/site2.scss */
footer #copyright { color: #b3b3b3; font-size: 14px; }
/* line 464, ../sass/site2.scss */
footer #copyright a { color: #666666; }
/* line 471, ../sass/site2.scss */
#content-container .article { margin-bottom: 2em; }
/* line 475, ../sass/site2.scss */
#content-container h2 { margin-top: 40px; }
/* line 478, ../sass/site2.scss */
#content-container h3 { margin-top: 30px; }
/* line 481, ../sass/site2.scss */
#content-container h4 { margin-top: 20px; }
/* line 488, ../sass/site2.scss */
#sidebar { position: fixed; -webkit-transform: translateZ(0); -moz-transform: translateZ(0); -ms-transform: translateZ(0); -o-transform: translateZ(0); transform: translateZ(0); height: 100%; width: 248px; background-color: #eeeeee; box-shadow: rgba(0, 0, 0, 0.14902) 1px 1px 1px 0px; z-index: 10; }
/* line 499, ../sass/site2.scss */
#sidebar docs-menu { padding: 0 16px; }
/* line 503, ../sass/site2.scss */
#sidebar .logo { display: -webkit-box; display: -webkit-flex; display: -moz-flex; display: -ms-flex; display: -o-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; -moz-align-items: center; -ms-align-items: center; -o-align-items: center; align-items: center; height: 80px; margin-bottom: 24px; padding-left: 16px; }
/* line 513, ../sass/site2.scss */
.edit-on-github { /*position: absolute;
top: 0;
right: 0;*/ float: right; }
/* line 519, ../sass/site2.scss */
.edit-on-github + * { clear: both; }
/* line 524, ../sass/site2.scss */
.permalink { display: none; margin-left: 5px; vertical-align: top; }
/* line 529, ../sass/site2.scss */
.has-permalink:hover .permalink { display: initial; }
/* line 532, ../sass/site2.scss */
.no-permalink .permalink { display: none !important; }
/* line 539, ../sass/site2.scss */
.forversion { float: right; color: #ccc; font-style: italic; }
/* line 544, ../sass/site2.scss */
.article .byline { font-size: smaller; color: #ccc; }
/* line 549, ../sass/site2.scss */
.author { margin-bottom: 20px; }
/* line 552, ../sass/site2.scss */
.author > p { display: inline-block; margin: 0; }
/* line 556, ../sass/site2.scss */
.author > p:first-of-type { vertical-align: top; }
/* line 561, ../sass/site2.scss */
.author img { border-radius: 7px; margin-right: 5px; height: 40px; width: 40px; }
/* Elements */
/* line 573, ../sass/site2.scss */
.element-list > [data-element-file] { padding-bottom: 24px; border-top: 1px solid #eeeeee; }
/* line 578, ../sass/site2.scss */
.element-list header { margin: 24px 0; }
/* line 581, ../sass/site2.scss */
.element-list header h2 { margin: 0 !important; }
/* line 588, ../sass/site2.scss */
.element-list header a { margin-left: 20px; }
/* line 590, ../sass/site2.scss */
.element-list header a:not(.permalink) { font-size: initial; }
/* line 596, ../sass/site2.scss */
.element-list .name { display: inline-block; }
/* line 598, ../sass/site2.scss */
.element-list .name code { white-space: nowrap; }
/* line 603, ../sass/site2.scss */
.element-list .nodocs { margin-left: 17px; font-style: italic; }
/* line 607, ../sass/site2.scss */
.element-list .nodocs:after { content: 'No documentation available.'; }
/* line 612, ../sass/site2.scss */
.element-list iframe { border: none; width: 100%; }
/* line 618, ../sass/site2.scss */
.element-list .bower_install_instructions, .element-list .api_documentation { display: block; }
/* line 620, ../sass/site2.scss */
.element-list .bower_install_instructions > label, .element-list .api_documentation > label { font-weight: 600; }
/* line 627, ../sass/site2.scss */
.onlyonmobile { display: none; }
/* line 631, ../sass/site2.scss */
#toc summary { font-size: 16px; font-weight: 600; }
@media only screen and (max-width: 580px) { /* line 638, ../sass/site2.scss */
.onlyonmobile { display: initial !important; } }
@media only screen and (max-width: 580px) { /* line 7, ../sass/mobile.scss */
.main-bg .panel img, #architecture .box .panel img { width: 200px; margin-right: auto; margin-bottom: 10px; }
/* line 13, ../sass/mobile.scss */
.panel { flex-flow: column; margin: 30px; }
/* line 18, ../sass/mobile.scss */
.panel summary + summary { margin-right: auto; margin-left: 0px; }
/* line 23, ../sass/mobile.scss */
.panel.left { padding: 80px 0px; }
/* line 27, ../sass/mobile.scss */
.panel.right summary { flex: 1; order: 2; }
/* line 32, ../sass/mobile.scss */
.panel.right img { order: 1; width: 200px; margin-right: auto; margin-bottom: 50px; margin-left: 0px; }
/* line 40, ../sass/mobile.scss */
#architecture .box { padding: 20px 24px 14px; }
/* line 44, ../sass/mobile.scss */
.bar { height: 60px; }
/* line 48, ../sass/mobile.scss */
#future polymer-ui-toolbar button:nth-child(1) { display: none; } }
@media only screen and (max-width: 800px) { /* line 56, ../sass/mobile.scss */
#sidebar { left: -85%; width: 85%; box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2); transition: all 0.5s; z-index: 3; }
/* line 64, ../sass/mobile.scss */
#sidebar.in { left: 0; }
/* line 68, ../sass/mobile.scss */
scroll-area[sidebar] { padding-left: 0; }
/* line 72, ../sass/mobile.scss */
scroll-area > article { padding-left: 35px; padding-right: 35px; }
/* Force table to not be like tables anymore */
/* line 7, ../sass/_tables.scss */
.responsive-table, .responsive-table thead, .responsive-table tbody, .responsive-table th, .responsive-table td, .responsive-table tr { display: block; }
/* Hide table headers (but not display: none;, for accessibility) */
/* line 12, ../sass/_tables.scss */
.responsive-table th { position: absolute; top: -9999px; left: -9999px; }
/* line 18, ../sass/_tables.scss */
.responsive-table td { /* Behave like a "row" */ position: relative; padding-left: 40%; }
/* line 24, ../sass/_tables.scss */
.responsive-table td:before { /* Now like a table header */ position: absolute; left: 0; width: 35%; padding-right: 10px; text-transform: uppercase; font-size: 14px; font-weight: 600; }
/* line 35, ../sass/_tables.scss */
.responsive-table tr td:last-child { border-bottom: 1px solid #eeeeee; }
/* line 42, ../sass/_tables.scss */
.expressions-table td:nth-of-type(1):before { content: "Feature"; }
/* line 42, ../sass/_tables.scss */
.expressions-table td:nth-of-type(2):before { content: "Example"; }
/* line 42, ../sass/_tables.scss */
.expressions-table td:nth-of-type(3):before { content: "Explanation"; }
/* line 42, ../sass/_tables.scss */
.attributes-table td:nth-of-type(1):before { content: "Attribute"; }
/* line 42, ../sass/_tables.scss */
.attributes-table td:nth-of-type(2):before { content: "Required?"; }
/* line 42, ../sass/_tables.scss */
.attributes-table td:nth-of-type(3):before { content: "Description"; }
/* line 42, ../sass/_tables.scss */
.lifecycle-table td:nth-of-type(1):before { content: "Spec"; }
/* line 42, ../sass/_tables.scss */
.lifecycle-table td:nth-of-type(2):before { content: "Polymer"; }
/* line 42, ../sass/_tables.scss */
.lifecycle-table td:nth-of-type(3):before { content: "Called When"; }
/* line 42, ../sass/_tables.scss */
.fouc-table td:nth-of-type(1):before { content: "Class Name"; }
/* line 42, ../sass/_tables.scss */
.fouc-table td:nth-of-type(2):before { content: "Applied Behavior"; } }
@media only screen and (min-width: 581px) and (max-width: 800px) { /* line 87, ../sass/mobile.scss */
.main-bg .panel img, #architecture .box .panel img { width: 300px; margin-right: auto; margin-bottom: 30px; }
/* line 93, ../sass/mobile.scss */
.panel.left img { margin-left: 0px; margin-right: auto; }
/* line 98, ../sass/mobile.scss */
.panel.right img { width: 300px; margin-right: 0px; margin-left: auto; }
/* line 104, ../sass/mobile.scss */
.panel { flex-flow: column; margin: 30px; }
/* line 109, ../sass/mobile.scss */
.panel summary + summary { margin-right: auto; margin-left: 0px; }
/* line 114, ../sass/mobile.scss */
#architecture .box { padding: 20px 24px 14px; } }