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

Side by Side Diff: chrome/browser/resources/md_downloads/vulcanized.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 <!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 985 matching lines...) Expand 10 before | Expand all | Expand 10 after
996 996
997 </style> 997 </style>
998 998
999 <div id="progressContainer"> 999 <div id="progressContainer">
1000 <div id="secondaryProgress" hidden$="[[_hideSecondaryProgress(secondaryRat io)]]"></div> 1000 <div id="secondaryProgress" hidden$="[[_hideSecondaryProgress(secondaryRat io)]]"></div>
1001 <div id="primaryProgress"></div> 1001 <div id="primaryProgress"></div>
1002 </div> 1002 </div>
1003 </template> 1003 </template>
1004 </dom-module> 1004 </dom-module>
1005 1005
1006 <iron-iconset-svg name="downloads" size="24">
1007 <svg>
1008 <defs>
1009
1010 <g id="remove-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4 .48 10-10S17.52 2 12 2zm5 11H7v-2h10v2z"></path></g>
1011 </defs>
1012 </svg>
1013 </iron-iconset-svg>
1014 <dom-module id="downloads-item" assetpath="chrome://downloads/" css-build="shado w"> 1006 <dom-module id="downloads-item" assetpath="chrome://downloads/" css-build="shado w">
1015 <template> 1007 <template>
1016 <style scope="downloads-item">[is='action-link'] { 1008 <style scope="downloads-item">[is='action-link'] {
1017 cursor: pointer; 1009 cursor: pointer;
1018 display: inline-block; 1010 display: inline-block;
1019 text-decoration: none; 1011 text-decoration: none;
1020 } 1012 }
1021 1013
1022 [is='action-link']:hover { 1014 [is='action-link']:hover {
1023 text-decoration: underline; 1015 text-decoration: underline;
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
1129 -webkit-filter: grayscale(100%); 1121 -webkit-filter: grayscale(100%);
1130 opacity: .5; 1122 opacity: .5;
1131 } 1123 }
1132 1124
1133 #danger-icon { 1125 #danger-icon {
1134 height: 32px; 1126 height: 32px;
1135 width: 32px; 1127 width: 32px;
1136 } 1128 }
1137 1129
1138 #danger-icon[icon='cr:warning'] { 1130 #danger-icon[icon='cr:warning'] {
1139 color: rgb(255, 193, 7); 1131 color: rgb(221, 67, 48);
1140 }
1141
1142 #danger-icon[icon='downloads:remove-circle'] {
1143 color: rgb(244, 67, 54);
1144 } 1132 }
1145 1133
1146 #name, #file-link, #url { 1134 #name, #file-link, #url {
1147 max-width: 100%; 1135 max-width: 100%;
1148 } 1136 }
1149 1137
1150 #name, #file-link { 1138 #name, #file-link {
1151 font-weight: 500; 1139 font-weight: 500;
1152 word-break: break-all; 1140 word-break: break-all;
1153 } 1141 }
(...skipping 27 matching lines...) Expand all
1181 1169
1182 #progress, #description:not(:empty), .controls { 1170 #progress, #description:not(:empty), .controls {
1183 margin-top: 16px; 1171 margin-top: 16px;
1184 } 1172 }
1185 1173
1186 .is-active #description { 1174 .is-active #description {
1187 color: #616161; 1175 color: #616161;
1188 } 1176 }
1189 1177
1190 .dangerous #description { 1178 .dangerous #description {
1191 color: rgb(239, 108, 0); 1179 color: rgb(221, 67, 48);
1192 } 1180 }
1193 1181
1194 #progress { 1182 #progress {
1195 --paper-progress-active-color: rgb(54, 126, 237); 1183 --paper-progress-active-color: rgb(54, 126, 237);
1196 --paper-progress-container-color: rgb(223, 222, 223); 1184 --paper-progress-container-color: rgb(223, 222, 223);
1197 width: auto; 1185 width: auto;
1198 } 1186 }
1199 1187
1200 .controls { 1188 .controls {
1201 -webkit-margin-start: -.57em; 1189 -webkit-margin-start: -.57em;
(...skipping 2414 matching lines...) Expand 10 before | Expand all | Expand 10 after
3616 <command id="undo-command" shortcut="Meta|z"></command> 3604 <command id="undo-command" shortcut="Meta|z"></command>
3617 <command id="find-command" shortcut="Meta|f"></command> 3605 <command id="find-command" shortcut="Meta|f"></command>
3618 </if> 3606 </if>
3619 <if expr="not is_macosx"> 3607 <if expr="not is_macosx">
3620 <command id="clear-all-command" shortcut="Alt|c"></command> 3608 <command id="clear-all-command" shortcut="Alt|c"></command>
3621 <command id="undo-command" shortcut="Ctrl|z"></command> 3609 <command id="undo-command" shortcut="Ctrl|z"></command>
3622 <command id="find-command" shortcut="Ctrl|f"></command> 3610 <command id="find-command" shortcut="Ctrl|f"></command>
3623 </if> 3611 </if>
3624 <link rel="import" href="chrome://resources/html/polymer.html"> 3612 <link rel="import" href="chrome://resources/html/polymer.html">
3625 <script src="crisper.js"></script></body></html> 3613 <script src="crisper.js"></script></body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698