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

Side by Side Diff: chrome/browser/resources/md_downloads/item.html

Issue 2465723004: Make download warning icon and text more consistent (Closed)
Patch Set: rebase Created 4 years, 1 month 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
OLDNEW
1 <link rel="import" href="chrome://resources/html/action_link.html"> 1 <link rel="import" href="chrome://resources/html/action_link.html">
2 <link rel="import" href="chrome://resources/html/cr.html"> 2 <link rel="import" href="chrome://resources/html/cr.html">
3 <link rel="import" href="chrome://resources/html/polymer.html"> 3 <link rel="import" href="chrome://resources/html/polymer.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-icon-button/paper -icon-button-light.html"> 6 <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-progress/paper-pr ogress.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-progress/paper-pr ogress.html">
8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm l"> 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm l">
9 <link rel="import" href="chrome://downloads/action_service.html"> 9 <link rel="import" href="chrome://downloads/action_service.html">
10 <link rel="import" href="chrome://downloads/constants.html"> 10 <link rel="import" href="chrome://downloads/constants.html">
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 -webkit-filter: grayscale(100%); 106 -webkit-filter: grayscale(100%);
107 opacity: .5; 107 opacity: .5;
108 } 108 }
109 109
110 #danger-icon { 110 #danger-icon {
111 height: 32px; 111 height: 32px;
112 width: 32px; 112 width: 32px;
113 } 113 }
114 114
115 #danger-icon[icon='cr:warning'] { 115 #danger-icon[icon='cr:warning'] {
116 color: rgb(255, 193, 7); 116 color: rgb(221, 67, 48);
Dan Beam 2016/11/01 18:49:50 this similar to --google-red-700 and --paper-deep-
Jialiu Lin 2016/11/01 21:19:01 Done.
117 }
118
119 #danger-icon[icon='downloads:remove-circle'] {
120 color: rgb(244, 67, 54);
121 } 117 }
122 118
123 #name, 119 #name,
124 #file-link, 120 #file-link,
125 #url { 121 #url {
126 max-width: 100%; 122 max-width: 100%;
127 } 123 }
128 124
129 #name, 125 #name,
130 #file-link { 126 #file-link {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 #description:not(:empty), 160 #description:not(:empty),
165 .controls { 161 .controls {
166 margin-top: 16px; 162 margin-top: 16px;
167 } 163 }
168 164
169 .is-active #description { 165 .is-active #description {
170 color: #616161; 166 color: #616161;
171 } 167 }
172 168
173 .dangerous #description { 169 .dangerous #description {
174 color: rgb(239, 108, 0); 170 color: rgb(221, 67, 48);
175 } 171 }
176 172
177 #progress { 173 #progress {
178 --paper-progress-active-color: rgb(54, 126, 237); 174 --paper-progress-active-color: rgb(54, 126, 237);
179 --paper-progress-container-color: rgb(223, 222, 223); 175 --paper-progress-container-color: rgb(223, 222, 223);
180 width: auto; 176 width: auto;
181 } 177 }
182 178
183 .controls { 179 .controls {
184 -webkit-margin-start: -.57em; 180 -webkit-margin-start: -.57em;
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 </div> 314 </div>
319 315
320 <div id="incognito" title="$i18n{inIncognito}" hidden="[[!data.otr]]"> 316 <div id="incognito" title="$i18n{inIncognito}" hidden="[[!data.otr]]">
321 </div> 317 </div>
322 </div> 318 </div>
323 319
324 </template> 320 </template>
325 <link rel="import" type="css" href="chrome://resources/css/action_link.css"> 321 <link rel="import" type="css" href="chrome://resources/css/action_link.css">
326 <script src="chrome://downloads/item.js"></script> 322 <script src="chrome://downloads/item.js"></script>
327 </dom-module> 323 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698