topcoat-rails 0.0.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. data/.gitignore +17 -0
  2. data/Gemfile +4 -0
  3. data/LICENSE +22 -0
  4. data/README.md +34 -0
  5. data/Rakefile +61 -0
  6. data/app/assets/fonts/topcoat/LICENSE.txt +93 -0
  7. data/app/assets/fonts/topcoat/SourceCodePro-Black.otf +0 -0
  8. data/app/assets/fonts/topcoat/SourceCodePro-Bold.otf +0 -0
  9. data/app/assets/fonts/topcoat/SourceCodePro-ExtraLight.otf +0 -0
  10. data/app/assets/fonts/topcoat/SourceCodePro-Light.otf +0 -0
  11. data/app/assets/fonts/topcoat/SourceCodePro-Regular.otf +0 -0
  12. data/app/assets/fonts/topcoat/SourceCodePro-Semibold.otf +0 -0
  13. data/app/assets/fonts/topcoat/SourceSansPro-Black.otf +0 -0
  14. data/app/assets/fonts/topcoat/SourceSansPro-BlackIt.otf +0 -0
  15. data/app/assets/fonts/topcoat/SourceSansPro-Bold.otf +0 -0
  16. data/app/assets/fonts/topcoat/SourceSansPro-BoldIt.otf +0 -0
  17. data/app/assets/fonts/topcoat/SourceSansPro-ExtraLight.otf +0 -0
  18. data/app/assets/fonts/topcoat/SourceSansPro-ExtraLightIt.otf +0 -0
  19. data/app/assets/fonts/topcoat/SourceSansPro-It.otf +0 -0
  20. data/app/assets/fonts/topcoat/SourceSansPro-Light.otf +0 -0
  21. data/app/assets/fonts/topcoat/SourceSansPro-LightIt.otf +0 -0
  22. data/app/assets/fonts/topcoat/SourceSansPro-Regular.otf +0 -0
  23. data/app/assets/fonts/topcoat/SourceSansPro-Semibold.otf +0 -0
  24. data/app/assets/fonts/topcoat/SourceSansPro-SemiboldIt.otf +0 -0
  25. data/app/assets/images/topcoat/avatar.png +0 -0
  26. data/app/assets/images/topcoat/bg_dark.png +0 -0
  27. data/app/assets/images/topcoat/breadcrumb.png +0 -0
  28. data/app/assets/images/topcoat/checkbox_checked.png +0 -0
  29. data/app/assets/images/topcoat/checkbox_checked_dark.png +0 -0
  30. data/app/assets/images/topcoat/checkbox_unchecked.png +0 -0
  31. data/app/assets/images/topcoat/checkbox_unchecked_dark.png +0 -0
  32. data/app/assets/images/topcoat/checkmark_bw.svg +15 -0
  33. data/app/assets/images/topcoat/dark-combo-box-bg.png +0 -0
  34. data/app/assets/images/topcoat/dark-combo-box-bg2x.png +0 -0
  35. data/app/assets/images/topcoat/dark-grips.png +0 -0
  36. data/app/assets/images/topcoat/dark-sprites2x.png +0 -0
  37. data/app/assets/images/topcoat/dialog-zone-bg.png +0 -0
  38. data/app/assets/images/topcoat/drop-down-triangle-dark.png +0 -0
  39. data/app/assets/images/topcoat/drop-down-triangle.png +0 -0
  40. data/app/assets/images/topcoat/hamburger_bw.svg +1912 -0
  41. data/app/assets/images/topcoat/hamburger_dark.svg +1935 -0
  42. data/app/assets/images/topcoat/hamburger_light.svg +1936 -0
  43. data/app/assets/images/topcoat/light-combo-box-bg.png +0 -0
  44. data/app/assets/images/topcoat/light-combo-box-bg2x.png +0 -0
  45. data/app/assets/images/topcoat/light-grips.png +0 -0
  46. data/app/assets/images/topcoat/light-sprites2x.png +0 -0
  47. data/app/assets/images/topcoat/pop-up-triangle-dark.png +0 -0
  48. data/app/assets/images/topcoat/pop-up-triangle.png +0 -0
  49. data/app/assets/images/topcoat/search-bg.png +0 -0
  50. data/app/assets/images/topcoat/search-bg2x.png +0 -0
  51. data/app/assets/images/topcoat/search.svg +11 -0
  52. data/app/assets/images/topcoat/search_bw.svg +16 -0
  53. data/app/assets/images/topcoat/search_dark.svg +16 -0
  54. data/app/assets/images/topcoat/search_light.svg +11 -0
  55. data/app/assets/images/topcoat/spinner.png +0 -0
  56. data/app/assets/images/topcoat/spinner2x.png +0 -0
  57. data/app/assets/stylesheets/topcoat/dark.css +954 -0
  58. data/app/assets/stylesheets/topcoat/light.css +954 -0
  59. data/lib/topcoat-rails.rb +12 -0
  60. data/lib/topcoat-rails/engine.rb +5 -0
  61. data/lib/topcoat-rails/railtie.rb +5 -0
  62. data/lib/topcoat-rails/version.rb +5 -0
  63. data/topcoat-rails.gemspec +21 -0
  64. metadata +141 -0
@@ -0,0 +1,954 @@
1
+ @font-face {
2
+ font-family: "Source Sans";
3
+ src: font-url(SourceSansPro-Regular.otf);
4
+ }
5
+ @font-face {
6
+ font-family: "Source Sans";
7
+ src: font-url(SourceSansPro-Light.otf);
8
+ font-weight: 200;
9
+ }
10
+ @font-face {
11
+ font-family: "Source Sans";
12
+ src: font-url(SourceSansPro-Semibold.otf);
13
+ font-weight: 600;
14
+ }
15
+ @font-face {
16
+ font-family: "source";
17
+ src: font-url(SourceSansPro-Regular.otf);
18
+ }
19
+ @font-face {
20
+ font-family: "source-l";
21
+ src: font-url(SourceSansPro-Light.otf);
22
+ font-weight: 200;
23
+ }
24
+ @font-face {
25
+ font-family: "source-sb";
26
+ src: font-url(SourceSansPro-Semibold.otf);
27
+ font-weight: 600;
28
+ }
29
+
30
+ body {
31
+ margin: 0;
32
+ padding: 0;
33
+ background: #dfe2e2;
34
+ color: #000;
35
+ font: 16px "Source Sans", helvetica, arial, sans-serif;
36
+ font-weight: 200;
37
+ text-rendering: optimizeLegibility;
38
+ }
39
+
40
+ .topcoat-icon--menu-stack {
41
+ background: image-url(hamburger_dark.svg) no-repeat;
42
+ -webkit-background-size: cover;
43
+ -moz-background-size: cover;
44
+ background-size: cover;
45
+ }
46
+
47
+ .quarter {
48
+ width: 25%;
49
+ }
50
+ .half {
51
+ width: 50%;
52
+ }
53
+ .three-quarters {
54
+ width: 75%;
55
+ }
56
+ .third {
57
+ width: 33.333%;
58
+ }
59
+ .two-thirds {
60
+ width: 66.666%;
61
+ }
62
+ .full {
63
+ width: 100%;
64
+ }
65
+
66
+ .left {
67
+ text-align: left;
68
+ }
69
+ .center {
70
+ text-align: center;
71
+ }
72
+ .right {
73
+ text-align: right;
74
+ }
75
+
76
+ .reset-ui {
77
+ -webkit-box-sizing: border-box;
78
+ -moz-box-sizing: border-box;
79
+ box-sizing: border-box;
80
+ -webkit-background-clip: padding;
81
+ -moz-background-clip: padding;
82
+ background-clip: padding-box;
83
+ position: relative;
84
+ display: inline-block;
85
+ vertical-align: top;
86
+ padding: 0;
87
+ margin: 0;
88
+ font: inherit;
89
+ color: inherit;
90
+ background: transparent;
91
+ border: none;
92
+ cursor: default;
93
+ -webkit-user-select: none;
94
+ -moz-user-select: none;
95
+ -ms-user-select: none;
96
+ user-select: none;
97
+ -o-text-overflow: ellipsis;
98
+ text-overflow: ellipsis;
99
+ white-space: nowrap;
100
+ overflow: hidden;
101
+ }
102
+
103
+ /*
104
+ Copyright 2012 Adobe Systems Inc.;
105
+ Licensed under the Apache License, Version 2.0 (the "License");
106
+ you may not use this file except in compliance with the License.
107
+ You may obtain a copy of the License at
108
+
109
+ http://www.apache.org/licenses/LICENSE-2.0
110
+
111
+ Unless required by applicable law or agreed to in writing, software
112
+ distributed under the License is distributed on an "AS IS" BASIS,
113
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
114
+ See the License for the specific language governing permissions and
115
+ limitations under the License.
116
+ */
117
+
118
+ /*
119
+ Button
120
+ ------
121
+
122
+ :active - Active state
123
+
124
+ .is-active - Simulates an active state on mobile devices
125
+
126
+ :disabled - Disabled state
127
+
128
+ .is-disabled - Simulates a disabled state on mobile devices
129
+
130
+ <a class="topcoat-button">Button</a>
131
+ <a class="topcoat-button is-active">Button</a>
132
+ <a class="topcoat-button is-disabled">Button</a>
133
+ */
134
+ .topcoat-button,
135
+ .topcoat-button--quiet,
136
+ .topcoat-button--large,
137
+ .topcoat-button--large--quiet,
138
+ .topcoat-button--cta,
139
+ .topcoat-button--large--cta {
140
+ position: relative;
141
+ display: inline-block;
142
+ vertical-align: top;
143
+ -webkit-box-sizing: border-box;
144
+ -moz-box-sizing: border-box;
145
+ box-sizing: border-box;
146
+ -webkit-background-clip: padding;
147
+ -moz-background-clip: padding;
148
+ background-clip: padding-box;
149
+ padding: 0;
150
+ margin: 0;
151
+ font: inherit;
152
+ color: inherit;
153
+ background: transparent;
154
+ border: none;
155
+ cursor: default;
156
+ -webkit-user-select: none;
157
+ -moz-user-select: none;
158
+ -ms-user-select: none;
159
+ user-select: none;
160
+ -o-text-overflow: ellipsis;
161
+ text-overflow: ellipsis;
162
+ white-space: nowrap;
163
+ overflow: hidden;
164
+ padding: 0 1.25rem;
165
+ font-size: 16px;
166
+ line-height: 3rem;
167
+ letter-spacing: 1px;
168
+ color: #454545;
169
+ text-shadow: 0 1px #fff;
170
+ vertical-align: top;
171
+ background-color: #e5e9e8;
172
+ -webkit-box-shadow: inset 0 1px #fff;
173
+ box-shadow: inset 0 1px #fff;
174
+ border: 1px solid #a5a8a8;
175
+ -webkit-border-radius: 6px;
176
+ border-radius: 6px;
177
+ }
178
+ .topcoat-button:active,
179
+ .topcoat-button.is-active,
180
+ .topcoat-button--large:active,
181
+ .topcoat-button--large.is-active {
182
+ background-color: #d3d7d7;
183
+ -webkit-box-shadow: inset 0 1px rgba(0,0,0,0.12);
184
+ box-shadow: inset 0 1px rgba(0,0,0,0.12);
185
+ }
186
+ .topcoat-button:disabled,
187
+ .topcoat-button.is-disabled {
188
+ opacity: 0.3;
189
+ cursor: default;
190
+ pointer-events: none;
191
+ }
192
+ /*
193
+ Quiet Button
194
+ ------------
195
+
196
+ :active - Quiet button active state
197
+
198
+ .is-active - Simulates active state for a quiet button on touch interfaces
199
+
200
+ :disabled - Disabled state
201
+
202
+ .is-disabled - Simulates disabled state
203
+
204
+ <a class="topcoat-button--quiet">Button</a>
205
+ <a class="topcoat-button--quiet is-active">Button</a>
206
+ <a class="topcoat-button--quiet is-disabled">Button</a>
207
+ */
208
+ .topcoat-button--quiet {
209
+ background: transparent;
210
+ border: 1px solid transparent;
211
+ -webkit-box-shadow: none;
212
+ box-shadow: none;
213
+ }
214
+ .topcoat-button--quiet:active,
215
+ .topcoat-button--quiet.is-active,
216
+ .topcoat-button--large--quiet:active,
217
+ .topcoat-button--large--quiet.is-active {
218
+ color: #454545;
219
+ text-shadow: 0 1px #fff;
220
+ background-color: #d3d7d7;
221
+ border: 1px solid #a5a8a8;
222
+ -webkit-box-shadow: inset 0 1px rgba(0,0,0,0.12);
223
+ box-shadow: inset 0 1px rgba(0,0,0,0.12);
224
+ }
225
+ .topcoat-button--quiet:disabled,
226
+ .topcoat-button--quiet.is-disabled {
227
+ opacity: 0.3;
228
+ cursor: default;
229
+ pointer-events: none;
230
+ }
231
+ /*
232
+ Large Button
233
+ ------------
234
+
235
+ :active - Active state
236
+
237
+ .is-active - Simulates active state touch interfaces
238
+
239
+ :disabled - Disabled state
240
+
241
+ .is-disabled - Simulates disabled state
242
+
243
+ <a class="topcoat-button--large" >Button</a>
244
+ <a class="topcoat-button--large is-active" >Button</a>
245
+ <a class="topcoat-button--large is-disabled" >Button</a>
246
+ */
247
+ .topcoat-button--large,
248
+ .topcoat-button--large--quiet {
249
+ font-size: 1.3rem;
250
+ line-height: 4rem;
251
+ }
252
+ .topcoat-button--large:disabled,
253
+ .topcoat-button--large.is-disabled {
254
+ opacity: 0.3;
255
+ cursor: default;
256
+ pointer-events: none;
257
+ }
258
+ /*
259
+ Large Quiet Button
260
+ ------------------
261
+
262
+ :active - Active state
263
+
264
+ .is-pressed - Simulates active state on touch interfaces
265
+
266
+ :disabled - Disabled state
267
+
268
+ .is-disabled - Simulates disabled state
269
+
270
+
271
+ <a class="topcoat-button--large--quiet" >Button</a>
272
+ <a class="topcoat-button--large--quiet is-active" >Button</a>
273
+ <a class="topcoat-button--large--quiet is-disabled" >Button</a>
274
+ */
275
+ .topcoat-button--large--quiet {
276
+ background: transparent;
277
+ border: 1px solid transparent;
278
+ -webkit-box-shadow: none;
279
+ box-shadow: none;
280
+ }
281
+ .topcoat-button--large--quiet:disabled,
282
+ .topcoat-button--large--quiet.is-disabled {
283
+ opacity: 0.3;
284
+ cursor: default;
285
+ pointer-events: none;
286
+ }
287
+ /*
288
+ Call To Action Button
289
+ ---------------------
290
+
291
+ :active - Active state
292
+
293
+ .is-pressed - Simulates active state on touch interfaces
294
+
295
+ :disabled - Disabled state
296
+
297
+ .is-disabled - Simulates disabled state
298
+
299
+
300
+ <a class="topcoat-button--cta" >Button</a>
301
+ <a class="topcoat-button--cta is-active" >Button</a>
302
+ <a class="topcoat-button--cta is-disabled" >Button</a>
303
+
304
+ */
305
+ .topcoat-button--cta,
306
+ .topcoat-button--large--cta {
307
+ border: 1px solid #143250;
308
+ background-color: #288edf;
309
+ -webkit-box-shadow: inset 0 1px rgba(255,255,255,0.36);
310
+ box-shadow: inset 0 1px rgba(255,255,255,0.36);
311
+ color: #fff;
312
+ font-weight: 500;
313
+ text-shadow: 0 -1px rgba(0,0,0,0.36);
314
+ }
315
+ .topcoat-button--cta:active,
316
+ .topcoat-button--cta.is-active,
317
+ .topcoat-button--large--cta:active,
318
+ .topcoat-button--large--cta.is-active {
319
+ background-color: #0380e8;
320
+ -webkit-box-shadow: inset 0 1px rgba(0,0,0,0.12);
321
+ box-shadow: inset 0 1px rgba(0,0,0,0.12);
322
+ }
323
+ .topcoat-button--cta:disabled,
324
+ .topcoat-button--cta.is-disabled {
325
+ opacity: 0.3;
326
+ cursor: default;
327
+ pointer-events: none;
328
+ }
329
+ /*
330
+ Large Call To Action Button
331
+ ---------------------------
332
+
333
+ :active - Active state
334
+
335
+ .is-active - Simulates active state touch interfaces
336
+
337
+ :disabled - Disabled state
338
+
339
+ .is-disabled - Simulates disabled state
340
+
341
+ <a class="topcoat-button--large--cta" >Button</a>
342
+ <a class="topcoat-button--large--cta is-active" >Button</a>
343
+ <a class="topcoat-button--large--cta is-disabled" >Button</a>
344
+ */
345
+ .topcoat-button--large--cta {
346
+ font-size: 1.3rem;
347
+ line-height: 4rem;
348
+ }
349
+ .topcoat-button--large-cta:disabled,
350
+ .topcoat-button--large--cta.is-disabled {
351
+ opacity: 0.3;
352
+ cursor: default;
353
+ pointer-events: none;
354
+ }
355
+
356
+ /*
357
+ Copyright 2012 Adobe Systems Inc.;
358
+ Licensed under the Apache License, Version 2.0 (the "License");
359
+ you may not use this file except in compliance with the License.
360
+ You may obtain a copy of the License at
361
+
362
+ http://www.apache.org/licenses/LICENSE-2.0
363
+
364
+ Unless required by applicable law or agreed to in writing, software
365
+ distributed under the License is distributed on an "AS IS" BASIS,
366
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
367
+ See the License for the specific language governing permissions and
368
+ limitations under the License.
369
+ */
370
+
371
+ /*
372
+ Icon Button
373
+ -----------
374
+
375
+ :active - Active state
376
+
377
+ .is-active - Simulates an active state on mobile devices
378
+
379
+ :disabled - Disabled state
380
+
381
+ .is-disabled - Simulates a disabled state on mobile devices
382
+
383
+ <a class="topcoat-icon-button">
384
+ <span class="topcoat-icon topcoat-icon--menu-stack"></span>
385
+ </a>
386
+
387
+ <a class="topcoat-icon-button is-active">
388
+ <span class="topcoat-icon topcoat-icon--menu-stack"></span>
389
+ </a>
390
+
391
+ <a class="topcoat-icon-button is-disabled">
392
+ <span class="topcoat-icon topcoat-icon--menu-stack"></span>
393
+ </a>
394
+ */
395
+ .topcoat-icon-button,
396
+ .topcoat-icon-button--quiet,
397
+ .topcoat-icon-button--large,
398
+ .topcoat-icon-button--large--quiet {
399
+ position: relative;
400
+ display: inline-block;
401
+ vertical-align: top;
402
+ -webkit-box-sizing: border-box;
403
+ -moz-box-sizing: border-box;
404
+ box-sizing: border-box;
405
+ -webkit-background-clip: padding;
406
+ -moz-background-clip: padding;
407
+ background-clip: padding-box;
408
+ padding: 0;
409
+ margin: 0;
410
+ font: inherit;
411
+ color: inherit;
412
+ background: transparent;
413
+ border: none;
414
+ cursor: default;
415
+ -webkit-user-select: none;
416
+ -moz-user-select: none;
417
+ -ms-user-select: none;
418
+ user-select: none;
419
+ -o-text-overflow: ellipsis;
420
+ text-overflow: ellipsis;
421
+ white-space: nowrap;
422
+ overflow: hidden;
423
+ padding: 0 0.75rem;
424
+ line-height: 3rem;
425
+ letter-spacing: 1px;
426
+ color: #454545;
427
+ text-shadow: 0 1px #fff;
428
+ vertical-align: baseline;
429
+ background-color: #e5e9e8;
430
+ -webkit-box-shadow: inset 0 1px #fff;
431
+ box-shadow: inset 0 1px #fff;
432
+ border: 1px solid #a5a8a8;
433
+ -webkit-border-radius: 6px;
434
+ border-radius: 6px;
435
+ }
436
+ .topcoat-icon-button:active,
437
+ .topcoat-icon-button.is-active {
438
+ background-color: #d3d7d7;
439
+ -webkit-box-shadow: inset 0 1px rgba(0,0,0,0.12);
440
+ box-shadow: inset 0 1px rgba(0,0,0,0.12);
441
+ }
442
+ .topcoat-icon-button:disabled,
443
+ .topcoat-icon-button.is-disabled {
444
+ opacity: 0.3;
445
+ cursor: default;
446
+ pointer-events: none;
447
+ }
448
+ /*
449
+ Quiet Icon Button
450
+ -----------------
451
+
452
+ :active - Button active state
453
+
454
+ .is-active - Simulates active state for a button on touch interfaces
455
+
456
+ :disabled - Disabled state
457
+
458
+ .is-disabled - Simulates disabled state
459
+
460
+ <a class="topcoat-icon-button--quiet">
461
+ <span class="topcoat-icon topcoat-icon--menu-stack"></span>
462
+ </a>
463
+
464
+ <a class="topcoat-icon-button--quiet is-active">
465
+ <span class="topcoat-icon topcoat-icon--menu-stack"></span>
466
+ </a>
467
+
468
+ <a class="topcoat-icon-button--quiet is-disabled">
469
+ <span class="topcoat-icon topcoat-icon--menu-stack"></span>
470
+ </a>
471
+ */
472
+ .topcoat-icon-button--quiet {
473
+ background: transparent;
474
+ border: 1px solid transparent;
475
+ -webkit-box-shadow: none;
476
+ box-shadow: none;
477
+ }
478
+ .topcoat-icon-button--quiet:active,
479
+ .topcoat-icon-button--quiet.is-active,
480
+ .topcoat-icon-button--large--quiet:active,
481
+ .topcoat-icon-button--large--quiet.is-active {
482
+ color: #454545;
483
+ text-shadow: 0 1px #fff;
484
+ background-color: #d3d7d7;
485
+ border: 1px solid #a5a8a8;
486
+ -webkit-box-shadow: inset 0 1px rgba(0,0,0,0.12);
487
+ box-shadow: inset 0 1px rgba(0,0,0,0.12);
488
+ }
489
+ .topcoat-icon-button--quiet:disabled,
490
+ .topcoat-icon-button--quiet.is-disabled {
491
+ opacity: 0.3;
492
+ cursor: default;
493
+ pointer-events: none;
494
+ }
495
+ /*
496
+ Large Icon Button
497
+ -----------------
498
+
499
+ :active - Active state
500
+
501
+ .is-active - Simulates an active state on mobile devices
502
+
503
+ :disabled - Disabled state
504
+
505
+ .is-disabled - Simulates a disabled state on mobile devices
506
+
507
+ <a class="topcoat-icon-button--large">
508
+ <span class="topcoat-icon--large topcoat-icon--menu-stack"></span>
509
+ </a>
510
+
511
+ <a class="topcoat-icon-button--large is-active">
512
+ <span class="topcoat-icon--large topcoat-icon--menu-stack"></span>
513
+ </a>
514
+
515
+ <a class="topcoat-icon-button--large is-disabled">
516
+ <span class="topcoat-icon--large topcoat-icon--menu-stack"></span>
517
+ </a>
518
+ */
519
+ .topcoat-icon-button--large,
520
+ .topcoat-icon-button--large--quiet {
521
+ width: 4rem;
522
+ height: 4rem;
523
+ line-height: 4rem;
524
+ }
525
+ .topcoat-icon-button--large:active,
526
+ .topcoat-icon-button--large.is-active {
527
+ background-color: #d3d7d7;
528
+ -webkit-box-shadow: inset 0 1px rgba(0,0,0,0.12);
529
+ box-shadow: inset 0 1px rgba(0,0,0,0.12);
530
+ }
531
+ .topcoat-icon-button--large:disabled,
532
+ .topcoat-icon-button--large.is-disabled {
533
+ opacity: 0.3;
534
+ cursor: default;
535
+ pointer-events: none;
536
+ }
537
+ /*
538
+ Large Quiet Icon Button
539
+ -----------------------
540
+
541
+ :active - Active state
542
+
543
+ .is-active - Simulates an active state on mobile devices
544
+
545
+ :disabled - Disabled state
546
+
547
+ .is-disabled - Simulates a disabled state on mobile devices
548
+
549
+ <a class="topcoat-icon-button--large--quiet">
550
+ <span class="topcoat-icon--large topcoat-icon--menu-stack"></span>
551
+ </a>
552
+
553
+ <a class="topcoat-icon-button--large--quiet is-active">
554
+ <span class="topcoat-icon--large topcoat-icon--menu-stack"></span>
555
+ </a>
556
+
557
+ <a class="topcoat-icon-button--large--quiet is-disabled">
558
+ <span class="topcoat-icon--large topcoat-icon--menu-stack"></span>
559
+ </a>
560
+ */
561
+ .topcoat-icon-button--large--quiet {
562
+ background: transparent;
563
+ border: 1px solid transparent;
564
+ -webkit-box-shadow: none;
565
+ box-shadow: none;
566
+ }
567
+ .topcoat-icon-button--large--quiet:disabled,
568
+ .topcoat-icon-button--large--quiet.is-disabled {
569
+ opacity: 0.3;
570
+ cursor: default;
571
+ pointer-events: none;
572
+ }
573
+ .topcoat-icon,
574
+ .topcoat-icon--large {
575
+ position: relative;
576
+ display: inline-block;
577
+ vertical-align: top;
578
+ overflow: hidden;
579
+ width: 1.5rem;
580
+ height: 1.5rem;
581
+ vertical-align: middle;
582
+ }
583
+ .topcoat-icon--large {
584
+ width: 2.5rem;
585
+ height: 2.5rem;
586
+ }
587
+
588
+ /*
589
+ Copyright 2012 Adobe Systems Inc.;
590
+ Licensed under the Apache License, Version 2.0 (the "License");
591
+ you may not use this file except in compliance with the License.
592
+ You may obtain a copy of the License at
593
+
594
+ http://www.apache.org/licenses/LICENSE-2.0
595
+
596
+ Unless required by applicable law or agreed to in writing, software
597
+ distributed under the License is distributed on an "AS IS" BASIS,
598
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
599
+ See the License for the specific language governing permissions and
600
+ limitations under the License.
601
+ */
602
+
603
+ /*
604
+ List
605
+ ------------
606
+
607
+ <div class="topcoat-list__container">
608
+ <h3 class="topcoat-list__header">Category</h3>
609
+ <ul class="topcoat-list">
610
+ <li class="topcoat-list__item--first">
611
+ Item
612
+ </li>
613
+ <li class="topcoat-list__item">
614
+ Item
615
+ </li>
616
+ <li class="topcoat-list__item">
617
+ Item
618
+ </li>
619
+ </ul>
620
+ </div>
621
+
622
+ */
623
+ .topcoat-list__container {
624
+ padding: 0;
625
+ margin: 0;
626
+ font: inherit;
627
+ color: inherit;
628
+ background: transparent;
629
+ border: none;
630
+ cursor: default;
631
+ -webkit-user-select: none;
632
+ -moz-user-select: none;
633
+ -ms-user-select: none;
634
+ user-select: none;
635
+ overflow: auto;
636
+ -webkit-overflow-scrolling: touch;
637
+ border-top: 1px solid #bcbfbf;
638
+ border-bottom: 1px solid #eff1f1;
639
+ background-color: #dfe2e2;
640
+ }
641
+ .topcoat-list__header {
642
+ margin: 0;
643
+ padding: 4px 20px;
644
+ font-size: 0.9em;
645
+ font-weight: 400;
646
+ background-color: #cccfcf;
647
+ color: #656565;
648
+ text-shadow: 0 1px 0 rgba(255,255,255,0.5);
649
+ border-top: solid 1px rgba(255,255,255,0.5);
650
+ border-bottom: solid 1px rgba(255,255,255,0.23);
651
+ }
652
+ .topcoat-list {
653
+ padding: 0;
654
+ margin: 0;
655
+ list-style-type: none;
656
+ border-top: 1px solid #bcbfbf;
657
+ color: #454545;
658
+ }
659
+ .topcoat-list__item,
660
+ .topcoat-list__item--first {
661
+ margin: 0;
662
+ padding: 0;
663
+ padding: 1.25rem;
664
+ border-top: 1px solid #eff1f1;
665
+ border-bottom: 1px solid #bcbfbf;
666
+ }
667
+ .topcoat-list__item--first {
668
+ border-top: 1px solid rgba(0,0,0,0.05);
669
+ }
670
+
671
+ /*
672
+ Copyright 2012 Adobe Systems Inc.;
673
+ Licensed under the Apache License, Version 2.0 (the "License");
674
+ you may not use this file except in compliance with the License.
675
+ You may obtain a copy of the License at
676
+
677
+ http://www.apache.org/licenses/LICENSE-2.0
678
+
679
+ Unless required by applicable law or agreed to in writing, software
680
+ distributed under the License is distributed on an "AS IS" BASIS,
681
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
682
+ See the License for the specific language governing permissions and
683
+ limitations under the License.
684
+ */
685
+
686
+ /*
687
+ Navigation Bar
688
+ --------------
689
+
690
+ <div class="topcoat-navigation-bar">
691
+ <div class="topcoat-navigation-bar__item left quarter">
692
+ <a class="topcoat-icon-button--quiet">
693
+ <span class="topcoat-icon topcoat-icon--menu-stack"></span>
694
+ </a>
695
+ </div>
696
+ <div class="topcoat-navigation-bar__item center half">
697
+ <h1 class="topcoat-navigation-bar__title">Header</h1>
698
+ </div>
699
+ <div class="topcoat-navigation-bar__item right quarter">
700
+ <a class="topcoat-icon-button--quiet">
701
+ <span class="topcoat-icon topcoat-icon--edit"></span>
702
+ </a>
703
+ </div>
704
+ </div>
705
+ */
706
+ .topcoat-navigation-bar {
707
+ -webkit-box-sizing: border-box;
708
+ -moz-box-sizing: border-box;
709
+ box-sizing: border-box;
710
+ -webkit-background-clip: padding;
711
+ -moz-background-clip: padding;
712
+ background-clip: padding-box;
713
+ padding: 0;
714
+ margin: 0;
715
+ font: inherit;
716
+ color: inherit;
717
+ background: transparent;
718
+ border: none;
719
+ cursor: default;
720
+ -webkit-user-select: none;
721
+ -moz-user-select: none;
722
+ -ms-user-select: none;
723
+ user-select: none;
724
+ height: 4rem;
725
+ padding-left: 1rem;
726
+ padding-right: 1rem;
727
+ background: #e5e9e8;
728
+ color: #000;
729
+ -webkit-box-shadow: inset 0 -1 #b9bcbc, 0 1px rgba(0,0,0,0.95);
730
+ box-shadow: inset 0 -1 #b9bcbc, 0 1px rgba(0,0,0,0.95);
731
+ }
732
+ .topcoat-navigation-bar__item {
733
+ -webkit-box-sizing: border-box;
734
+ -moz-box-sizing: border-box;
735
+ box-sizing: border-box;
736
+ -webkit-background-clip: padding;
737
+ -moz-background-clip: padding;
738
+ background-clip: padding-box;
739
+ position: relative;
740
+ display: inline-block;
741
+ vertical-align: top;
742
+ padding: 0;
743
+ margin: 0;
744
+ font: inherit;
745
+ color: inherit;
746
+ background: transparent;
747
+ border: none;
748
+ margin: var-margin;
749
+ line-height: 4rem;
750
+ vertical-align: top;
751
+ }
752
+ .topcoat-navigation-bar__title {
753
+ padding: 0;
754
+ margin: 0;
755
+ font: inherit;
756
+ color: inherit;
757
+ background: transparent;
758
+ border: none;
759
+ -o-text-overflow: ellipsis;
760
+ text-overflow: ellipsis;
761
+ white-space: nowrap;
762
+ overflow: hidden;
763
+ font-size: 1.3rem;
764
+ font-weight: 400;
765
+ color: #000;
766
+ }
767
+
768
+ /*
769
+ Copyright 2012 Adobe Systems Inc.;
770
+ Licensed under the Apache License, Version 2.0 (the "License");
771
+ you may not use this file except in compliance with the License.
772
+ You may obtain a copy of the License at
773
+
774
+ http://www.apache.org/licenses/LICENSE-2.0
775
+
776
+ Unless required by applicable law or agreed to in writing, software
777
+ distributed under the License is distributed on an "AS IS" BASIS,
778
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
779
+ See the License for the specific language governing permissions and
780
+ limitations under the License.
781
+ */
782
+
783
+ /*
784
+ Search Input
785
+ ------------
786
+
787
+ :disabled - Disabled state
788
+
789
+ .is-disabled - Simulates a disabled state
790
+
791
+ <input type="search" value="" placeholder="search" class="topcoat-search-input">
792
+ <input type="search is-disabled" value="" placeholder="search" class="topcoat-search-input">
793
+
794
+ */
795
+ .topcoat-search-input,
796
+ .topcoat-search-input--large {
797
+ vertical-align: top;
798
+ -webkit-box-sizing: border-box;
799
+ -moz-box-sizing: border-box;
800
+ box-sizing: border-box;
801
+ padding: 0 1.25rem;
802
+ -webkit-border-radius: 6px;
803
+ border-radius: 6px;
804
+ margin: 5px;
805
+ height: 3rem;
806
+ font: inherit;
807
+ font-weight: 200;
808
+ outline: none;
809
+ border: 1px solid #a5a8a8;
810
+ background-color: #e5e9e8;
811
+ -webkit-box-shadow: inset 0 1px rgba(0,0,0,0.12);
812
+ box-shadow: inset 0 1px rgba(0,0,0,0.12);
813
+ color: #454545;
814
+ -webkit-appearance: none;
815
+ padding: 0 0 0 2.7em;
816
+ -webkit-border-radius: 30px;
817
+ border-radius: 30px;
818
+ background-image: image-url(search.svg);
819
+ background-position: 1em center;
820
+ background-repeat: no-repeat;
821
+ -webkit-background-size: 16px;
822
+ -moz-background-size: 16px;
823
+ background-size: 16px;
824
+ }
825
+ .topcoat-search-input:focus,
826
+ .topcoat-search-input--large:focus {
827
+ background-color: #fff;
828
+ color: var-color-focus;
829
+ }
830
+ .topcoat-search-input::-webkit-search-cancel-button,
831
+ .topcoat-search-input::-webkit-search-decoration {
832
+ margin-right: 5px;
833
+ }
834
+ .topcoat-search-input:focus::-webkit-input-placeholder,
835
+ .topcoat-search-input:focus::-webkit-input-placeholder {
836
+ color: #c6c8c8;
837
+ }
838
+ .topcoat-search-input:disabled,
839
+ .topcoat-search-input.is-disabled {
840
+ opacity: 0.3;
841
+ cursor: default;
842
+ pointer-events: none;
843
+ }
844
+ /*
845
+ Large Search Input
846
+ ------------------
847
+
848
+ :disabled - Disabled state
849
+
850
+ .is-disabled - Simulates a disabled state
851
+
852
+ <input type="search" value="" placeholder="search" class="topcoat-search-input--large">
853
+ <input type="search" value="" placeholder="search" class="topcoat-search-input--large .is-disabled">
854
+
855
+ */
856
+ .topcoat-search-input--large {
857
+ height: 4rem;
858
+ font-size: 1.3rem;
859
+ font-weight: 200;
860
+ padding-left: 2.8em;
861
+ -webkit-border-radius: 40px;
862
+ border-radius: 40px;
863
+ background-position: 1.2em center;
864
+ -webkit-background-size: 1.3rem;
865
+ -moz-background-size: 1.3rem;
866
+ background-size: 1.3rem;
867
+ }
868
+ .topcoat-search-input--large:disabled,
869
+ .topcoat-search-input--large.is-disabled {
870
+ opacity: 0.3;
871
+ cursor: default;
872
+ pointer-events: none;
873
+ }
874
+
875
+ /*
876
+ Copyright 2012 Adobe Systems Inc.;
877
+ Licensed under the Apache License, Version 2.0 (the "License");
878
+ you may not use this file except in compliance with the License.
879
+ You may obtain a copy of the License at
880
+
881
+ http://www.apache.org/licenses/LICENSE-2.0
882
+
883
+ Unless required by applicable law or agreed to in writing, software
884
+ distributed under the License is distributed on an "AS IS" BASIS,
885
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
886
+ See the License for the specific language governing permissions and
887
+ limitations under the License.
888
+ */
889
+
890
+ /*
891
+ Text Input
892
+ ----------
893
+
894
+ :disabled - Disabled state
895
+ .is-disabled - Simulates a disabled state on mobile devices
896
+
897
+ <input type="text" class="topcoat-text-input" value="" placeholder="text">
898
+ <input type="text" class="topcoat-text-input is-disabled" value="" placeholder="text">
899
+
900
+ */
901
+ .topcoat-text-input,
902
+ .topcoat-text-input--large {
903
+ vertical-align: top;
904
+ -webkit-box-sizing: border-box;
905
+ -moz-box-sizing: border-box;
906
+ box-sizing: border-box;
907
+ padding: 0 1.25rem;
908
+ -webkit-border-radius: 6px;
909
+ border-radius: 6px;
910
+ margin: 5px;
911
+ height: 3rem;
912
+ font: inherit;
913
+ font-weight: 200;
914
+ outline: none;
915
+ border: 1px solid #a5a8a8;
916
+ background-color: #e5e9e8;
917
+ -webkit-box-shadow: inset 0 1px rgba(0,0,0,0.12);
918
+ box-shadow: inset 0 1px rgba(0,0,0,0.12);
919
+ color: #454545;
920
+ }
921
+ .topcoat-text-input:focus {
922
+ background-color: #fff;
923
+ color: #000;
924
+ }
925
+ .topcoat-text-input:disabled,
926
+ .topcoat-text-input.is-disabled {
927
+ opacity: 0.3;
928
+ cursor: default;
929
+ pointer-events: none;
930
+ }
931
+ /*
932
+ Large Text Input
933
+ ----------------
934
+
935
+ :disabled - Disabled state
936
+ .is-disabled - Simulates a disabled state on mobile devices
937
+
938
+ <input type="text" class="topcoat-text-input--large" value="" placeholder="text">
939
+ <input type="text" class="topcoat-text-input--large is-disabled" value="" placeholder="text">
940
+ */
941
+ .topcoat-text-input--large {
942
+ height: 4rem;
943
+ font-size: 1.3rem;
944
+ }
945
+ .topcoat-text-input--large:focus {
946
+ background-color: #fff;
947
+ color: #000;
948
+ }
949
+ .topcoat-text-input--large.is-disabled,
950
+ .topcoat-text-input--large:disabled {
951
+ opacity: 0.3;
952
+ cursor: default;
953
+ pointer-events: none;
954
+ }