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

Unified Diff: third_party/polymer/components-chromium/core-input/core-input.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-input/core-input.css
diff --git a/third_party/polymer/components-chromium/core-input/core-input.css b/third_party/polymer/components-chromium/core-input/core-input.css
new file mode 100644
index 0000000000000000000000000000000000000000..7303061b630c998459efd06d6e9ee454f65b1bd1
--- /dev/null
+++ b/third_party/polymer/components-chromium/core-input/core-input.css
@@ -0,0 +1,35 @@
+:host {
+ display: inline-block;
+ text-align: inherit;
+ color: #ccc;
+ position: relative;
+ width: 20em;
+}
+
+:host:hover {
+ cursor: text;
+}
+
+input,
+textarea {
+ font: inherit;
+ width: 100%;
+ margin: 0;
+ padding: 0;
+ background-color: transparent;
+ border: none;
+ outline: none;
+ width: 100%;
+}
+
+textarea {
+ resize: none;
+}
+
+textarea[fit] {
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+}

Powered by Google App Engine
This is Rietveld 408576698