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

Side by Side Diff: chrome/browser/resources/md_history/history_item.html

Issue 2203683002: MD History: Convert synced device collapse icon to a button (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/md_history/shared_style.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <link rel="import" href="chrome://resources/cr_elements/icons.html"> 1 <link rel="import" href="chrome://resources/cr_elements/icons.html">
2 <link rel="import" href="chrome://resources/html/polymer.html"> 2 <link rel="import" href="chrome://resources/html/polymer.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout.html"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout.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-button/paper-butt on.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-ch eckbox.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-ch eckbox.html">
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html">
8 <link rel="import" href="chrome://resources/html/icon.html"> 8 <link rel="import" href="chrome://resources/html/icon.html">
9 <link rel="import" href="chrome://resources/html/util.html"> 9 <link rel="import" href="chrome://resources/html/util.html">
10 <link rel="import" href="chrome://history/browser_service.html"> 10 <link rel="import" href="chrome://history/browser_service.html">
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 } 90 }
91 91
92 #domain { 92 #domain {
93 -webkit-margin-start: 16px; 93 -webkit-margin-start: 16px;
94 color: var(--secondary-text-color); 94 color: var(--secondary-text-color);
95 flex-shrink: 0; 95 flex-shrink: 0;
96 } 96 }
97 97
98 #menu-button { 98 #menu-button {
99 -webkit-margin-end: 12px; 99 -webkit-margin-end: 12px;
100 -webkit-margin-start: 2px;
101 color: var(--secondary-text-color);
102 height: 36px;
103 width: 36px;
104 }
105
106 #menu-button iron-icon {
107 height: 20px;
108 width: 20px;
109 } 100 }
110 101
111 #bookmark-star { 102 #bookmark-star {
112 -webkit-margin-end: 10px; 103 -webkit-margin-end: 4px;
113 -webkit-margin-start: 20px; 104 -webkit-margin-start: 12px;
114 color: rgb(68, 136, 255); 105 color: rgb(68, 136, 255);
115 height: 20px; 106 height: 32px;
116 visibility: hidden; 107 visibility: hidden;
117 width: 20px; 108 width: 32px;
118 } 109 }
119 110
120 #bookmark-star iron-icon { 111 #bookmark-star iron-icon {
121 height: 16px; 112 height: 16px;
122 width: 16px; 113 width: 16px;
123 } 114 }
124 115
125 :host([starred]) #bookmark-star { 116 :host([starred]) #bookmark-star {
126 visibility: visible; 117 visibility: visible;
127 } 118 }
(...skipping 21 matching lines...) Expand all
149 <history-searched-label title="[[cropItemTitle_(item.title)]]" 140 <history-searched-label title="[[cropItemTitle_(item.title)]]"
150 search-term="[[searchTerm]]"></history-searched-label> 141 search-term="[[searchTerm]]"></history-searched-label>
151 </a> 142 </a>
152 <span id="domain">[[item.domain]]</span> 143 <span id="domain">[[item.domain]]</span>
153 </div> 144 </div>
154 <button is="paper-icon-button-light" id="bookmark-star" 145 <button is="paper-icon-button-light" id="bookmark-star"
155 title="$i18n{removeBookmark}" on-tap="onRemoveBookmarkTap_"> 146 title="$i18n{removeBookmark}" on-tap="onRemoveBookmarkTap_">
156 <iron-icon icon="cr:star"></iron-icon> 147 <iron-icon icon="cr:star"></iron-icon>
157 </button> 148 </button>
158 <button is="paper-icon-button-light" id="menu-button" 149 <button is="paper-icon-button-light" id="menu-button"
159 on-tap="onMenuButtonTap_" title="$i18n{moreActionsButton}"> 150 class="icon-button" title="$i18n{moreActionsButton}"
151 on-tap="onMenuButtonTap_">
160 <iron-icon icon="cr:more-vert"></iron-icon> 152 <iron-icon icon="cr:more-vert"></iron-icon>
161 </button> 153 </button>
162 </div> 154 </div>
163 <template is="dom-if" if="[[hasTimeGap]]"> 155 <template is="dom-if" if="[[hasTimeGap]]">
164 <div id="time-gap-separator"></div> 156 <div id="time-gap-separator"></div>
165 </template> 157 </template>
166 </div> 158 </div>
167 </div> 159 </div>
168 </template> 160 </template>
169 <script src="chrome://history/history_item.js"></script> 161 <script src="chrome://history/history_item.js"></script>
170 </dom-module> 162 </dom-module>
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/md_history/shared_style.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698