polymer-gold-rails 1.0.0.pre.rc.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (202) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +36 -0
  3. data/Rakefile +1 -0
  4. data/app/assets/components/gold-cc-cvc-input/README.md +24 -0
  5. data/app/assets/components/gold-cc-cvc-input/bower.json +39 -0
  6. data/app/assets/components/gold-cc-cvc-input/cvc_hint.png +0 -0
  7. data/app/assets/components/gold-cc-cvc-input/cvc_hint_amex.png +0 -0
  8. data/app/assets/components/gold-cc-cvc-input/demo/index.html +54 -0
  9. data/app/assets/components/gold-cc-cvc-input/gold-cc-cvc-input.html +195 -0
  10. data/app/assets/components/gold-cc-cvc-input/hero.svg +36 -0
  11. data/app/assets/components/gold-cc-cvc-input/index.html +26 -0
  12. data/app/assets/components/gold-cc-cvc-input/test/basic.html +125 -0
  13. data/app/assets/components/gold-cc-cvc-input/test/index.html +25 -0
  14. data/app/assets/components/gold-cc-expiration-input/README.md +10 -0
  15. data/app/assets/components/gold-cc-expiration-input/bower.json +40 -0
  16. data/app/assets/components/gold-cc-expiration-input/date-input.html +157 -0
  17. data/app/assets/components/gold-cc-expiration-input/date-validator.html +38 -0
  18. data/app/assets/components/gold-cc-expiration-input/demo/index.html +53 -0
  19. data/app/assets/components/gold-cc-expiration-input/gold-cc-expiration-input.html +131 -0
  20. data/app/assets/components/gold-cc-expiration-input/hero.svg +58 -0
  21. data/app/assets/components/gold-cc-expiration-input/index.html +28 -0
  22. data/app/assets/components/gold-cc-expiration-input/test/basic.html +126 -0
  23. data/app/assets/components/gold-cc-expiration-input/test/index.html +25 -0
  24. data/app/assets/components/gold-cc-input/README.md +9 -0
  25. data/app/assets/components/gold-cc-input/bower.json +39 -0
  26. data/app/assets/components/gold-cc-input/cc-validator.js +192 -0
  27. data/app/assets/components/gold-cc-input/demo/index.html +48 -0
  28. data/app/assets/components/gold-cc-input/gold-cc-input.html +215 -0
  29. data/app/assets/components/gold-cc-input/hero.svg +52 -0
  30. data/app/assets/components/gold-cc-input/images/amex.png +0 -0
  31. data/app/assets/components/gold-cc-input/images/diners_club.png +0 -0
  32. data/app/assets/components/gold-cc-input/images/discover.png +0 -0
  33. data/app/assets/components/gold-cc-input/images/jcb.png +0 -0
  34. data/app/assets/components/gold-cc-input/images/mastercard.png +0 -0
  35. data/app/assets/components/gold-cc-input/images/visa.png +0 -0
  36. data/app/assets/components/gold-cc-input/index.html +28 -0
  37. data/app/assets/components/gold-cc-input/test/basic.html +136 -0
  38. data/app/assets/components/gold-cc-input/test/index.html +25 -0
  39. data/app/assets/components/gold-elements/README.md +12 -0
  40. data/app/assets/components/gold-elements/bower.json +42 -0
  41. data/app/assets/components/gold-elements/demo/complex-form.html +127 -0
  42. data/app/assets/components/gold-elements/demo/index.html +94 -0
  43. data/app/assets/components/gold-elements/demo/item-card.html +59 -0
  44. data/app/assets/components/gold-elements/demo/simple-form.css +55 -0
  45. data/app/assets/components/gold-elements/demo/simple-form.html +93 -0
  46. data/app/assets/components/gold-elements/screenshot.png +0 -0
  47. data/app/assets/components/gold-email-input/README.md +8 -0
  48. data/app/assets/components/gold-email-input/bower.json +40 -0
  49. data/app/assets/components/gold-email-input/demo/index.html +46 -0
  50. data/app/assets/components/gold-email-input/email-validator.html +31 -0
  51. data/app/assets/components/gold-email-input/gold-email-input.html +108 -0
  52. data/app/assets/components/gold-email-input/hero.svg +59 -0
  53. data/app/assets/components/gold-email-input/index.html +28 -0
  54. data/app/assets/components/gold-email-input/test/basic.html +97 -0
  55. data/app/assets/components/gold-email-input/test/index.html +25 -0
  56. data/app/assets/components/gold-phone-input/README.md +13 -0
  57. data/app/assets/components/gold-phone-input/bower.json +39 -0
  58. data/app/assets/components/gold-phone-input/demo/index.html +53 -0
  59. data/app/assets/components/gold-phone-input/gold-phone-input.html +197 -0
  60. data/app/assets/components/gold-phone-input/hero.svg +63 -0
  61. data/app/assets/components/gold-phone-input/index.html +28 -0
  62. data/app/assets/components/gold-phone-input/test/basic.html +117 -0
  63. data/app/assets/components/gold-phone-input/test/index.html +25 -0
  64. data/app/assets/components/gold-zip-input/README.md +8 -0
  65. data/app/assets/components/gold-zip-input/bower.json +40 -0
  66. data/app/assets/components/gold-zip-input/demo/index.html +54 -0
  67. data/app/assets/components/gold-zip-input/gold-zip-input.html +113 -0
  68. data/app/assets/components/gold-zip-input/hero.svg +43 -0
  69. data/app/assets/components/gold-zip-input/index.html +28 -0
  70. data/app/assets/components/gold-zip-input/test/basic.html +116 -0
  71. data/app/assets/components/gold-zip-input/test/index.html +25 -0
  72. data/app/assets/components/gold-zip-input/zip-validator.html +32 -0
  73. data/app/assets/components/iron-autogrow-textarea/README.md +24 -0
  74. data/app/assets/components/iron-autogrow-textarea/bower.json +37 -0
  75. data/app/assets/components/iron-autogrow-textarea/demo/index.html +81 -0
  76. data/app/assets/components/iron-autogrow-textarea/hero.svg +33 -0
  77. data/app/assets/components/iron-autogrow-textarea/index.html +30 -0
  78. data/app/assets/components/iron-autogrow-textarea/iron-autogrow-textarea.html +263 -0
  79. data/app/assets/components/iron-autogrow-textarea/test/basic.html +94 -0
  80. data/app/assets/components/iron-autogrow-textarea/test/index.html +25 -0
  81. data/app/assets/components/iron-flex-layout/README.md +4 -0
  82. data/app/assets/components/iron-flex-layout/bower.json +21 -0
  83. data/app/assets/components/iron-flex-layout/classes/iron-flex-layout.html +307 -0
  84. data/app/assets/components/iron-flex-layout/classes/iron-shadow-flex-layout.html +302 -0
  85. data/app/assets/components/iron-flex-layout/demo/index.html +40 -0
  86. data/app/assets/components/iron-flex-layout/demo/x-app.html +106 -0
  87. data/app/assets/components/iron-flex-layout/iron-flex-layout.html +313 -0
  88. data/app/assets/components/iron-form-element-behavior/README.md +2 -0
  89. data/app/assets/components/iron-form-element-behavior/bower.json +27 -0
  90. data/app/assets/components/iron-form-element-behavior/demo/index.html +53 -0
  91. data/app/assets/components/iron-form-element-behavior/demo/simple-element.html +27 -0
  92. data/app/assets/components/iron-form-element-behavior/demo/simple-form.html +42 -0
  93. data/app/assets/components/iron-form-element-behavior/index.html +30 -0
  94. data/app/assets/components/iron-form-element-behavior/iron-form-element-behavior.html +50 -0
  95. data/app/assets/components/iron-icon/README.md +56 -0
  96. data/app/assets/components/iron-icon/bower.json +29 -0
  97. data/app/assets/components/iron-icon/demo/index.html +28 -0
  98. data/app/assets/components/iron-icon/demo/location.png +0 -0
  99. data/app/assets/components/iron-icon/hero.svg +19 -0
  100. data/app/assets/components/iron-icon/index.html +26 -0
  101. data/app/assets/components/iron-icon/iron-icon.html +187 -0
  102. data/app/assets/components/iron-icon/test/index.html +31 -0
  103. data/app/assets/components/iron-icon/test/iron-icon.html +120 -0
  104. data/app/assets/components/iron-input/README.md +16 -0
  105. data/app/assets/components/iron-input/bower.json +36 -0
  106. data/app/assets/components/iron-input/demo/index.html +87 -0
  107. data/app/assets/components/iron-input/hero.svg +19 -0
  108. data/app/assets/components/iron-input/index.html +30 -0
  109. data/app/assets/components/iron-input/iron-input.html +235 -0
  110. data/app/assets/components/iron-input/test/index.html +24 -0
  111. data/app/assets/components/iron-input/test/iron-input.html +139 -0
  112. data/app/assets/components/iron-input/test/letters-only.html +30 -0
  113. data/app/assets/components/iron-meta/README.md +46 -0
  114. data/app/assets/components/iron-meta/bower.json +28 -0
  115. data/app/assets/components/iron-meta/demo/index.html +45 -0
  116. data/app/assets/components/iron-meta/hero.svg +33 -0
  117. data/app/assets/components/iron-meta/index.html +27 -0
  118. data/app/assets/components/iron-meta/iron-meta.html +352 -0
  119. data/app/assets/components/iron-meta/test/basic.html +48 -0
  120. data/app/assets/components/iron-meta/test/index.html +30 -0
  121. data/app/assets/components/iron-meta/test/iron-meta.html +186 -0
  122. data/app/assets/components/iron-validatable-behavior/README.md +3 -0
  123. data/app/assets/components/iron-validatable-behavior/bower.json +35 -0
  124. data/app/assets/components/iron-validatable-behavior/demo/cats-only.html +46 -0
  125. data/app/assets/components/iron-validatable-behavior/demo/index.html +71 -0
  126. data/app/assets/components/iron-validatable-behavior/demo/validatable-input.html +46 -0
  127. data/app/assets/components/iron-validatable-behavior/index.html +30 -0
  128. data/app/assets/components/iron-validatable-behavior/iron-validatable-behavior.html +101 -0
  129. data/app/assets/components/iron-validatable-behavior/test/index.html +35 -0
  130. data/app/assets/components/iron-validatable-behavior/test/iron-validatable-behavior.html +52 -0
  131. data/app/assets/components/iron-validatable-behavior/test/test-validatable.html +28 -0
  132. data/app/assets/components/iron-validator-behavior/README.md +4 -0
  133. data/app/assets/components/iron-validator-behavior/bower.json +34 -0
  134. data/app/assets/components/iron-validator-behavior/demo/cats-only.html +46 -0
  135. data/app/assets/components/iron-validator-behavior/demo/index.html +144 -0
  136. data/app/assets/components/iron-validator-behavior/index.html +30 -0
  137. data/app/assets/components/iron-validator-behavior/iron-validator-behavior.html +61 -0
  138. data/app/assets/components/iron-validator-behavior/test/index.html +34 -0
  139. data/app/assets/components/iron-validator-behavior/test/iron-validator-behavior.html +47 -0
  140. data/app/assets/components/iron-validator-behavior/test/simple-validator.html +26 -0
  141. data/app/assets/components/paper-input/README.md +5 -0
  142. data/app/assets/components/paper-input/all-imports.html +12 -0
  143. data/app/assets/components/paper-input/bower.json +44 -0
  144. data/app/assets/components/paper-input/demo/index.html +96 -0
  145. data/app/assets/components/paper-input/demo/ssn-input.html +94 -0
  146. data/app/assets/components/paper-input/demo/ssn-validator.html +31 -0
  147. data/app/assets/components/paper-input/hero.svg +19 -0
  148. data/app/assets/components/paper-input/index.html +28 -0
  149. data/app/assets/components/paper-input/paper-input-addon-behavior.html +47 -0
  150. data/app/assets/components/paper-input/paper-input-behavior.html +317 -0
  151. data/app/assets/components/paper-input/paper-input-char-counter.html +95 -0
  152. data/app/assets/components/paper-input/paper-input-container.html +495 -0
  153. data/app/assets/components/paper-input/paper-input-error.html +99 -0
  154. data/app/assets/components/paper-input/paper-input.html +126 -0
  155. data/app/assets/components/paper-input/paper-textarea.html +106 -0
  156. data/app/assets/components/paper-input/test/index.html +28 -0
  157. data/app/assets/components/paper-input/test/letters-only.html +30 -0
  158. data/app/assets/components/paper-input/test/paper-input-char-counter.html +112 -0
  159. data/app/assets/components/paper-input/test/paper-input-container.html +237 -0
  160. data/app/assets/components/paper-input/test/paper-input-error.html +60 -0
  161. data/app/assets/components/paper-input/test/paper-input.html +213 -0
  162. data/app/assets/components/paper-input/test/paper-textarea.html +169 -0
  163. data/app/assets/components/paper-styles/README.md +3 -0
  164. data/app/assets/components/paper-styles/bower.json +27 -0
  165. data/app/assets/components/paper-styles/classes/global.html +96 -0
  166. data/app/assets/components/paper-styles/classes/shadow-layout.html +302 -0
  167. data/app/assets/components/paper-styles/classes/shadow.html +39 -0
  168. data/app/assets/components/paper-styles/classes/typography.html +171 -0
  169. data/app/assets/components/paper-styles/color.html +333 -0
  170. data/app/assets/components/paper-styles/default-theme.html +39 -0
  171. data/app/assets/components/paper-styles/demo-pages.html +72 -0
  172. data/app/assets/components/paper-styles/demo.css +25 -0
  173. data/app/assets/components/paper-styles/paper-styles-classes.html +14 -0
  174. data/app/assets/components/paper-styles/paper-styles.html +17 -0
  175. data/app/assets/components/paper-styles/shadow.html +61 -0
  176. data/app/assets/components/paper-styles/typography.html +240 -0
  177. data/app/assets/components/polymer/LICENSE.txt +27 -0
  178. data/app/assets/components/polymer/bower.json +26 -0
  179. data/app/assets/components/polymer/build.log +27 -0
  180. data/app/assets/components/polymer/polymer-micro.html +523 -0
  181. data/app/assets/components/polymer/polymer-mini.html +1368 -0
  182. data/app/assets/components/polymer/polymer.html +3768 -0
  183. data/app/assets/components/webcomponentsjs/CustomElements.js +956 -0
  184. data/app/assets/components/webcomponentsjs/CustomElements.min.js +11 -0
  185. data/app/assets/components/webcomponentsjs/HTMLImports.js +1078 -0
  186. data/app/assets/components/webcomponentsjs/HTMLImports.min.js +11 -0
  187. data/app/assets/components/webcomponentsjs/MutationObserver.js +344 -0
  188. data/app/assets/components/webcomponentsjs/MutationObserver.min.js +11 -0
  189. data/app/assets/components/webcomponentsjs/README.md +125 -0
  190. data/app/assets/components/webcomponentsjs/ShadowDOM.js +4414 -0
  191. data/app/assets/components/webcomponentsjs/ShadowDOM.min.js +15 -0
  192. data/app/assets/components/webcomponentsjs/bower.json +14 -0
  193. data/app/assets/components/webcomponentsjs/build.log +33 -0
  194. data/app/assets/components/webcomponentsjs/package.json +31 -0
  195. data/app/assets/components/webcomponentsjs/webcomponents-lite.js +2300 -0
  196. data/app/assets/components/webcomponentsjs/webcomponents-lite.min.js +13 -0
  197. data/app/assets/components/webcomponentsjs/webcomponents.js +7112 -0
  198. data/app/assets/components/webcomponentsjs/webcomponents.min.js +15 -0
  199. data/lib/polymer-gold-rails.rb +2 -0
  200. data/lib/polymer-gold-rails/enigne.rb +4 -0
  201. data/lib/polymer-gold-rails/version.rb +3 -0
  202. metadata +312 -0
@@ -0,0 +1,39 @@
1
+ <!--
2
+ @license
3
+ Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
4
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7
+ Code distributed by Google as part of the polymer project is also
8
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9
+ -->
10
+
11
+ <link rel="import" href="../polymer/polymer.html">
12
+
13
+ <style is="custom-style">
14
+
15
+ :root {
16
+
17
+ --dark-primary-color: #303f9f;
18
+
19
+ --default-primary-color: #3f51b5;
20
+
21
+ --light-primary-color: #c5cae9;
22
+
23
+ --text-primary-color: #ffffff;
24
+
25
+ --accent-color: #ff4081;
26
+
27
+ --primary-background-color: #ffffff;
28
+
29
+ --primary-text-color: #212121;
30
+
31
+ --secondary-text-color: #757575;
32
+
33
+ --disabled-text-color: #bdbdbd;
34
+
35
+ --divider-color: #e0e0e0;
36
+
37
+ }
38
+
39
+ </style>
@@ -0,0 +1,72 @@
1
+ <!--
2
+ @license
3
+ Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
4
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7
+ Code distributed by Google as part of the polymer project is also
8
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9
+ -->
10
+
11
+ <link rel="import" href="../polymer/polymer.html">
12
+
13
+ <link rel="import" href="../iron-flex-layout/iron-flex-layout.html">
14
+
15
+ <link rel="import" href="color.html">
16
+ <link rel="import" href="typography.html">
17
+ <link rel="import" href="shadow.html">
18
+
19
+ <style is="custom-style">
20
+
21
+ body {
22
+ font-family: 'Roboto', 'Noto', sans-serif;
23
+ font-size: 14px;
24
+ margin: 0;
25
+ padding: 24px;
26
+ background-color: var(--paper-grey-50);
27
+ }
28
+
29
+ .horizontal-section-container {
30
+ @apply(--layout-horizontal);
31
+ @apply(--layout-center-justified);
32
+ @apply(--layout-wrap);
33
+ }
34
+
35
+ .vertical-section-container {
36
+ @apply(--layout-vertical);
37
+ @apply(--center-justified);
38
+ }
39
+
40
+ .horizontal-section {
41
+ background-color: white;
42
+ padding: 24px;
43
+ margin-right: 24px;
44
+ min-width: 200px;
45
+
46
+ @apply(--shadow-elevation-2dp);
47
+ }
48
+
49
+ .vertical-section {
50
+ background-color: white;
51
+ padding: 24px;
52
+ margin: 0 24px 24px 24px;
53
+
54
+ @apply(--shadow-elevation-2dp);
55
+ }
56
+
57
+ .centered {
58
+ max-width: 400px;
59
+ margin-left: auto;
60
+ margin-right: auto;
61
+ }
62
+
63
+ code {
64
+ color: var(--google-grey-700);
65
+ }
66
+
67
+ /* TODO: remove this hack and use horizontal-section-container instead */
68
+ body > div.layout.horizontal.center-justified {
69
+ @apply(--layout-wrap);
70
+ }
71
+
72
+ </style>
@@ -0,0 +1,25 @@
1
+ /**
2
+ @license
3
+ Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
4
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7
+ Code distributed by Google as part of the polymer project is also
8
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9
+
10
+ */
11
+ body {
12
+ font-family: 'Roboto', 'Noto', sans-serif;
13
+ font-size: 14px;
14
+ margin: 0;
15
+ padding: 24px;
16
+ }
17
+
18
+ section {
19
+ padding: 20px 0;
20
+ }
21
+
22
+ section > div {
23
+ padding: 14px;
24
+ font-size: 16px;
25
+ }
@@ -0,0 +1,14 @@
1
+ <!--
2
+ @license
3
+ Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
4
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7
+ Code distributed by Google as part of the polymer project is also
8
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9
+ -->
10
+
11
+ <link rel="import" href="../iron-flex-layout/classes/iron-flex-layout.html">
12
+
13
+ <link rel="import" href="classes/typography.html">
14
+ <link rel="import" href="classes/shadow.html">
@@ -0,0 +1,17 @@
1
+ <!--
2
+ @license
3
+ Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
4
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7
+ Code distributed by Google as part of the polymer project is also
8
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9
+ -->
10
+
11
+ <link rel="import" href="../iron-flex-layout/iron-flex-layout.html">
12
+ <link rel="import" href="../iron-flex-layout/classes/iron-flex-layout.html">
13
+
14
+ <link rel="import" href="color.html">
15
+ <link rel="import" href="default-theme.html">
16
+ <link rel="import" href="shadow.html">
17
+ <link rel="import" href="typography.html">
@@ -0,0 +1,61 @@
1
+ <!--
2
+ @license
3
+ Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
4
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7
+ Code distributed by Google as part of the polymer project is also
8
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9
+ -->
10
+
11
+ <link rel="import" href="../polymer/polymer.html">
12
+
13
+ <style is="custom-style">
14
+
15
+ :root {
16
+
17
+ --shadow-transition: {
18
+ transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
19
+ };
20
+
21
+ /* from http://codepen.io/shyndman/pen/c5394ddf2e8b2a5c9185904b57421cdb */
22
+
23
+ --shadow-elevation-2dp: {
24
+ box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
25
+ 0 1px 5px 0 rgba(0, 0, 0, 0.12),
26
+ 0 3px 1px -2px rgba(0, 0, 0, 0.2);
27
+ };
28
+
29
+ --shadow-elevation-3dp: {
30
+ box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.14),
31
+ 0 1px 8px 0 rgba(0, 0, 0, 0.12),
32
+ 0 3px 3px -2px rgba(0, 0, 0, 0.4);
33
+ };
34
+
35
+ --shadow-elevation-4dp: {
36
+ box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14),
37
+ 0 1px 10px 0 rgba(0, 0, 0, 0.12),
38
+ 0 2px 4px -1px rgba(0, 0, 0, 0.4);
39
+ };
40
+
41
+ --shadow-elevation-6dp: {
42
+ box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14),
43
+ 0 1px 18px 0 rgba(0, 0, 0, 0.12),
44
+ 0 3px 5px -1px rgba(0, 0, 0, 0.4);
45
+ };
46
+
47
+ --shadow-elevation-8dp: {
48
+ box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14),
49
+ 0 3px 14px 2px rgba(0, 0, 0, 0.12),
50
+ 0 5px 5px -3px rgba(0, 0, 0, 0.4);
51
+ };
52
+
53
+ --shadow-elevation-16dp: {
54
+ box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14),
55
+ 0 6px 30px 5px rgba(0, 0, 0, 0.12),
56
+ 0 8px 10px -5px rgba(0, 0, 0, 0.4);
57
+ };
58
+
59
+ }
60
+
61
+ </style>
@@ -0,0 +1,240 @@
1
+ <!--
2
+ @license
3
+ Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
4
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7
+ Code distributed by Google as part of the polymer project is also
8
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9
+ -->
10
+ <!-- TODO(nevir): Should we upgrade Polymer/font-roboto to the final font? -->
11
+ <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:400,300,300italic,400italic,500,500italic,700,700italic">
12
+
13
+ <link rel="import" href="../polymer/polymer.html">
14
+
15
+ <style is="custom-style">
16
+
17
+ :root {
18
+
19
+ /* Shared Styles */
20
+
21
+ /*
22
+ Unfortunately, we can't make use of these yet - sibling properties aren't
23
+ evaluated. See https://github.com/Polymer/polymer/issues/1399
24
+
25
+ --paper-font-common-base: {
26
+ font-family: 'Roboto', 'Noto', sans-serif;
27
+ -webkit-font-smoothing: antialiased;
28
+ };
29
+
30
+ --paper-font-common-code: {
31
+ font-family: 'Inconsolata', 'Consolas', 'Source Code Pro', 'Monaco', 'Menlo', monospace;
32
+ -webkit-font-smoothing: antialiased;
33
+ };
34
+
35
+ --paper-font-common-expensive-kerning: {
36
+ text-rendering: optimizeLegibility;
37
+ };
38
+
39
+ --paper-font-common-nowrap: {
40
+ white-space: nowrap;
41
+ overflow: hidden;
42
+ text-overflow: ellipsis;
43
+ };
44
+ */
45
+
46
+ /* Material Font Styles */
47
+
48
+ --paper-font-display4: {
49
+ /* @apply(--paper-font-common-base) */
50
+ font-family: 'Roboto', 'Noto', sans-serif;
51
+ -webkit-font-smoothing: antialiased;
52
+ /* @apply(--paper-font-common-expensive-kerning); */
53
+ text-rendering: optimizeLegibility;
54
+ /* @apply(--paper-font-common-nowrap); */
55
+ white-space: nowrap;
56
+ overflow: hidden;
57
+ text-overflow: ellipsis;
58
+
59
+ font-size: 112px;
60
+ font-weight: 300;
61
+ letter-spacing: -.044em;
62
+ line-height: 120px;
63
+ };
64
+
65
+ --paper-font-display3: {
66
+ /* @apply(--paper-font-common-base) */
67
+ font-family: 'Roboto', 'Noto', sans-serif;
68
+ -webkit-font-smoothing: antialiased;
69
+ /* @apply(--paper-font-common-expensive-kerning); */
70
+ text-rendering: optimizeLegibility;
71
+ /* @apply(--paper-font-common-nowrap); */
72
+ white-space: nowrap;
73
+ overflow: hidden;
74
+ text-overflow: ellipsis;
75
+
76
+ font-size: 56px;
77
+ font-weight: 400;
78
+ letter-spacing: -.026em;
79
+ line-height: 60px;
80
+ };
81
+
82
+ --paper-font-display2: {
83
+ /* @apply(--paper-font-common-base) */
84
+ font-family: 'Roboto', 'Noto', sans-serif;
85
+ -webkit-font-smoothing: antialiased;
86
+ /* @apply(--paper-font-common-expensive-kerning); */
87
+ text-rendering: optimizeLegibility;
88
+
89
+ font-size: 45px;
90
+ font-weight: 400;
91
+ letter-spacing: -.018em;
92
+ line-height: 48px;
93
+ };
94
+
95
+ --paper-font-display1: {
96
+ /* @apply(--paper-font-common-base) */
97
+ font-family: 'Roboto', 'Noto', sans-serif;
98
+ -webkit-font-smoothing: antialiased;
99
+ /* @apply(--paper-font-common-expensive-kerning); */
100
+ text-rendering: optimizeLegibility;
101
+
102
+ font-size: 34px;
103
+ font-weight: 400;
104
+ letter-spacing: -.01em;
105
+ line-height: 40px;
106
+ };
107
+
108
+ --paper-font-headline: {
109
+ /* @apply(--paper-font-common-base) */
110
+ font-family: 'Roboto', 'Noto', sans-serif;
111
+ -webkit-font-smoothing: antialiased;
112
+ /* @apply(--paper-font-common-expensive-kerning); */
113
+ text-rendering: optimizeLegibility;
114
+
115
+ font-size: 24px;
116
+ font-weight: 400;
117
+ letter-spacing: -.012em;
118
+ line-height: 32px;
119
+ };
120
+
121
+ --paper-font-title: {
122
+ /* @apply(--paper-font-common-base) */
123
+ font-family: 'Roboto', 'Noto', sans-serif;
124
+ -webkit-font-smoothing: antialiased;
125
+ /* @apply(--paper-font-common-expensive-kerning); */
126
+ text-rendering: optimizeLegibility;
127
+ /* @apply(--paper-font-common-nowrap); */
128
+ white-space: nowrap;
129
+ overflow: hidden;
130
+ text-overflow: ellipsis;
131
+
132
+ font-size: 20px;
133
+ font-weight: 500;
134
+ line-height: 28px;
135
+ };
136
+
137
+ --paper-font-subhead: {
138
+ /* @apply(--paper-font-common-base) */
139
+ font-family: 'Roboto', 'Noto', sans-serif;
140
+ -webkit-font-smoothing: antialiased;
141
+ /* @apply(--paper-font-common-expensive-kerning); */
142
+ text-rendering: optimizeLegibility;
143
+
144
+ font-size: 16px;
145
+ font-weight: 400;
146
+ line-height: 24px;
147
+ };
148
+
149
+ --paper-font-body2: {
150
+ /* @apply(--paper-font-common-base) */
151
+ font-family: 'Roboto', 'Noto', sans-serif;
152
+ -webkit-font-smoothing: antialiased;
153
+
154
+ font-size: 14px;
155
+ font-weight: 500;
156
+ line-height: 24px;
157
+ };
158
+
159
+ --paper-font-body1: {
160
+ /* @apply(--paper-font-common-base) */
161
+ font-family: 'Roboto', 'Noto', sans-serif;
162
+ -webkit-font-smoothing: antialiased;
163
+
164
+ font-size: 14px;
165
+ font-weight: 400;
166
+ line-height: 20px;
167
+ };
168
+
169
+ --paper-font-caption: {
170
+ /* @apply(--paper-font-common-base) */
171
+ font-family: 'Roboto', 'Noto', sans-serif;
172
+ -webkit-font-smoothing: antialiased;
173
+ /* @apply(--paper-font-common-nowrap); */
174
+ white-space: nowrap;
175
+ overflow: hidden;
176
+ text-overflow: ellipsis;
177
+
178
+ font-size: 12px;
179
+ font-weight: 400;
180
+ letter-spacing: 0.011em;
181
+ line-height: 20px;
182
+ };
183
+
184
+ --paper-font-menu: {
185
+ /* @apply(--paper-font-common-base) */
186
+ font-family: 'Roboto', 'Noto', sans-serif;
187
+ -webkit-font-smoothing: antialiased;
188
+ /* @apply(--paper-font-common-expensive-kerning); */
189
+ text-rendering: optimizeLegibility;
190
+ /* @apply(--paper-font-common-nowrap); */
191
+ white-space: nowrap;
192
+ overflow: hidden;
193
+ text-overflow: ellipsis;
194
+
195
+ font-size: 13px;
196
+ font-weight: 500;
197
+ line-height: 24px;
198
+ };
199
+
200
+ --paper-font-button: {
201
+ /* @apply(--paper-font-common-base) */
202
+ font-family: 'Roboto', 'Noto', sans-serif;
203
+ -webkit-font-smoothing: antialiased;
204
+ /* @apply(--paper-font-common-expensive-kerning); */
205
+ text-rendering: optimizeLegibility;
206
+ /* @apply(--paper-font-common-nowrap); */
207
+ white-space: nowrap;
208
+ overflow: hidden;
209
+ text-overflow: ellipsis;
210
+
211
+ font-size: 14px;
212
+ font-weight: 500;
213
+ letter-spacing: 0.018em;
214
+ line-height: 24px;
215
+ text-transform: uppercase;
216
+ };
217
+
218
+ --paper-font-code2: {
219
+ /* @apply(--paper-font-common-code); */
220
+ font-family: 'Inconsolata', 'Consolas', 'Source Code Pro', 'Monaco', 'Menlo', monospace;
221
+ -webkit-font-smoothing: antialiased;
222
+
223
+ font-size: 14px;
224
+ font-weight: 700;
225
+ line-height: 20px;
226
+ };
227
+
228
+ --paper-font-code1: {
229
+ /* @apply(--paper-font-common-code); */
230
+ font-family: 'Inconsolata', 'Consolas', 'Source Code Pro', 'Monaco', 'Menlo', monospace;
231
+ -webkit-font-smoothing: antialiased;
232
+
233
+ font-size: 14px;
234
+ font-weight: 500;
235
+ line-height: 20px;
236
+ };
237
+
238
+ }
239
+
240
+ </style>