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=
"iron-shadow-flex-layout.html">
15 /*******************************
17 *******************************/
20 .layout.horizontal-reverse,
22 .layout.vertical-reverse {
24 display: -webkit-flex;
29 display: -ms-inline-flexbox;
30 display: -webkit-inline-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 -ms-flex-direction: column;
48 -webkit-flex-direction: column;
49 flex-direction: column;
52 .layout.vertical-reverse {
53 -ms-flex-direction: column-reverse;
54 -webkit-flex-direction: column-reverse;
55 flex-direction: column-reverse;
60 -webkit-flex-wrap: wrap;
64 .layout.wrap-reverse {
65 -ms-flex-wrap: wrap-reverse;
66 -webkit-flex-wrap: wrap-reverse;
67 flex-wrap: wrap-reverse;
72 -webkit-flex:
1 1 auto;
155 /* alignment in cross axis */
158 -ms-flex-align: start;
159 -webkit-align-items: flex-start;
160 align-items: flex-start;
164 .layout.center-center {
165 -ms-flex-align: center;
166 -webkit-align-items: center;
172 -webkit-align-items: flex-end;
173 align-items: flex-end;
176 /* alignment in main axis */
178 .layout.start-justified {
179 -ms-flex-pack: start;
180 -webkit-justify-content: flex-start;
181 justify-content: flex-start;
184 .layout.center-justified,
185 .layout.center-center {
186 -ms-flex-pack: center;
187 -webkit-justify-content: center;
188 justify-content: center;
191 .layout.end-justified {
193 -webkit-justify-content: flex-end;
194 justify-content: flex-end;
197 .layout.around-justified {
198 -ms-flex-pack: around;
199 -webkit-justify-content: space-around;
200 justify-content: space-around;
204 -ms-flex-pack: justify;
205 -webkit-justify-content: space-between;
206 justify-content: space-between;
212 -ms-align-self: flex-start;
213 -webkit-align-self: flex-start;
214 align-self: flex-start;
218 -ms-align-self: center;
219 -webkit-align-self: center;
224 -ms-align-self: flex-end;
225 -webkit-align-self: flex-end;
226 align-self: flex-end;
230 -ms-align-self: stretch;
231 -webkit-align-self: stretch;
235 /*******************************
237 *******************************/
243 /* IE
10 support for HTML5 hidden attr */
245 display: none !important;
249 visibility: hidden !important;
270 -webkit-overflow-scrolling: touch;