polymer-neon-rails 1.0.0.pre.rc.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +39 -0
- data/Rakefile +1 -0
- data/app/assets/components/iron-flex-layout/README.md +4 -0
- data/app/assets/components/iron-flex-layout/bower.json +21 -0
- data/app/assets/components/iron-flex-layout/classes/iron-flex-layout.html +307 -0
- data/app/assets/components/iron-flex-layout/classes/iron-shadow-flex-layout.html +302 -0
- data/app/assets/components/iron-flex-layout/demo/index.html +40 -0
- data/app/assets/components/iron-flex-layout/demo/x-app.html +106 -0
- data/app/assets/components/iron-flex-layout/iron-flex-layout.html +313 -0
- data/app/assets/components/iron-meta/README.md +46 -0
- data/app/assets/components/iron-meta/bower.json +28 -0
- data/app/assets/components/iron-meta/demo/index.html +45 -0
- data/app/assets/components/iron-meta/hero.svg +33 -0
- data/app/assets/components/iron-meta/index.html +27 -0
- data/app/assets/components/iron-meta/iron-meta.html +352 -0
- data/app/assets/components/iron-meta/test/basic.html +48 -0
- data/app/assets/components/iron-meta/test/index.html +30 -0
- data/app/assets/components/iron-meta/test/iron-meta.html +186 -0
- data/app/assets/components/iron-resizable-behavior/README.md +16 -0
- data/app/assets/components/iron-resizable-behavior/bower.json +26 -0
- data/app/assets/components/iron-resizable-behavior/demo/index.html +29 -0
- data/app/assets/components/iron-resizable-behavior/demo/src/x-app.html +114 -0
- data/app/assets/components/iron-resizable-behavior/index.html +25 -0
- data/app/assets/components/iron-resizable-behavior/iron-resizable-behavior.html +139 -0
- data/app/assets/components/iron-resizable-behavior/test/basic.html +263 -0
- data/app/assets/components/iron-resizable-behavior/test/index.html +31 -0
- data/app/assets/components/iron-resizable-behavior/test/test-elements.html +143 -0
- data/app/assets/components/iron-selector/README.md +50 -0
- data/app/assets/components/iron-selector/bower.json +31 -0
- data/app/assets/components/iron-selector/demo/index.html +66 -0
- data/app/assets/components/iron-selector/index.html +28 -0
- data/app/assets/components/iron-selector/iron-multi-selectable.html +120 -0
- data/app/assets/components/iron-selector/iron-selectable.html +307 -0
- data/app/assets/components/iron-selector/iron-selection.html +115 -0
- data/app/assets/components/iron-selector/iron-selector.html +71 -0
- data/app/assets/components/iron-selector/test/activate-event.html +138 -0
- data/app/assets/components/iron-selector/test/basic.html +150 -0
- data/app/assets/components/iron-selector/test/content-element.html +43 -0
- data/app/assets/components/iron-selector/test/content.html +168 -0
- data/app/assets/components/iron-selector/test/index.html +36 -0
- data/app/assets/components/iron-selector/test/multi.html +135 -0
- data/app/assets/components/iron-selector/test/next-previous.html +134 -0
- data/app/assets/components/iron-selector/test/selected-attribute.html +72 -0
- data/app/assets/components/iron-selector/test/template-repeat.html +110 -0
- data/app/assets/components/neon-animation/README.md +304 -0
- data/app/assets/components/neon-animation/animations/cascaded-animation.html +84 -0
- data/app/assets/components/neon-animation/animations/fade-in-animation.html +49 -0
- data/app/assets/components/neon-animation/animations/fade-out-animation.html +49 -0
- data/app/assets/components/neon-animation/animations/hero-animation.html +83 -0
- data/app/assets/components/neon-animation/animations/opaque-animation.html +46 -0
- data/app/assets/components/neon-animation/animations/ripple-animation.html +92 -0
- data/app/assets/components/neon-animation/animations/scale-down-animation.html +65 -0
- data/app/assets/components/neon-animation/animations/scale-up-animation.html +58 -0
- data/app/assets/components/neon-animation/animations/slide-down-animation.html +59 -0
- data/app/assets/components/neon-animation/animations/slide-from-left-animation.html +60 -0
- data/app/assets/components/neon-animation/animations/slide-from-right-animation.html +60 -0
- data/app/assets/components/neon-animation/animations/slide-left-animation.html +59 -0
- data/app/assets/components/neon-animation/animations/slide-right-animation.html +59 -0
- data/app/assets/components/neon-animation/animations/slide-up-animation.html +59 -0
- data/app/assets/components/neon-animation/animations/transform-animation.html +61 -0
- data/app/assets/components/neon-animation/bower.json +51 -0
- data/app/assets/components/neon-animation/demo/declarative/index.html +108 -0
- data/app/assets/components/neon-animation/demo/doc/basic.html +47 -0
- data/app/assets/components/neon-animation/demo/doc/my-animatable.html +73 -0
- data/app/assets/components/neon-animation/demo/doc/my-dialog.html +97 -0
- data/app/assets/components/neon-animation/demo/doc/types.html +53 -0
- data/app/assets/components/neon-animation/demo/dropdown/animated-dropdown.html +97 -0
- data/app/assets/components/neon-animation/demo/dropdown/index.html +54 -0
- data/app/assets/components/neon-animation/demo/grid/animated-grid.html +166 -0
- data/app/assets/components/neon-animation/demo/grid/fullsize-page-with-card.html +124 -0
- data/app/assets/components/neon-animation/demo/grid/index.html +70 -0
- data/app/assets/components/neon-animation/demo/index.html +6 -0
- data/app/assets/components/neon-animation/demo/list/full-view.html +122 -0
- data/app/assets/components/neon-animation/demo/list/index.html +29 -0
- data/app/assets/components/neon-animation/demo/list/list-demo.html +112 -0
- data/app/assets/components/neon-animation/demo/list/list-view.html +127 -0
- data/app/assets/components/neon-animation/demo/load/animated-grid.html +147 -0
- data/app/assets/components/neon-animation/demo/load/full-page.html +86 -0
- data/app/assets/components/neon-animation/demo/load/index.html +45 -0
- data/app/assets/components/neon-animation/demo/reprojection/animated-grid.html +166 -0
- data/app/assets/components/neon-animation/demo/reprojection/fullsize-page-with-card.html +124 -0
- data/app/assets/components/neon-animation/demo/reprojection/index.html +66 -0
- data/app/assets/components/neon-animation/demo/reprojection/reprojected-pages.html +42 -0
- data/app/assets/components/neon-animation/demo/shared.css +40 -0
- data/app/assets/components/neon-animation/demo/tiles/circles-page.html +110 -0
- data/app/assets/components/neon-animation/demo/tiles/index.html +77 -0
- data/app/assets/components/neon-animation/demo/tiles/squares-page.html +104 -0
- data/app/assets/components/neon-animation/guides/neon-animation.md +313 -0
- data/app/assets/components/neon-animation/index.html +30 -0
- data/app/assets/components/neon-animation/neon-animatable-behavior.html +156 -0
- data/app/assets/components/neon-animation/neon-animatable.html +54 -0
- data/app/assets/components/neon-animation/neon-animated-pages.html +208 -0
- data/app/assets/components/neon-animation/neon-animation-behavior.html +88 -0
- data/app/assets/components/neon-animation/neon-animation-runner-behavior.html +110 -0
- data/app/assets/components/neon-animation/neon-animation.html +17 -0
- data/app/assets/components/neon-animation/neon-animations.html +25 -0
- data/app/assets/components/neon-animation/neon-shared-element-animatable-behavior.html +37 -0
- data/app/assets/components/neon-animation/neon-shared-element-animation-behavior.html +66 -0
- data/app/assets/components/neon-animation/web-animations.html +11 -0
- data/app/assets/components/neon-elements/README.md +19 -0
- data/app/assets/components/neon-elements/bower.json +26 -0
- data/app/assets/components/paper-styles/README.md +3 -0
- data/app/assets/components/paper-styles/bower.json +27 -0
- data/app/assets/components/paper-styles/classes/global.html +96 -0
- data/app/assets/components/paper-styles/classes/shadow-layout.html +302 -0
- data/app/assets/components/paper-styles/classes/shadow.html +39 -0
- data/app/assets/components/paper-styles/classes/typography.html +171 -0
- data/app/assets/components/paper-styles/color.html +333 -0
- data/app/assets/components/paper-styles/default-theme.html +39 -0
- data/app/assets/components/paper-styles/demo-pages.html +72 -0
- data/app/assets/components/paper-styles/demo.css +25 -0
- data/app/assets/components/paper-styles/paper-styles-classes.html +14 -0
- data/app/assets/components/paper-styles/paper-styles.html +17 -0
- data/app/assets/components/paper-styles/shadow.html +61 -0
- data/app/assets/components/paper-styles/typography.html +240 -0
- data/app/assets/components/polymer/LICENSE.txt +27 -0
- data/app/assets/components/polymer/bower.json +26 -0
- data/app/assets/components/polymer/build.log +27 -0
- data/app/assets/components/polymer/polymer-micro.html +523 -0
- data/app/assets/components/polymer/polymer-mini.html +1368 -0
- data/app/assets/components/polymer/polymer.html +3768 -0
- data/app/assets/components/web-animations-js/COPYING +202 -0
- data/app/assets/components/web-animations-js/History.md +108 -0
- data/app/assets/components/web-animations-js/README.md +161 -0
- data/app/assets/components/web-animations-js/bower.json +31 -0
- data/app/assets/components/web-animations-js/web-animations-next-lite.min.js +17 -0
- data/app/assets/components/web-animations-js/web-animations-next-lite.min.js.map +1 -0
- data/app/assets/components/web-animations-js/web-animations-next.min.js +17 -0
- data/app/assets/components/web-animations-js/web-animations-next.min.js.map +1 -0
- data/app/assets/components/web-animations-js/web-animations.html +50 -0
- data/app/assets/components/web-animations-js/web-animations.min.js +17 -0
- data/app/assets/components/web-animations-js/web-animations.min.js.gz +0 -0
- data/app/assets/components/web-animations-js/web-animations.min.js.map +1 -0
- data/app/assets/components/webcomponentsjs/CustomElements.js +956 -0
- data/app/assets/components/webcomponentsjs/CustomElements.min.js +11 -0
- data/app/assets/components/webcomponentsjs/HTMLImports.js +1078 -0
- data/app/assets/components/webcomponentsjs/HTMLImports.min.js +11 -0
- data/app/assets/components/webcomponentsjs/MutationObserver.js +344 -0
- data/app/assets/components/webcomponentsjs/MutationObserver.min.js +11 -0
- data/app/assets/components/webcomponentsjs/README.md +125 -0
- data/app/assets/components/webcomponentsjs/ShadowDOM.js +4414 -0
- data/app/assets/components/webcomponentsjs/ShadowDOM.min.js +15 -0
- data/app/assets/components/webcomponentsjs/bower.json +14 -0
- data/app/assets/components/webcomponentsjs/build.log +33 -0
- data/app/assets/components/webcomponentsjs/package.json +31 -0
- data/app/assets/components/webcomponentsjs/webcomponents-lite.js +2300 -0
- data/app/assets/components/webcomponentsjs/webcomponents-lite.min.js +13 -0
- data/app/assets/components/webcomponentsjs/webcomponents.js +7112 -0
- data/app/assets/components/webcomponentsjs/webcomponents.min.js +15 -0
- data/lib/polymer-neon-rails.rb +2 -0
- data/lib/polymer-neon-rails/engine.rb +4 -0
- data/lib/polymer-neon-rails/version.rb +3 -0
- metadata +264 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 6ce2f2694e1ab581ad191c6f53d10ce943a6b684
|
4
|
+
data.tar.gz: c2b3b01e7c1498cfbe12a9aaed31288ac85c95e4
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 29c141b84abb46b626083d68cb6c560222490cdfb52b850503eb3169a4f5d7d2e1ea0e9263e877268d27dcc237390a206f2ff87fcbaee497aa2ae474017d6d9f
|
7
|
+
data.tar.gz: 888afe17554d333e2f043a4b4f851fae8f8cbc7fc5e9a85069b897695a4f50242bd2cd6b92c5d6beeb2f80852b9f306a04814f8f852476dea3d646fe50ec0d39
|
data/README.md
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
# Polymer::Neon::Rails
|
2
|
+
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/polymer/neon/rails`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'polymer-neon-rails'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install polymer-neon-rails
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
TODO: Write usage instructions here
|
26
|
+
|
27
|
+
## Development
|
28
|
+
|
29
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
+
|
31
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
1. Fork it ( https://github.com/[my-github-username]/polymer-neon-rails/fork )
|
36
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
37
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
38
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
39
|
+
5. Create a new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
@@ -0,0 +1,21 @@
|
|
1
|
+
{
|
2
|
+
"name": "iron-flex-layout",
|
3
|
+
"version": "1.0.1",
|
4
|
+
"description": "Provide flexbox-based layouts",
|
5
|
+
"keywords": [
|
6
|
+
"web-components",
|
7
|
+
"polymer",
|
8
|
+
"layout"
|
9
|
+
],
|
10
|
+
"private": true,
|
11
|
+
"license": "http://polymer.github.io/LICENSE.txt",
|
12
|
+
"authors": [
|
13
|
+
"The Polymer Authors"
|
14
|
+
],
|
15
|
+
"dependencies": {
|
16
|
+
"polymer": "Polymer/polymer#^1.0.0"
|
17
|
+
},
|
18
|
+
"devDependencies": {
|
19
|
+
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
20
|
+
}
|
21
|
+
}
|
@@ -0,0 +1,307 @@
|
|
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-shadow-flex-layout.html">
|
12
|
+
|
13
|
+
<style>
|
14
|
+
|
15
|
+
/*******************************
|
16
|
+
Flex Layout
|
17
|
+
*******************************/
|
18
|
+
|
19
|
+
.layout.horizontal,
|
20
|
+
.layout.horizontal-reverse,
|
21
|
+
.layout.vertical,
|
22
|
+
.layout.vertical-reverse {
|
23
|
+
display: -ms-flexbox;
|
24
|
+
display: -webkit-flex;
|
25
|
+
display: flex;
|
26
|
+
}
|
27
|
+
|
28
|
+
.layout.inline {
|
29
|
+
display: -ms-inline-flexbox;
|
30
|
+
display: -webkit-inline-flex;
|
31
|
+
display: inline-flex;
|
32
|
+
}
|
33
|
+
|
34
|
+
.layout.horizontal {
|
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
|
+
-ms-flex-direction: column;
|
48
|
+
-webkit-flex-direction: column;
|
49
|
+
flex-direction: column;
|
50
|
+
}
|
51
|
+
|
52
|
+
.layout.vertical-reverse {
|
53
|
+
-ms-flex-direction: column-reverse;
|
54
|
+
-webkit-flex-direction: column-reverse;
|
55
|
+
flex-direction: column-reverse;
|
56
|
+
}
|
57
|
+
|
58
|
+
.layout.wrap {
|
59
|
+
-ms-flex-wrap: wrap;
|
60
|
+
-webkit-flex-wrap: wrap;
|
61
|
+
flex-wrap: wrap;
|
62
|
+
}
|
63
|
+
|
64
|
+
.layout.wrap-reverse {
|
65
|
+
-ms-flex-wrap: wrap-reverse;
|
66
|
+
-webkit-flex-wrap: wrap-reverse;
|
67
|
+
flex-wrap: wrap-reverse;
|
68
|
+
}
|
69
|
+
|
70
|
+
.flex-auto {
|
71
|
+
-ms-flex: 1 1 auto;
|
72
|
+
-webkit-flex: 1 1 auto;
|
73
|
+
flex: 1 1 auto;
|
74
|
+
}
|
75
|
+
|
76
|
+
.flex-none {
|
77
|
+
-ms-flex: none;
|
78
|
+
-webkit-flex: none;
|
79
|
+
flex: none;
|
80
|
+
}
|
81
|
+
|
82
|
+
.flex,
|
83
|
+
.flex-1 {
|
84
|
+
-ms-flex: 1;
|
85
|
+
-webkit-flex: 1;
|
86
|
+
flex: 1;
|
87
|
+
}
|
88
|
+
|
89
|
+
.flex-2 {
|
90
|
+
-ms-flex: 2;
|
91
|
+
-webkit-flex: 2;
|
92
|
+
flex: 2;
|
93
|
+
}
|
94
|
+
|
95
|
+
.flex-3 {
|
96
|
+
-ms-flex: 3;
|
97
|
+
-webkit-flex: 3;
|
98
|
+
flex: 3;
|
99
|
+
}
|
100
|
+
|
101
|
+
.flex-4 {
|
102
|
+
-ms-flex: 4;
|
103
|
+
-webkit-flex: 4;
|
104
|
+
flex: 4;
|
105
|
+
}
|
106
|
+
|
107
|
+
.flex-5 {
|
108
|
+
-ms-flex: 5;
|
109
|
+
-webkit-flex: 5;
|
110
|
+
flex: 5;
|
111
|
+
}
|
112
|
+
|
113
|
+
.flex-6 {
|
114
|
+
-ms-flex: 6;
|
115
|
+
-webkit-flex: 6;
|
116
|
+
flex: 6;
|
117
|
+
}
|
118
|
+
|
119
|
+
.flex-7 {
|
120
|
+
-ms-flex: 7;
|
121
|
+
-webkit-flex: 7;
|
122
|
+
flex: 7;
|
123
|
+
}
|
124
|
+
|
125
|
+
.flex-8 {
|
126
|
+
-ms-flex: 8;
|
127
|
+
-webkit-flex: 8;
|
128
|
+
flex: 8;
|
129
|
+
}
|
130
|
+
|
131
|
+
.flex-9 {
|
132
|
+
-ms-flex: 9;
|
133
|
+
-webkit-flex: 9;
|
134
|
+
flex: 9;
|
135
|
+
}
|
136
|
+
|
137
|
+
.flex-10 {
|
138
|
+
-ms-flex: 10;
|
139
|
+
-webkit-flex: 10;
|
140
|
+
flex: 10;
|
141
|
+
}
|
142
|
+
|
143
|
+
.flex-11 {
|
144
|
+
-ms-flex: 11;
|
145
|
+
-webkit-flex: 11;
|
146
|
+
flex: 11;
|
147
|
+
}
|
148
|
+
|
149
|
+
.flex-12 {
|
150
|
+
-ms-flex: 12;
|
151
|
+
-webkit-flex: 12;
|
152
|
+
flex: 12;
|
153
|
+
}
|
154
|
+
|
155
|
+
/* alignment in cross axis */
|
156
|
+
|
157
|
+
.layout.start {
|
158
|
+
-ms-flex-align: start;
|
159
|
+
-webkit-align-items: flex-start;
|
160
|
+
align-items: flex-start;
|
161
|
+
}
|
162
|
+
|
163
|
+
.layout.center,
|
164
|
+
.layout.center-center {
|
165
|
+
-ms-flex-align: center;
|
166
|
+
-webkit-align-items: center;
|
167
|
+
align-items: center;
|
168
|
+
}
|
169
|
+
|
170
|
+
.layout.end {
|
171
|
+
-ms-flex-align: end;
|
172
|
+
-webkit-align-items: flex-end;
|
173
|
+
align-items: flex-end;
|
174
|
+
}
|
175
|
+
|
176
|
+
/* alignment in main axis */
|
177
|
+
|
178
|
+
.layout.start-justified {
|
179
|
+
-ms-flex-pack: start;
|
180
|
+
-webkit-justify-content: flex-start;
|
181
|
+
justify-content: flex-start;
|
182
|
+
}
|
183
|
+
|
184
|
+
.layout.center-justified,
|
185
|
+
.layout.center-center {
|
186
|
+
-ms-flex-pack: center;
|
187
|
+
-webkit-justify-content: center;
|
188
|
+
justify-content: center;
|
189
|
+
}
|
190
|
+
|
191
|
+
.layout.end-justified {
|
192
|
+
-ms-flex-pack: end;
|
193
|
+
-webkit-justify-content: flex-end;
|
194
|
+
justify-content: flex-end;
|
195
|
+
}
|
196
|
+
|
197
|
+
.layout.around-justified {
|
198
|
+
-ms-flex-pack: around;
|
199
|
+
-webkit-justify-content: space-around;
|
200
|
+
justify-content: space-around;
|
201
|
+
}
|
202
|
+
|
203
|
+
.layout.justified {
|
204
|
+
-ms-flex-pack: justify;
|
205
|
+
-webkit-justify-content: space-between;
|
206
|
+
justify-content: space-between;
|
207
|
+
}
|
208
|
+
|
209
|
+
/* self alignment */
|
210
|
+
|
211
|
+
.self-start {
|
212
|
+
-ms-align-self: flex-start;
|
213
|
+
-webkit-align-self: flex-start;
|
214
|
+
align-self: flex-start;
|
215
|
+
}
|
216
|
+
|
217
|
+
.self-center {
|
218
|
+
-ms-align-self: center;
|
219
|
+
-webkit-align-self: center;
|
220
|
+
align-self: center;
|
221
|
+
}
|
222
|
+
|
223
|
+
.self-end {
|
224
|
+
-ms-align-self: flex-end;
|
225
|
+
-webkit-align-self: flex-end;
|
226
|
+
align-self: flex-end;
|
227
|
+
}
|
228
|
+
|
229
|
+
.self-stretch {
|
230
|
+
-ms-align-self: stretch;
|
231
|
+
-webkit-align-self: stretch;
|
232
|
+
align-self: stretch;
|
233
|
+
}
|
234
|
+
|
235
|
+
/*******************************
|
236
|
+
Other Layout
|
237
|
+
*******************************/
|
238
|
+
|
239
|
+
.block {
|
240
|
+
display: block;
|
241
|
+
}
|
242
|
+
|
243
|
+
/* IE 10 support for HTML5 hidden attr */
|
244
|
+
[hidden] {
|
245
|
+
display: none !important;
|
246
|
+
}
|
247
|
+
|
248
|
+
.invisible {
|
249
|
+
visibility: hidden !important;
|
250
|
+
}
|
251
|
+
|
252
|
+
.relative {
|
253
|
+
position: relative;
|
254
|
+
}
|
255
|
+
|
256
|
+
.fit {
|
257
|
+
position: absolute;
|
258
|
+
top: 0;
|
259
|
+
right: 0;
|
260
|
+
bottom: 0;
|
261
|
+
left: 0;
|
262
|
+
}
|
263
|
+
|
264
|
+
body.fullbleed {
|
265
|
+
margin: 0;
|
266
|
+
height: 100vh;
|
267
|
+
}
|
268
|
+
|
269
|
+
.scroll {
|
270
|
+
-webkit-overflow-scrolling: touch;
|
271
|
+
overflow: auto;
|
272
|
+
}
|
273
|
+
|
274
|
+
/* fixed position */
|
275
|
+
|
276
|
+
.fixed-bottom,
|
277
|
+
.fixed-left,
|
278
|
+
.fixed-right,
|
279
|
+
.fixed-top {
|
280
|
+
position: fixed;
|
281
|
+
}
|
282
|
+
|
283
|
+
.fixed-top {
|
284
|
+
top: 0;
|
285
|
+
left: 0;
|
286
|
+
right: 0;
|
287
|
+
}
|
288
|
+
|
289
|
+
.fixed-right {
|
290
|
+
top: 0;
|
291
|
+
right: 0;
|
292
|
+
bottom: 0;
|
293
|
+
}
|
294
|
+
|
295
|
+
.fixed-bottom {
|
296
|
+
right: 0;
|
297
|
+
bottom: 0;
|
298
|
+
left: 0;
|
299
|
+
}
|
300
|
+
|
301
|
+
.fixed-left {
|
302
|
+
top: 0;
|
303
|
+
bottom: 0;
|
304
|
+
left: 0;
|
305
|
+
}
|
306
|
+
|
307
|
+
</style>
|
@@ -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>
|