Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <link rel="import" href="chrome://resources/html/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 2 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 2 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
| 3 <link rel="import" href="chrome://resources/html/icon.html"> | 3 <link rel="import" href="chrome://resources/html/icon.html"> |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l"> |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html"> |
| 6 <link rel="import" href="chrome://bookmarks/shared_style.html"> | 6 <link rel="import" href="chrome://bookmarks/shared_style.html"> |
| 7 | 7 |
| 8 <dom-module id="bookmarks-item"> | 8 <dom-module id="bookmarks-item"> |
| 9 <template> | 9 <template> |
| 10 <style include="shared-style"> | 10 <style include="shared-style"> |
| 11 :host { | 11 :host { |
| 12 -webkit-padding-start: 20px; | 12 -webkit-padding-start: 20px; |
| 13 -webkit-user-select: none; | |
| 13 align-items: center; | 14 align-items: center; |
| 14 display: flex; | 15 display: flex; |
| 15 flex-direction: row; | 16 flex-direction: row; |
| 16 height: 40px; | 17 height: 40px; |
| 17 } | 18 } |
| 18 | 19 |
| 20 :host([is-selected]) { | |
| 21 background-color: rgb(216, 223, 240); | |
|
calamity
2017/01/17 06:12:22
Is this the right color? The spec says it should b
jiaxi
2017/01/20 04:51:08
Done.
| |
| 22 } | |
| 23 | |
| 19 #website-title { | 24 #website-title { |
| 20 color: var(--primary-text-color); | 25 color: var(--primary-text-color); |
| 21 cursor: pointer; | 26 cursor: pointer; |
| 22 flex: 1; | 27 flex: 1; |
| 23 overflow: hidden; | 28 overflow: hidden; |
| 24 text-decoration: none; | 29 text-decoration: none; |
| 25 text-overflow: ellipsis; | 30 text-overflow: ellipsis; |
| 26 white-space: nowrap; | 31 white-space: nowrap; |
| 27 } | 32 } |
| 28 | 33 |
| (...skipping 30 matching lines...) Expand all Loading... | |
| 59 </div> | 64 </div> |
| 60 <button is="paper-icon-button-light" class="more-vert-button" | 65 <button is="paper-icon-button-light" class="more-vert-button" |
| 61 on-tap="onMenuButtonOpenTap_"> | 66 on-tap="onMenuButtonOpenTap_"> |
| 62 <div></div> | 67 <div></div> |
| 63 <div></div> | 68 <div></div> |
| 64 <div></div> | 69 <div></div> |
| 65 </button> | 70 </button> |
| 66 </template> | 71 </template> |
| 67 <script src="chrome://bookmarks/item.js"></script> | 72 <script src="chrome://bookmarks/item.js"></script> |
| 68 <dom-module> | 73 <dom-module> |
| OLD | NEW |