Chromium Code Reviews| Index: third_party/polymer/components/core-input/core-input.css |
| diff --git a/third_party/polymer/components/core-input/core-input.css b/third_party/polymer/components/core-input/core-input.css |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..7303061b630c998459efd06d6e9ee454f65b1bd1 |
| --- /dev/null |
| +++ b/third_party/polymer/components/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; |
| +} |