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

Side by Side Diff: chrome/browser/resources/downloads/downloads.css

Issue 977473002: downloads: break downloads.js into more classes/files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: thestig@ review Created 5 years, 9 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
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 <include src="../search_header.css"> 5 <include src="../search_header.css">
6 6
7 #downloads-summary-text { 7 #downloads-summary-text {
8 font-weight: bold; 8 font-weight: bold;
9 } 9 }
10 10
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 html[dir=rtl] .download.otr > .safe, 77 html[dir=rtl] .download.otr > .safe,
78 html[dir=rtl] .download.otr > .show-dangerous { 78 html[dir=rtl] .download.otr > .show-dangerous {
79 background-position: left bottom; 79 background-position: left bottom;
80 } 80 }
81 81
82 .download.otr > .safe:hover, 82 .download.otr > .safe:hover,
83 .download.otr > .show-dangerous:hover { 83 .download.otr > .show-dangerous:hover {
84 opacity: 1; 84 opacity: 1;
85 } 85 }
86 86
87 .malware-description { 87 .description.malware {
88 color: rgb(196, 42, 23); 88 color: rgb(196, 42, 23);
89 } 89 }
90 90
91 .progress { 91 .progress {
92 height: 48px; 92 height: 48px;
93 left: 0; 93 left: 0;
94 position: absolute; 94 position: absolute;
95 top: -6px; 95 top: -6px;
96 width: 48px; 96 width: 48px;
97 } 97 }
98 98
99 html[dir=rtl] .progress { 99 html[dir=rtl] .progress {
100 left: auto; 100 left: auto;
101 right: 0; 101 right: 0;
102 } 102 }
103 103
104 .progress.background { 104 .progress.background {
105 background: url(chrome://theme/IDR_DOWNLOAD_PROGRESS_BACKGROUND_32); 105 background: url(chrome://theme/IDR_DOWNLOAD_PROGRESS_BACKGROUND_32);
106 background-size: 48px; 106 background-size: 48px;
107 } 107 }
108 108
109 .name, 109 .name,
110 .src-url, 110 .src-url,
111 .controls a { 111 .controls a,
112 .description {
112 -webkit-padding-end: 4px; 113 -webkit-padding-end: 4px;
113 -webkit-padding-start: 4px; 114 -webkit-padding-start: 4px;
114 } 115 }
115 116
116 .name { 117 .name {
117 -webkit-padding-end: 16px; 118 -webkit-padding-end: 16px;
118 display: inline-block; 119 display: inline-block;
119 max-width: 450px; 120 max-width: 450px;
120 word-break: break-all; 121 word-break: break-all;
121 } 122 }
(...skipping 25 matching lines...) Expand all
147 } 148 }
148 149
149 .safe .controls a { 150 .safe .controls a {
150 display: inline; 151 display: inline;
151 } 152 }
152 153
153 #downloads-pagination { 154 #downloads-pagination {
154 -webkit-margin-start: 18px; 155 -webkit-margin-start: 18px;
155 padding-top: 24px; 156 padding-top: 24px;
156 } 157 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/downloads/compiled_resources.gyp ('k') | chrome/browser/resources/downloads/downloads.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698