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
@@ -0,0 +1,40 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<!--
|
3
|
+
@license
|
4
|
+
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
|
5
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE
|
6
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS
|
7
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS
|
8
|
+
Code distributed by Google as part of the polymer project is also
|
9
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS
|
10
|
+
-->
|
11
|
+
|
12
|
+
<html>
|
13
|
+
<head>
|
14
|
+
|
15
|
+
<title>iron-flex-layout</title>
|
16
|
+
<meta charset="utf-8">
|
17
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
18
|
+
|
19
|
+
<script src="../../webcomponentsjs/webcomponents-lite.js"></script>
|
20
|
+
<link rel="import" href="x-app.html">
|
21
|
+
|
22
|
+
<style>
|
23
|
+
|
24
|
+
html, body, x-app {
|
25
|
+
height: 100%;
|
26
|
+
}
|
27
|
+
|
28
|
+
body {
|
29
|
+
margin: 0;
|
30
|
+
}
|
31
|
+
|
32
|
+
</style>
|
33
|
+
|
34
|
+
</head>
|
35
|
+
<body>
|
36
|
+
|
37
|
+
<x-app></x-app>
|
38
|
+
|
39
|
+
</body>
|
40
|
+
</html>
|
@@ -0,0 +1,106 @@
|
|
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
|
5
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS
|
6
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS
|
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
|
9
|
+
-->
|
10
|
+
|
11
|
+
<link rel="import" href="../iron-flex-layout.html">
|
12
|
+
|
13
|
+
<dom-module id="x-app">
|
14
|
+
|
15
|
+
<style>
|
16
|
+
|
17
|
+
:host {
|
18
|
+
@apply(--layout-horizontal);
|
19
|
+
}
|
20
|
+
|
21
|
+
[nav] {
|
22
|
+
width: 300px;
|
23
|
+
@apply(--layout-vertical);
|
24
|
+
background-color: #ddd;
|
25
|
+
}
|
26
|
+
|
27
|
+
[item] {
|
28
|
+
height: 60px;
|
29
|
+
padding-left: 16px;
|
30
|
+
@apply(--layout-horizontal --layout-center);
|
31
|
+
border-bottom: 1px solid #bbb;
|
32
|
+
}
|
33
|
+
|
34
|
+
[main] {
|
35
|
+
@apply(--layout-flex);
|
36
|
+
@apply(--layout-vertical);
|
37
|
+
}
|
38
|
+
|
39
|
+
[header] {
|
40
|
+
height: 60px;
|
41
|
+
background-color: #ccc;
|
42
|
+
padding: 0 16px;
|
43
|
+
@apply(--layout-horizontal --layout-center);
|
44
|
+
}
|
45
|
+
|
46
|
+
[tool] {
|
47
|
+
@apply(--layout-inline);
|
48
|
+
}
|
49
|
+
|
50
|
+
[flex] {
|
51
|
+
@apply(--layout-flex);
|
52
|
+
}
|
53
|
+
|
54
|
+
[content] {
|
55
|
+
@apply(--layout-flex);
|
56
|
+
overflow: auto;
|
57
|
+
}
|
58
|
+
|
59
|
+
[card] {
|
60
|
+
height: 300px;
|
61
|
+
width: 300px;
|
62
|
+
margin: 16px auto;
|
63
|
+
background-color: #eee;
|
64
|
+
@apply(--layout-vertical --layout-center-center);
|
65
|
+
}
|
66
|
+
|
67
|
+
</style>
|
68
|
+
|
69
|
+
<template>
|
70
|
+
|
71
|
+
<div nav>
|
72
|
+
<div content>
|
73
|
+
<div item>ITEM 1</div>
|
74
|
+
<div item>ITEM 2</div>
|
75
|
+
<div item>ITEM 3</div>
|
76
|
+
<div item>ITEM 4</div>
|
77
|
+
<div item>ITEM 5</div>
|
78
|
+
</div>
|
79
|
+
</div>
|
80
|
+
|
81
|
+
<div main>
|
82
|
+
<div header>
|
83
|
+
<div tool>Foo</div>
|
84
|
+
<div flex></div>
|
85
|
+
<div tool>Bar</div>
|
86
|
+
</div>
|
87
|
+
<div content>
|
88
|
+
<div card>CARD 1</div>
|
89
|
+
<div card>CARD 2</div>
|
90
|
+
<div card>CARD 3</div>
|
91
|
+
<div card>CARD 4</div>
|
92
|
+
<div card>CARD 5</div>
|
93
|
+
</div>
|
94
|
+
</div>
|
95
|
+
|
96
|
+
</template>
|
97
|
+
|
98
|
+
</dom-module>
|
99
|
+
<script>
|
100
|
+
|
101
|
+
Polymer({
|
102
|
+
is: 'x-app'
|
103
|
+
});
|
104
|
+
|
105
|
+
</script>
|
106
|
+
|
@@ -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>
|