Index: third_party/polymer/components-chromium/core-layout/core-layout-host.css |
diff --git a/third_party/polymer/components-chromium/core-layout/core-layout-host.css b/third_party/polymer/components-chromium/core-layout/core-layout-host.css |
new file mode 100644 |
index 0000000000000000000000000000000000000000..aa5f845395d2d3d8e9c40944e0c1a15df83fb2de |
--- /dev/null |
+++ b/third_party/polymer/components-chromium/core-layout/core-layout-host.css |
@@ -0,0 +1,106 @@ |
+/* |
+Copyright (c) 2014 The Polymer Project Authors. All rights reserved. |
+This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt |
+The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
+The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt |
+Code distributed by Google as part of the polymer project is also |
+subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt |
+*/ |
+ |
+:host { |
+ display: -webkit-box !important; |
+ display: -ms-flexbox !important; |
+ display: -moz-flex !important; |
+ display: -webkit-flex !important; |
+ display: flex !important; |
+} |
+ |
+:host(.core-h) { |
+ -webkit-box-orient: horizontal; |
+ -ms-flex-direction: row; |
+ -moz-flex-direction: row; |
+ -webkit-flex-direction: row; |
+ flex-direction: row; |
+} |
+ |
+:host(.core-v) { |
+ -webkit-box-orient: vertical; |
+ -ms-flex-direction: column; |
+ -moz-flex-direction: column; |
+ -webkit-flex-direction: column; |
+ flex-direction: column; |
+} |
+ |
+:host(.core-h.core-reverse) { |
+ -webkit-box-direction: reverse; |
+ -ms-flex-direction: row-reverse; |
+ -moz-flex-direction: row-reverse; |
+ -webkit-flex-direction: row-reverse; |
+ flex-direction: row-reverse; |
+} |
+ |
+:host(.core-v.core-reverse) { |
+ -webkit-box-direction: reverse; |
+ -ms-flex-direction: column-reverse; |
+ -moz-flex-direction: column-reverse; |
+ -webkit-flex-direction: column-reverse; |
+ flex-direction: column-reverse; |
+} |
+ |
+/* alignment in main axis */ |
+:host(.core-justify-start) { |
+ -webkit-box-pack: start; |
+ -ms-flex-pack: start; |
+ -moz-justify-content: flex-start; |
+ -webkit-justify-content: flex-start; |
+ justify-content: flex-start; |
+} |
+ |
+:host(.core-justify-center) { |
+ -webkit-box-pack: center; |
+ -ms-flex-pack: center; |
+ -moz-justify-content: center; |
+ -webkit-justify-content: center; |
+ justify-content: center; |
+} |
+ |
+:host(.core-justify-end) { |
+ -webkit-box-pack: end; |
+ -ms-flex-pack: end; |
+ -moz-justify-content: flex-end; |
+ -webkit-justify-content: flex-end; |
+ justify-content: flex-end; |
+} |
+ |
+:host(.core-justify-between) { |
+ -webkit-box-pack: justify; |
+ -ms-flex-pack: justify; |
+ -moz-justify-content: space-between; |
+ -webkit-justify-content: space-between; |
+ justify-content: space-between; |
+} |
+ |
+/* alignment in cross axis */ |
+:host(.core-align-start) { |
+ -webkit-box-align: start; |
+ -ms-flex-align: start; |
+ -moz-align-items: flex-start; |
+ -webkit-align-items: flex-start; |
+ align-items: flex-start; |
+} |
+ |
+:host(.core-align-center) { |
+ -webkit-box-align: center; |
+ -ms-flex-align: center; |
+ -moz-align-items: center; |
+ -webkit-align-items: center; |
+ align-items: center; |
+} |
+ |
+:host(.core-align-end) { |
+ -webkit-box-align: end; |
+ -ms-flex-align: end; |
+ -moz-align-items: flex-end; |
+ -webkit-align-items: flex-end; |
+ align-items: flex-end; |
+} |