Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <link rel="import" href="/settings_vars_css.html"> | 1 <link rel="import" href="/settings_vars_css.html"> |
| 2 | 2 |
| 3 <dom-module id="md-select"> | 3 <dom-module id="md-select"> |
| 4 <template> | 4 <template> |
| 5 <style> | 5 <style> |
| 6 .md-select { | 6 .md-select { |
| 7 -webkit-appearance: none; | 7 -webkit-appearance: none; |
| 8 background: url(images/arrow_down.svg) 97% 70% no-repeat; | 8 /* Ensure that the text does not overlap with the down arrow. */ |
| 9 -webkit-padding-end: calc(0.9em * 1.8); | |
|
dpapad
2016/10/07 18:01:12
Increased to 1.8, because 1.5 still seemed overly
michaelpg
2016/10/07 18:25:26
opt nit: make it harder to break
--md-arrow-wid
dpapad
2016/10/07 19:14:04
Done.
| |
| 10 background: url(images/arrow_down.svg) 97% center no-repeat; | |
| 9 background-size: 0.9em; | 11 background-size: 0.9em; |
| 10 border-bottom: 1px solid var(--paper-grey-300); | 12 border-bottom: 1px solid var(--paper-grey-300); |
| 11 border-left: none; | 13 border-left: none; |
| 12 /* Override Mac's default border-radius */ | 14 /* Override Mac's default border-radius */ |
| 13 border-radius: 0; | 15 border-radius: 0; |
| 14 border-right: none; | 16 border-right: none; |
| 15 border-top: none; | 17 border-top: none; |
| 16 color: var(--primary-text-color); | 18 color: var(--primary-text-color); |
| 17 cursor: pointer; | 19 cursor: pointer; |
| 18 font-family: inherit; | 20 font-family: inherit; |
| (...skipping 21 matching lines...) Expand all Loading... | |
| 40 transform: scale3d(1, 1, 1); | 42 transform: scale3d(1, 1, 1); |
| 41 transition: transform 200ms ease-out; | 43 transition: transform 200ms ease-out; |
| 42 } | 44 } |
| 43 | 45 |
| 44 .md-select-wrapper { | 46 .md-select-wrapper { |
| 45 display: inline-block; | 47 display: inline-block; |
| 46 } | 48 } |
| 47 </style> | 49 </style> |
| 48 </template> | 50 </template> |
| 49 </dom-module> | 51 </dom-module> |
| OLD | NEW |