polymer-paper-elements-rails 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (188) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +51 -0
  3. data/Rakefile +1 -0
  4. data/app/assets/components/iron-a11y-announcer/iron-a11y-announcer.html +125 -0
  5. data/app/assets/components/iron-a11y-keys-behavior/iron-a11y-keys-behavior.html +418 -0
  6. data/app/assets/components/iron-autogrow-textarea/hero.svg +33 -0
  7. data/app/assets/components/iron-autogrow-textarea/iron-autogrow-textarea.html +263 -0
  8. data/app/assets/components/iron-behaviors/iron-button-state.html +195 -0
  9. data/app/assets/components/iron-behaviors/iron-control-state.html +102 -0
  10. data/app/assets/components/iron-fit-behavior/iron-fit-behavior.html +230 -0
  11. data/app/assets/components/iron-flex-layout/classes/iron-flex-layout.html +307 -0
  12. data/app/assets/components/iron-flex-layout/classes/iron-shadow-flex-layout.html +302 -0
  13. data/app/assets/components/iron-flex-layout/iron-flex-layout.html +313 -0
  14. data/app/assets/components/iron-form-element-behavior/iron-form-element-behavior.html +50 -0
  15. data/app/assets/components/iron-icon/hero.svg +19 -0
  16. data/app/assets/components/iron-icon/iron-icon.html +187 -0
  17. data/app/assets/components/iron-icons/av-icons.html +73 -0
  18. data/app/assets/components/iron-icons/communication-icons.html +59 -0
  19. data/app/assets/components/iron-icons/device-icons.html +94 -0
  20. data/app/assets/components/iron-icons/editor-icons.html +70 -0
  21. data/app/assets/components/iron-icons/hardware-icons.html +61 -0
  22. data/app/assets/components/iron-icons/hero.svg +35 -0
  23. data/app/assets/components/iron-icons/image-icons.html +164 -0
  24. data/app/assets/components/iron-icons/iron-icons.html +303 -0
  25. data/app/assets/components/iron-icons/maps-icons.html +71 -0
  26. data/app/assets/components/iron-icons/notification-icons.html +62 -0
  27. data/app/assets/components/iron-icons/social-icons.html +40 -0
  28. data/app/assets/components/iron-iconset-svg/iron-iconset-svg.html +191 -0
  29. data/app/assets/components/iron-input/hero.svg +19 -0
  30. data/app/assets/components/iron-input/iron-input.html +235 -0
  31. data/app/assets/components/iron-media-query/hero.svg +29 -0
  32. data/app/assets/components/iron-media-query/iron-media-query.html +84 -0
  33. data/app/assets/components/iron-menu-behavior/iron-menu-behavior.html +214 -0
  34. data/app/assets/components/iron-menu-behavior/iron-menubar-behavior.html +65 -0
  35. data/app/assets/components/iron-meta/hero.svg +33 -0
  36. data/app/assets/components/iron-meta/iron-meta.html +352 -0
  37. data/app/assets/components/iron-overlay-behavior/iron-overlay-backdrop.html +132 -0
  38. data/app/assets/components/iron-overlay-behavior/iron-overlay-behavior.html +432 -0
  39. data/app/assets/components/iron-overlay-behavior/iron-overlay-manager.html +107 -0
  40. data/app/assets/components/iron-range-behavior/iron-range-behavior.html +101 -0
  41. data/app/assets/components/iron-resizable-behavior/iron-resizable-behavior.html +139 -0
  42. data/app/assets/components/iron-selector/iron-multi-selectable.html +120 -0
  43. data/app/assets/components/iron-selector/iron-selectable.html +307 -0
  44. data/app/assets/components/iron-selector/iron-selection.html +115 -0
  45. data/app/assets/components/iron-selector/iron-selector.html +71 -0
  46. data/app/assets/components/iron-validatable-behavior/iron-validatable-behavior.html +100 -0
  47. data/app/assets/components/neon-animation/animations/cascaded-animation.html +84 -0
  48. data/app/assets/components/neon-animation/animations/fade-in-animation.html +49 -0
  49. data/app/assets/components/neon-animation/animations/fade-out-animation.html +49 -0
  50. data/app/assets/components/neon-animation/animations/hero-animation.html +83 -0
  51. data/app/assets/components/neon-animation/animations/opaque-animation.html +46 -0
  52. data/app/assets/components/neon-animation/animations/ripple-animation.html +92 -0
  53. data/app/assets/components/neon-animation/animations/scale-down-animation.html +65 -0
  54. data/app/assets/components/neon-animation/animations/scale-up-animation.html +58 -0
  55. data/app/assets/components/neon-animation/animations/slide-down-animation.html +59 -0
  56. data/app/assets/components/neon-animation/animations/slide-from-left-animation.html +60 -0
  57. data/app/assets/components/neon-animation/animations/slide-from-right-animation.html +60 -0
  58. data/app/assets/components/neon-animation/animations/slide-left-animation.html +59 -0
  59. data/app/assets/components/neon-animation/animations/slide-right-animation.html +59 -0
  60. data/app/assets/components/neon-animation/animations/slide-up-animation.html +59 -0
  61. data/app/assets/components/neon-animation/animations/transform-animation.html +61 -0
  62. data/app/assets/components/neon-animation/guides/neon-animation.md +313 -0
  63. data/app/assets/components/neon-animation/neon-animatable-behavior.html +156 -0
  64. data/app/assets/components/neon-animation/neon-animatable.html +54 -0
  65. data/app/assets/components/neon-animation/neon-animated-pages.html +208 -0
  66. data/app/assets/components/neon-animation/neon-animation-behavior.html +88 -0
  67. data/app/assets/components/neon-animation/neon-animation-runner-behavior.html +110 -0
  68. data/app/assets/components/neon-animation/neon-animation.html +17 -0
  69. data/app/assets/components/neon-animation/neon-animations.html +25 -0
  70. data/app/assets/components/neon-animation/neon-shared-element-animatable-behavior.html +37 -0
  71. data/app/assets/components/neon-animation/neon-shared-element-animation-behavior.html +66 -0
  72. data/app/assets/components/neon-animation/web-animations.html +11 -0
  73. data/app/assets/components/paper-behaviors/paper-button-behavior.html +55 -0
  74. data/app/assets/components/paper-behaviors/paper-inky-focus-behavior.html +44 -0
  75. data/app/assets/components/paper-button/paper-button.html +177 -0
  76. data/app/assets/components/paper-checkbox/metadata.html +17 -0
  77. data/app/assets/components/paper-checkbox/paper-checkbox.css +149 -0
  78. data/app/assets/components/paper-checkbox/paper-checkbox.html +163 -0
  79. data/app/assets/components/paper-dialog-behavior/hero.svg +51 -0
  80. data/app/assets/components/paper-dialog-behavior/paper-dialog-behavior.html +236 -0
  81. data/app/assets/components/paper-dialog-behavior/paper-dialog-common.css +58 -0
  82. data/app/assets/components/paper-dialog-scrollable/hero.svg +69 -0
  83. data/app/assets/components/paper-dialog-scrollable/paper-dialog-scrollable.html +150 -0
  84. data/app/assets/components/paper-dialog/hero.svg +58 -0
  85. data/app/assets/components/paper-dialog/paper-dialog.html +122 -0
  86. data/app/assets/components/paper-drawer-panel/hero.svg +21 -0
  87. data/app/assets/components/paper-drawer-panel/paper-drawer-panel.css +142 -0
  88. data/app/assets/components/paper-drawer-panel/paper-drawer-panel.html +585 -0
  89. data/app/assets/components/paper-fab/paper-fab.html +159 -0
  90. data/app/assets/components/paper-header-panel/hero.svg +38 -0
  91. data/app/assets/components/paper-header-panel/paper-header-panel.html +496 -0
  92. data/app/assets/components/paper-icon-button/paper-icon-button.html +141 -0
  93. data/app/assets/components/paper-input/all-imports.html +12 -0
  94. data/app/assets/components/paper-input/hero.svg +19 -0
  95. data/app/assets/components/paper-input/paper-input-addon-behavior.html +43 -0
  96. data/app/assets/components/paper-input/paper-input-behavior.html +293 -0
  97. data/app/assets/components/paper-input/paper-input-char-counter.html +95 -0
  98. data/app/assets/components/paper-input/paper-input-container.html +495 -0
  99. data/app/assets/components/paper-input/paper-input-error.html +99 -0
  100. data/app/assets/components/paper-input/paper-input.html +126 -0
  101. data/app/assets/components/paper-input/paper-textarea.html +100 -0
  102. data/app/assets/components/paper-item/all-imports.html +13 -0
  103. data/app/assets/components/paper-item/paper-icon-item.html +86 -0
  104. data/app/assets/components/paper-item/paper-item-body.html +93 -0
  105. data/app/assets/components/paper-item/paper-item-shared.css +19 -0
  106. data/app/assets/components/paper-item/paper-item.html +95 -0
  107. data/app/assets/components/paper-material/paper-material.html +98 -0
  108. data/app/assets/components/paper-menu/hero.svg +35 -0
  109. data/app/assets/components/paper-menu/paper-menu.html +133 -0
  110. data/app/assets/components/paper-progress/hero.svg +21 -0
  111. data/app/assets/components/paper-progress/paper-progress.html +199 -0
  112. data/app/assets/components/paper-radio-button/hero.svg +22 -0
  113. data/app/assets/components/paper-radio-button/paper-radio-button.css +109 -0
  114. data/app/assets/components/paper-radio-button/paper-radio-button.html +148 -0
  115. data/app/assets/components/paper-radio-group/hero.svg +25 -0
  116. data/app/assets/components/paper-radio-group/paper-radio-group.html +186 -0
  117. data/app/assets/components/paper-ripple/hero.svg +30 -0
  118. data/app/assets/components/paper-ripple/paper-ripple.html +714 -0
  119. data/app/assets/components/paper-scroll-header-panel/hero.svg +41 -0
  120. data/app/assets/components/paper-scroll-header-panel/paper-scroll-header-panel.html +455 -0
  121. data/app/assets/components/paper-slider/hero.svg +20 -0
  122. data/app/assets/components/paper-slider/paper-slider.css +252 -0
  123. data/app/assets/components/paper-slider/paper-slider.html +449 -0
  124. data/app/assets/components/paper-spinner/hero.svg +27 -0
  125. data/app/assets/components/paper-spinner/paper-spinner.css +325 -0
  126. data/app/assets/components/paper-spinner/paper-spinner.html +222 -0
  127. data/app/assets/components/paper-styles/classes/global.html +96 -0
  128. data/app/assets/components/paper-styles/classes/shadow-layout.html +302 -0
  129. data/app/assets/components/paper-styles/classes/shadow.html +39 -0
  130. data/app/assets/components/paper-styles/classes/typography.html +171 -0
  131. data/app/assets/components/paper-styles/color.html +333 -0
  132. data/app/assets/components/paper-styles/default-theme.html +39 -0
  133. data/app/assets/components/paper-styles/paper-styles-classes.html +14 -0
  134. data/app/assets/components/paper-styles/paper-styles.html +17 -0
  135. data/app/assets/components/paper-styles/shadow.html +61 -0
  136. data/app/assets/components/paper-styles/typography.html +240 -0
  137. data/app/assets/components/paper-tabs/hero.svg +23 -0
  138. data/app/assets/components/paper-tabs/paper-tab.html +158 -0
  139. data/app/assets/components/paper-tabs/paper-tabs-icons.html +18 -0
  140. data/app/assets/components/paper-tabs/paper-tabs.html +483 -0
  141. data/app/assets/components/paper-toast/hero.svg +20 -0
  142. data/app/assets/components/paper-toast/paper-toast.html +164 -0
  143. data/app/assets/components/paper-toggle-button/hero.svg +22 -0
  144. data/app/assets/components/paper-toggle-button/paper-toggle-button.css +108 -0
  145. data/app/assets/components/paper-toggle-button/paper-toggle-button.html +183 -0
  146. data/app/assets/components/paper-toolbar/paper-toolbar.html +375 -0
  147. data/app/assets/components/polymer-gestures/Gruntfile.js +60 -0
  148. data/app/assets/components/polymer-gestures/banner.txt +9 -0
  149. data/app/assets/components/polymer-gestures/build.json +17 -0
  150. data/app/assets/components/polymer-gestures/conf/karma.conf.js +39 -0
  151. data/app/assets/components/polymer-gestures/package.json +20 -0
  152. data/app/assets/components/polymer-gestures/polymer-gestures.html +21 -0
  153. data/app/assets/components/polymer-gestures/polymer-gestures.js +46 -0
  154. data/app/assets/components/polymer-gestures/src/dispatcher.js +474 -0
  155. data/app/assets/components/polymer-gestures/src/eventFactory.js +127 -0
  156. data/app/assets/components/polymer-gestures/src/hold.js +129 -0
  157. data/app/assets/components/polymer-gestures/src/mouse.js +135 -0
  158. data/app/assets/components/polymer-gestures/src/ms.js +80 -0
  159. data/app/assets/components/polymer-gestures/src/pinch.js +186 -0
  160. data/app/assets/components/polymer-gestures/src/platform-events.js +39 -0
  161. data/app/assets/components/polymer-gestures/src/pointer.js +68 -0
  162. data/app/assets/components/polymer-gestures/src/pointermap.js +67 -0
  163. data/app/assets/components/polymer-gestures/src/scope.js +10 -0
  164. data/app/assets/components/polymer-gestures/src/tap.js +103 -0
  165. data/app/assets/components/polymer-gestures/src/targetfind.js +244 -0
  166. data/app/assets/components/polymer-gestures/src/touch-action.js +60 -0
  167. data/app/assets/components/polymer-gestures/src/touch.js +341 -0
  168. data/app/assets/components/polymer-gestures/src/track.js +230 -0
  169. data/app/assets/components/web-animations-js/web-animations-next-lite.min.js +17 -0
  170. data/app/assets/components/web-animations-js/web-animations-next.min.js +17 -0
  171. data/app/assets/components/web-animations-js/web-animations.min.js +17 -0
  172. data/app/assets/components/webcomponentsjs/CustomElements.js +956 -0
  173. data/app/assets/components/webcomponentsjs/CustomElements.min.js +11 -0
  174. data/app/assets/components/webcomponentsjs/HTMLImports.js +1078 -0
  175. data/app/assets/components/webcomponentsjs/HTMLImports.min.js +11 -0
  176. data/app/assets/components/webcomponentsjs/MutationObserver.js +344 -0
  177. data/app/assets/components/webcomponentsjs/MutationObserver.min.js +11 -0
  178. data/app/assets/components/webcomponentsjs/ShadowDOM.js +4414 -0
  179. data/app/assets/components/webcomponentsjs/ShadowDOM.min.js +15 -0
  180. data/app/assets/components/webcomponentsjs/package.json +31 -0
  181. data/app/assets/components/webcomponentsjs/webcomponents-lite.js +2300 -0
  182. data/app/assets/components/webcomponentsjs/webcomponents-lite.min.js +13 -0
  183. data/app/assets/components/webcomponentsjs/webcomponents.js +7112 -0
  184. data/app/assets/components/webcomponentsjs/webcomponents.min.js +15 -0
  185. data/lib/polymer-paper-elements-rails.rb +2 -0
  186. data/lib/polymer-paper-elements-rails/engine.rb +4 -0
  187. data/lib/polymer-paper-elements-rails/version.rb +3 -0
  188. metadata +272 -0
@@ -0,0 +1,302 @@
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
+ <style>
11
+
12
+ /*******************************
13
+ Flex Layout
14
+ *******************************/
15
+
16
+ html /deep/ .layout.horizontal,
17
+ html /deep/ .layout.horizontal-reverse,
18
+ html /deep/ .layout.vertical,
19
+ html /deep/ .layout.vertical-reverse {
20
+ display: -ms-flexbox;
21
+ display: -webkit-flex;
22
+ display: flex;
23
+ }
24
+
25
+ html /deep/ .layout.inline {
26
+ display: -ms-inline-flexbox;
27
+ display: -webkit-inline-flex;
28
+ display: inline-flex;
29
+ }
30
+
31
+ html /deep/ .layout.horizontal {
32
+ -ms-flex-direction: row;
33
+ -webkit-flex-direction: row;
34
+ flex-direction: row;
35
+ }
36
+
37
+ html /deep/ .layout.horizontal-reverse {
38
+ -ms-flex-direction: row-reverse;
39
+ -webkit-flex-direction: row-reverse;
40
+ flex-direction: row-reverse;
41
+ }
42
+
43
+ html /deep/ .layout.vertical {
44
+ -ms-flex-direction: column;
45
+ -webkit-flex-direction: column;
46
+ flex-direction: column;
47
+ }
48
+
49
+ html /deep/ .layout.vertical-reverse {
50
+ -ms-flex-direction: column-reverse;
51
+ -webkit-flex-direction: column-reverse;
52
+ flex-direction: column-reverse;
53
+ }
54
+
55
+ html /deep/ .layout.wrap {
56
+ -ms-flex-wrap: wrap;
57
+ -webkit-flex-wrap: wrap;
58
+ flex-wrap: wrap;
59
+ }
60
+
61
+ html /deep/ .layout.wrap-reverse {
62
+ -ms-flex-wrap: wrap-reverse;
63
+ -webkit-flex-wrap: wrap-reverse;
64
+ flex-wrap: wrap-reverse;
65
+ }
66
+
67
+ html /deep/ .flex-auto {
68
+ -ms-flex: 1 1 auto;
69
+ -webkit-flex: 1 1 auto;
70
+ flex: 1 1 auto;
71
+ }
72
+
73
+ html /deep/ .flex-none {
74
+ -ms-flex: none;
75
+ -webkit-flex: none;
76
+ flex: none;
77
+ }
78
+
79
+ html /deep/ .flex,
80
+ html /deep/ .flex-1 {
81
+ -ms-flex: 1;
82
+ -webkit-flex: 1;
83
+ flex: 1;
84
+ }
85
+
86
+ html /deep/ .flex-2 {
87
+ -ms-flex: 2;
88
+ -webkit-flex: 2;
89
+ flex: 2;
90
+ }
91
+
92
+ html /deep/ .flex-3 {
93
+ -ms-flex: 3;
94
+ -webkit-flex: 3;
95
+ flex: 3;
96
+ }
97
+
98
+ html /deep/ .flex-4 {
99
+ -ms-flex: 4;
100
+ -webkit-flex: 4;
101
+ flex: 4;
102
+ }
103
+
104
+ html /deep/ .flex-5 {
105
+ -ms-flex: 5;
106
+ -webkit-flex: 5;
107
+ flex: 5;
108
+ }
109
+
110
+ html /deep/ .flex-6 {
111
+ -ms-flex: 6;
112
+ -webkit-flex: 6;
113
+ flex: 6;
114
+ }
115
+
116
+ html /deep/ .flex-7 {
117
+ -ms-flex: 7;
118
+ -webkit-flex: 7;
119
+ flex: 7;
120
+ }
121
+
122
+ html /deep/ .flex-8 {
123
+ -ms-flex: 8;
124
+ -webkit-flex: 8;
125
+ flex: 8;
126
+ }
127
+
128
+ html /deep/ .flex-9 {
129
+ -ms-flex: 9;
130
+ -webkit-flex: 9;
131
+ flex: 9;
132
+ }
133
+
134
+ html /deep/ .flex-10 {
135
+ -ms-flex: 10;
136
+ -webkit-flex: 10;
137
+ flex: 10;
138
+ }
139
+
140
+ html /deep/ .flex-11 {
141
+ -ms-flex: 11;
142
+ -webkit-flex: 11;
143
+ flex: 11;
144
+ }
145
+
146
+ html /deep/ .flex-12 {
147
+ -ms-flex: 12;
148
+ -webkit-flex: 12;
149
+ flex: 12;
150
+ }
151
+
152
+ /* alignment in cross axis */
153
+
154
+ html /deep/ .layout.start {
155
+ -ms-flex-align: start;
156
+ -webkit-align-items: flex-start;
157
+ align-items: flex-start;
158
+ }
159
+
160
+ html /deep/ .layout.center,
161
+ html /deep/ .layout.center-center {
162
+ -ms-flex-align: center;
163
+ -webkit-align-items: center;
164
+ align-items: center;
165
+ }
166
+
167
+ html /deep/ .layout.end {
168
+ -ms-flex-align: end;
169
+ -webkit-align-items: flex-end;
170
+ align-items: flex-end;
171
+ }
172
+
173
+ /* alignment in main axis */
174
+
175
+ html /deep/ .layout.start-justified {
176
+ -ms-flex-pack: start;
177
+ -webkit-justify-content: flex-start;
178
+ justify-content: flex-start;
179
+ }
180
+
181
+ html /deep/ .layout.center-justified,
182
+ html /deep/ .layout.center-center {
183
+ -ms-flex-pack: center;
184
+ -webkit-justify-content: center;
185
+ justify-content: center;
186
+ }
187
+
188
+ html /deep/ .layout.end-justified {
189
+ -ms-flex-pack: end;
190
+ -webkit-justify-content: flex-end;
191
+ justify-content: flex-end;
192
+ }
193
+
194
+ html /deep/ .layout.around-justified {
195
+ -ms-flex-pack: around;
196
+ -webkit-justify-content: space-around;
197
+ justify-content: space-around;
198
+ }
199
+
200
+ html /deep/ .layout.justified {
201
+ -ms-flex-pack: justify;
202
+ -webkit-justify-content: space-between;
203
+ justify-content: space-between;
204
+ }
205
+
206
+ /* self alignment */
207
+
208
+ html /deep/ .self-start {
209
+ -ms-align-self: flex-start;
210
+ -webkit-align-self: flex-start;
211
+ align-self: flex-start;
212
+ }
213
+
214
+ html /deep/ .self-center {
215
+ -ms-align-self: center;
216
+ -webkit-align-self: center;
217
+ align-self: center;
218
+ }
219
+
220
+ html /deep/ .self-end {
221
+ -ms-align-self: flex-end;
222
+ -webkit-align-self: flex-end;
223
+ align-self: flex-end;
224
+ }
225
+
226
+ html /deep/ .self-stretch {
227
+ -ms-align-self: stretch;
228
+ -webkit-align-self: stretch;
229
+ align-self: stretch;
230
+ }
231
+
232
+ /*******************************
233
+ Other Layout
234
+ *******************************/
235
+
236
+ html /deep/ .block {
237
+ display: block;
238
+ }
239
+
240
+ /* IE 10 support for HTML5 hidden attr */
241
+ html /deep/ [hidden] {
242
+ display: none !important;
243
+ }
244
+
245
+ html /deep/ .invisible {
246
+ visibility: hidden !important;
247
+ }
248
+
249
+ html /deep/ .relative {
250
+ position: relative;
251
+ }
252
+
253
+ html /deep/ .fit {
254
+ position: absolute;
255
+ top: 0;
256
+ right: 0;
257
+ bottom: 0;
258
+ left: 0;
259
+ }
260
+
261
+ body.fullbleed {
262
+ margin: 0;
263
+ height: 100vh;
264
+ }
265
+
266
+ html /deep/ .scroll {
267
+ -webkit-overflow-scrolling: touch;
268
+ overflow: auto;
269
+ }
270
+
271
+ .fixed-bottom,
272
+ .fixed-left,
273
+ .fixed-right,
274
+ .fixed-top {
275
+ position: fixed;
276
+ }
277
+
278
+ html /deep/ .fixed-top {
279
+ top: 0;
280
+ left: 0;
281
+ right: 0;
282
+ }
283
+
284
+ html /deep/ .fixed-right {
285
+ top: 0;
286
+ right: 0;
287
+ botttom: 0;
288
+ }
289
+
290
+ html /deep/ .fixed-bottom {
291
+ right: 0;
292
+ bottom: 0;
293
+ left: 0;
294
+ }
295
+
296
+ html /deep/ .fixed-left {
297
+ top: 0;
298
+ botttom: 0;
299
+ left: 0;
300
+ }
301
+
302
+ </style>
@@ -0,0 +1,313 @@
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
+ --layout: {
18
+ display: -ms-flexbox;
19
+ display: -webkit-flex;
20
+ display: flex;
21
+ };
22
+
23
+ --layout-inline: {
24
+ display: -ms-inline-flexbox;
25
+ display: -webkit-inline-flex;
26
+ display: inline-flex;
27
+ };
28
+
29
+ --layout-horizontal: {
30
+ /* @apply(--layout); */
31
+ display: -ms-flexbox;
32
+ display: -webkit-flex;
33
+ display: flex;
34
+
35
+ -ms-flex-direction: row;
36
+ -webkit-flex-direction: row;
37
+ flex-direction: row;
38
+ };
39
+
40
+ --layout-horizontal-reverse: {
41
+ -ms-flex-direction: row-reverse;
42
+ -webkit-flex-direction: row-reverse;
43
+ flex-direction: row-reverse;
44
+ };
45
+
46
+ --layout-vertical: {
47
+ /* @apply(--layout); */
48
+ display: -ms-flexbox;
49
+ display: -webkit-flex;
50
+ display: flex;
51
+
52
+ -ms-flex-direction: column;
53
+ -webkit-flex-direction: column;
54
+ flex-direction: column;
55
+ };
56
+
57
+ --layout-vertical-reverse: {
58
+ -ms-flex-direction: column-reverse;
59
+ -webkit-flex-direction: column-reverse;
60
+ flex-direction: column-reverse;
61
+ };
62
+
63
+ --layout-wrap: {
64
+ -ms-flex-wrap: wrap;
65
+ -webkit-flex-wrap: wrap;
66
+ flex-wrap: wrap;
67
+ };
68
+
69
+ --layout-wrap-reverse: {
70
+ -ms-flex-wrap: wrap-reverse;
71
+ -webkit-flex-wrap: wrap-reverse;
72
+ flex-wrap: wrap-reverse;
73
+ };
74
+
75
+ --layout-flex-auto: {
76
+ -ms-flex: 1 1 auto;
77
+ -webkit-flex: 1 1 auto;
78
+ flex: 1 1 auto;
79
+ };
80
+
81
+ --layout-flex-none: {
82
+ -ms-flex: none;
83
+ -webkit-flex: none;
84
+ flex: none;
85
+ };
86
+
87
+ --layout-flex: {
88
+ -ms-flex: 1 1 0.000000001px;
89
+ -webkit-flex: 1;
90
+ flex: 1;
91
+ -webkit-flex-basis: 0.000000001px;
92
+ flex-basis: 0.000000001px;
93
+ };
94
+
95
+ --layout-flex-2: {
96
+ -ms-flex: 2;
97
+ -webkit-flex: 2;
98
+ flex: 2;
99
+ };
100
+
101
+ --layout-flex-3: {
102
+ -ms-flex: 3;
103
+ -webkit-flex: 3;
104
+ flex: 3;
105
+ };
106
+
107
+ --layout-flex-4: {
108
+ -ms-flex: 4;
109
+ -webkit-flex: 4;
110
+ flex: 4;
111
+ };
112
+
113
+ --layout-flex-5: {
114
+ -ms-flex: 5;
115
+ -webkit-flex: 5;
116
+ flex: 5;
117
+ };
118
+
119
+ --layout-flex-6: {
120
+ -ms-flex: 6;
121
+ -webkit-flex: 6;
122
+ flex: 6;
123
+ };
124
+
125
+ --layout-flex-7: {
126
+ -ms-flex: 7;
127
+ -webkit-flex: 7;
128
+ flex: 7;
129
+ };
130
+
131
+ --layout-flex-8: {
132
+ -ms-flex: 8;
133
+ -webkit-flex: 8;
134
+ flex: 8;
135
+ };
136
+
137
+ --layout-flex-9: {
138
+ -ms-flex: 9;
139
+ -webkit-flex: 9;
140
+ flex: 9;
141
+ };
142
+
143
+ --layout-flex-10: {
144
+ -ms-flex: 10;
145
+ -webkit-flex: 10;
146
+ flex: 10;
147
+ };
148
+
149
+ --layout-flex-11: {
150
+ -ms-flex: 11;
151
+ -webkit-flex: 11;
152
+ flex: 11;
153
+ };
154
+
155
+ --layout-flex-12: {
156
+ -ms-flex: 12;
157
+ -webkit-flex: 12;
158
+ flex: 12;
159
+ };
160
+
161
+ /* alignment in cross axis */
162
+
163
+ --layout-start: {
164
+ -ms-flex-align: start;
165
+ -webkit-align-items: flex-start;
166
+ align-items: flex-start;
167
+ };
168
+
169
+ --layout-center: {
170
+ -ms-flex-align: center;
171
+ -webkit-align-items: center;
172
+ align-items: center;
173
+ };
174
+
175
+ --layout-end: {
176
+ -ms-flex-align: end;
177
+ -webkit-align-items: flex-end;
178
+ align-items: flex-end;
179
+ };
180
+
181
+ /* alignment in main axis */
182
+
183
+ --layout-start-justified: {
184
+ -ms-flex-pack: start;
185
+ -webkit-justify-content: flex-start;
186
+ justify-content: flex-start;
187
+ };
188
+
189
+ --layout-center-justified: {
190
+ -ms-flex-pack: center;
191
+ -webkit-justify-content: center;
192
+ justify-content: center;
193
+ };
194
+
195
+ --layout-end-justified: {
196
+ -ms-flex-pack: end;
197
+ -webkit-justify-content: flex-end;
198
+ justify-content: flex-end;
199
+ };
200
+
201
+ --layout-around-justified: {
202
+ -ms-flex-pack: around;
203
+ -webkit-justify-content: space-around;
204
+ justify-content: space-around;
205
+ };
206
+
207
+ --layout-justified: {
208
+ -ms-flex-pack: justify;
209
+ -webkit-justify-content: space-between;
210
+ justify-content: space-between;
211
+ };
212
+
213
+ --layout-center-center: {
214
+ /* @apply(--layout-center --layout-center-justified); */
215
+ -ms-flex-align: center;
216
+ -webkit-align-items: center;
217
+ align-items: center;
218
+ -ms-flex-pack: center;
219
+ -webkit-justify-content: center;
220
+ justify-content: center;
221
+ };
222
+
223
+ /* self alignment */
224
+
225
+ --layout-self-start: {
226
+ -ms-align-self: flex-start;
227
+ -webkit-align-self: flex-start;
228
+ align-self: flex-start;
229
+ };
230
+
231
+ --layout-self-center: {
232
+ -ms-align-self: center;
233
+ -webkit-align-self: center;
234
+ align-self: center;
235
+ };
236
+
237
+ --layout-self-end: {
238
+ -ms-align-self: flex-end;
239
+ -webkit-align-self: flex-end;
240
+ align-self: flex-end;
241
+ };
242
+
243
+ --layout-self-stretch: {
244
+ -ms-align-self: stretch;
245
+ -webkit-align-self: stretch;
246
+ align-self: stretch;
247
+ };
248
+
249
+ /*******************************
250
+ Other Layout
251
+ *******************************/
252
+
253
+ --layout-block: {
254
+ display: block;
255
+ };
256
+
257
+ --layout-invisible: {
258
+ visibility: hidden !important;
259
+ };
260
+
261
+ --layout-relative: {
262
+ position: relative;
263
+ };
264
+
265
+ --layout-fit: {
266
+ position: absolute;
267
+ top: 0;
268
+ right: 0;
269
+ bottom: 0;
270
+ left: 0;
271
+ };
272
+
273
+ --layout-scroll: {
274
+ -webkit-overflow-scrolling: touch;
275
+ overflow: auto;
276
+ };
277
+
278
+ /* fixed position */
279
+
280
+ --layout-fixed-bottom:,
281
+ --layout-fixed-left:,
282
+ --layout-fixed-right:,
283
+ --layout-fixed-top: {
284
+ position: fixed;
285
+ };
286
+
287
+ --layout-fixed-top: {
288
+ top: 0;
289
+ left: 0;
290
+ right: 0;
291
+ };
292
+
293
+ --layout-fixed-right: {
294
+ top: 0;
295
+ right: 0;
296
+ bottom: 0;
297
+ };
298
+
299
+ --layout-fixed-bottom: {
300
+ right: 0;
301
+ bottom: 0;
302
+ left: 0;
303
+ };
304
+
305
+ --layout-fixed-left: {
306
+ top: 0;
307
+ bottom: 0;
308
+ left: 0;
309
+ };
310
+
311
+ }
312
+
313
+ </style>