Index: third_party/polymer/components-chromium/core-dropdown/core-dropdown.css |
diff --git a/third_party/polymer/components-chromium/core-dropdown/core-dropdown.css b/third_party/polymer/components-chromium/core-dropdown/core-dropdown.css |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ea2a6e383a06520a148956c53ba46e590d0ea1e4 |
--- /dev/null |
+++ b/third_party/polymer/components-chromium/core-dropdown/core-dropdown.css |
@@ -0,0 +1,36 @@ |
+:host { |
+ position: relative; |
+ display: inline-block; |
+ background-color: #fff; |
+} |
+ |
+#control core-item { |
+ margin-left: 12px; |
+ max-width: inherit; |
+} |
+ |
+#control core-item::shadow #label { |
+ overflow: hidden; |
+ /* FIXME not working for some reason */ |
+ white-space: nowrap; |
+ text-overflow: ellipsis; |
+} |
+ |
+#arrow { |
+ margin: 0 12px; |
+} |
+ |
+#menu { |
+ position: absolute; |
+ left: 0; |
+ margin: 0; |
+ padding: 0 12px; |
+ overflow: scroll; |
+ -webkit-overflow-scrolling: touch; |
+ background-color: #fff; |
+} |
+ |
+:host([halign="right"]) #menu { |
+ left: auto; |
+ right: 0; |
+} |