Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Unified Diff: third_party/polymer/components-chromium/core-dropdown/core-dropdown.css

Issue 592593002: Inline scripts were extracted from Polymer elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/echo ""/echo/ Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
+}

Powered by Google App Engine
This is Rietveld 408576698