2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
3 This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
5 The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
6 Code distributed by Google as part of the polymer project is also
7 subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
10 /*******************************
12 *******************************/
14 html /deep/ [layout][horizontal], html /deep/ [layout][vertical] {
16 display: -webkit-flex;
20 html /deep/ [layout][horizontal][inline], html /deep/ [layout][vertical][inline] {
21 display: -ms-inline-flexbox;
22 display: -webkit-inline-flex;
26 html /deep/ [layout][horizontal] {
27 -ms-flex-direction: row;
28 -webkit-flex-direction: row;
32 html /deep/ [layout][horizontal][reverse] {
33 -ms-flex-direction: row-reverse;
34 -webkit-flex-direction: row-reverse;
35 flex-direction: row-reverse;
38 html /deep/ [layout][vertical] {
39 -ms-flex-direction: column;
40 -webkit-flex-direction: column;
41 flex-direction: column;
44 html /deep/ [layout][vertical][reverse] {
45 -ms-flex-direction: column-reverse;
46 -webkit-flex-direction: column-reverse;
47 flex-direction: column-reverse;
50 html /deep/ [layout][wrap] {
52 -webkit-flex-wrap: wrap;
56 html /deep/ [layout][wrap-reverse] {
57 -ms-flex-wrap: wrap-reverse;
58 -webkit-flex-wrap: wrap-reverse;
59 flex-wrap: wrap-reverse;
68 html /deep/ [flex][auto] {
70 -webkit-flex: 1 1 auto;
74 html /deep/ [flex][none] {
80 html /deep/ [flex][one] {
86 html /deep/ [flex][two] {
92 html /deep/ [flex][three] {
98 html /deep/ [flex][four] {
104 html /deep/ [flex][five] {
110 html /deep/ [flex][six] {
116 html /deep/ [flex][seven] {
122 html /deep/ [flex][eight] {
128 html /deep/ [flex][nine] {
134 html /deep/ [flex][ten] {
140 html /deep/ [flex][eleven] {
146 html /deep/ [flex][twelve] {
152 /* alignment in cross axis */
154 html /deep/ [layout][start] {
155 -ms-flex-align: start;
156 -webkit-align-items: flex-start;
157 align-items: flex-start;
160 html /deep/ [layout][center], html /deep/ [layout][center-center] {
161 -ms-flex-align: center;
162 -webkit-align-items: center;
166 html /deep/ [layout][end] {
168 -webkit-align-items: flex-end;
169 align-items: flex-end;
172 /* alignment in main axis */
174 html /deep/ [layout][start-justified] {
175 -ms-flex-pack: start;
176 -webkit-justify-content: flex-start;
177 justify-content: flex-start;
180 html /deep/ [layout][center-justified], html /deep/ [layout][center-center] {
181 -ms-flex-pack: center;
182 -webkit-justify-content: center;
183 justify-content: center;
186 html /deep/ [layout][end-justified] {
188 -webkit-justify-content: flex-end;
189 justify-content: flex-end;
192 html /deep/ [layout][around-justified] {
193 -ms-flex-pack: around;
194 -webkit-justify-content: space-around;
195 justify-content: space-around;
198 html /deep/ [layout][justified] {
199 -ms-flex-pack: justify;
200 -webkit-justify-content: space-between;
201 justify-content: space-between;
206 html /deep/ [self-start] {
207 -ms-align-self: flex-start;
208 -webkit-align-self: flex-start;
209 align-self: flex-start;
212 html /deep/ [self-center] {
213 -ms-align-self: center;
214 -webkit-align-self: center;
218 html /deep/ [self-end] {
219 -ms-align-self: flex-end;
220 -webkit-align-self: flex-end;
221 align-self: flex-end;
224 html /deep/ [self-stretch] {
225 -ms-align-self: stretch;
226 -webkit-align-self: stretch;
230 /*******************************
232 *******************************/
234 html /deep/ [block] {
238 /* ie support for hidden */
239 html /deep/ [hidden] {
240 display: none !important;
243 html /deep/ [relative] {
260 /*******************************
262 *******************************/
264 html /deep/ [segment], html /deep/ segment {
267 -webkit-box-sizing: border-box;
268 -ms-box-sizing: border-box;
269 box-sizing: border-box;
272 background-color: white;
273 -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
274 box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
275 border-radius: 5px 5px 5px 5px;