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
11 <link rel=
"import" href=
"../polymer/polymer.html">
13 <style is=
"custom-style">
19 display: -webkit-flex;
24 display: -ms-inline-flexbox;
25 display: -webkit-inline-flex;
29 --layout-horizontal: {
30 /* @apply(--layout); */
32 display: -webkit-flex;
35 -ms-flex-direction: row;
36 -webkit-flex-direction: row;
40 --layout-horizontal-reverse: {
41 -ms-flex-direction: row-reverse;
42 -webkit-flex-direction: row-reverse;
43 flex-direction: row-reverse;
47 /* @apply(--layout); */
49 display: -webkit-flex;
52 -ms-flex-direction: column;
53 -webkit-flex-direction: column;
54 flex-direction: column;
57 --layout-vertical-reverse: {
58 -ms-flex-direction: column-reverse;
59 -webkit-flex-direction: column-reverse;
60 flex-direction: column-reverse;
65 -webkit-flex-wrap: wrap;
69 --layout-wrap-reverse: {
70 -ms-flex-wrap: wrap-reverse;
71 -webkit-flex-wrap: wrap-reverse;
72 flex-wrap: wrap-reverse;
77 -webkit-flex:
1 1 auto;
88 -ms-flex:
1 1 0.000000001px;
91 -webkit-flex-basis:
0.000000001px;
92 flex-basis:
0.000000001px;
161 /* alignment in cross axis */
164 -ms-flex-align: start;
165 -webkit-align-items: flex-start;
166 align-items: flex-start;
170 -ms-flex-align: center;
171 -webkit-align-items: center;
177 -webkit-align-items: flex-end;
178 align-items: flex-end;
181 /* alignment in main axis */
183 --layout-start-justified: {
184 -ms-flex-pack: start;
185 -webkit-justify-content: flex-start;
186 justify-content: flex-start;
189 --layout-center-justified: {
190 -ms-flex-pack: center;
191 -webkit-justify-content: center;
192 justify-content: center;
195 --layout-end-justified: {
197 -webkit-justify-content: flex-end;
198 justify-content: flex-end;
201 --layout-around-justified: {
202 -ms-flex-pack: around;
203 -webkit-justify-content: space-around;
204 justify-content: space-around;
207 --layout-justified: {
208 -ms-flex-pack: justify;
209 -webkit-justify-content: space-between;
210 justify-content: space-between;
213 --layout-center-center: {
214 /* @apply(--layout-center --layout-center-justified); */
215 -ms-flex-align: center;
216 -webkit-align-items: center;
218 -ms-flex-pack: center;
219 -webkit-justify-content: center;
220 justify-content: center;
225 --layout-self-start: {
226 -ms-align-self: flex-start;
227 -webkit-align-self: flex-start;
228 align-self: flex-start;
231 --layout-self-center: {
232 -ms-align-self: center;
233 -webkit-align-self: center;
238 -ms-align-self: flex-end;
239 -webkit-align-self: flex-end;
240 align-self: flex-end;
243 --layout-self-stretch: {
244 -ms-align-self: stretch;
245 -webkit-align-self: stretch;
249 /*******************************
251 *******************************/
257 --layout-invisible: {
258 visibility: hidden !important;
274 -webkit-overflow-scrolling: touch;
280 --layout-fixed-bottom:,
281 --layout-fixed-left:,
282 --layout-fixed-right:,
283 --layout-fixed-top: {
287 --layout-fixed-top: {
293 --layout-fixed-right: {
299 --layout-fixed-bottom: {
305 --layout-fixed-left: {