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

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

Issue 2465723004: Make download warning icon and text more consistent (Closed)
Patch Set: address comments and vulcanize 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 <!DOCTYPE html><html dir="$i18n{textdirection}" lang="$i18n{language}"><head><!- - 1 <!DOCTYPE html><html dir="$i18n{textdirection}" lang="$i18n{language}"><head><!- -
2 @license 2 @license
3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. 3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt 4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
7 Code distributed by Google as part of the polymer project is also 7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
9 --><!-- 9 --><!--
10 @license 10 @license
(...skipping 1117 matching lines...) Expand 10 before | Expand all | Expand 10 after
1128 #content:not(.is-active) .icon { 1128 #content:not(.is-active) .icon {
1129 -webkit-filter: grayscale(100%); 1129 -webkit-filter: grayscale(100%);
1130 opacity: .5; 1130 opacity: .5;
1131 } 1131 }
1132 1132
1133 #danger-icon { 1133 #danger-icon {
1134 height: 32px; 1134 height: 32px;
1135 width: 32px; 1135 width: 32px;
1136 } 1136 }
1137 1137
1138 #danger-icon[icon='cr:warning'] { 1138 #danger-icon[icon='cr:warning'], .dangerous #description {
1139 color: rgb(255, 193, 7); 1139 color: var(--google-red-700);
1140 }
1141
1142 #danger-icon[icon='downloads:remove-circle'] {
1143 color: rgb(244, 67, 54);
1144 } 1140 }
1145 1141
1146 #name, #file-link, #url { 1142 #name, #file-link, #url {
1147 max-width: 100%; 1143 max-width: 100%;
1148 } 1144 }
1149 1145
1150 #name, #file-link { 1146 #name, #file-link {
1151 font-weight: 500; 1147 font-weight: 500;
1152 word-break: break-all; 1148 word-break: break-all;
1153 } 1149 }
(...skipping 26 matching lines...) Expand all
1180 } 1176 }
1181 1177
1182 #progress, #description:not(:empty), .controls { 1178 #progress, #description:not(:empty), .controls {
1183 margin-top: 16px; 1179 margin-top: 16px;
1184 } 1180 }
1185 1181
1186 .is-active #description { 1182 .is-active #description {
1187 color: #616161; 1183 color: #616161;
1188 } 1184 }
1189 1185
1190 .dangerous #description {
1191 color: rgb(239, 108, 0);
1192 }
1193
1194 #progress { 1186 #progress {
1195 --paper-progress-active-color: rgb(54, 126, 237); 1187 --paper-progress-active-color: rgb(54, 126, 237);
1196 --paper-progress-container-color: rgb(223, 222, 223); 1188 --paper-progress-container-color: rgb(223, 222, 223);
1197 width: auto; 1189 width: auto;
1198 } 1190 }
1199 1191
1200 .controls { 1192 .controls {
1201 -webkit-margin-start: -.57em; 1193 -webkit-margin-start: -.57em;
1202 } 1194 }
1203 1195
(...skipping 2412 matching lines...) Expand 10 before | Expand all | Expand 10 after
3616 <command id="undo-command" shortcut="Meta|z"></command> 3608 <command id="undo-command" shortcut="Meta|z"></command>
3617 <command id="find-command" shortcut="Meta|f"></command> 3609 <command id="find-command" shortcut="Meta|f"></command>
3618 </if> 3610 </if>
3619 <if expr="not is_macosx"> 3611 <if expr="not is_macosx">
3620 <command id="clear-all-command" shortcut="Alt|c"></command> 3612 <command id="clear-all-command" shortcut="Alt|c"></command>
3621 <command id="undo-command" shortcut="Ctrl|z"></command> 3613 <command id="undo-command" shortcut="Ctrl|z"></command>
3622 <command id="find-command" shortcut="Ctrl|f"></command> 3614 <command id="find-command" shortcut="Ctrl|f"></command>
3623 </if> 3615 </if>
3624 <link rel="import" href="chrome://resources/html/polymer.html"> 3616 <link rel="import" href="chrome://resources/html/polymer.html">
3625 <script src="crisper.js"></script></body></html> 3617 <script src="crisper.js"></script></body></html>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_downloads/item.js ('k') | chrome/browser/ui/views/download/download_item_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698