OLD | NEW |
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 |
11 .disabled-link { | 11 .disabled-link { |
12 color: #999; | 12 color: #999; |
13 text-decoration: none; | 13 text-decoration: none; |
14 } | 14 } |
15 | 15 |
16 #downloads-actions > a, | 16 #downloads-actions > a, |
17 #downloads-actions > .disabled-link { | 17 #downloads-actions > .disabled-link { |
18 -webkit-margin-start: 10px; | 18 -webkit-margin-start: 10px; |
19 } | 19 } |
20 | 20 |
21 #downloads-actions > a:first-child { | 21 #downloads-actions > a:first-child { |
22 -webkit-margin-start: 0; | 22 -webkit-margin-start: 0; |
23 } | 23 } |
24 | 24 |
25 #open-downloads-folder { | 25 #open-downloads-folder { |
26 -webkit-margin-end: 16px; | 26 -webkit-margin-end: 16px; |
27 } | 27 } |
28 | 28 |
29 #downloads-display { | 29 #downloads-display, |
| 30 #no-downloads-or-results { |
30 max-width: 740px; | 31 max-width: 740px; |
31 padding: 0 10px 34px; | 32 padding: 0 10px 34px; |
32 } | 33 } |
33 | 34 |
34 .download { | 35 .download { |
35 -webkit-margin-start: 114px; | 36 -webkit-margin-start: 114px; |
36 -webkit-padding-start: 56px; | 37 -webkit-padding-start: 52px; |
37 margin-bottom: 15px; | 38 margin-bottom: 15px; |
| 39 position: relative; |
| 40 } |
| 41 |
| 42 .download, |
| 43 #no-downloads-or-results { |
38 margin-top: 6px; | 44 margin-top: 6px; |
39 position: relative; | |
40 } | 45 } |
41 | 46 |
42 .date-container { | 47 .date-container { |
43 left: -110px; | 48 left: -110px; |
44 position: absolute; | 49 position: absolute; |
45 width: 110px; | 50 width: 110px; |
46 } | 51 } |
47 | 52 |
48 html[dir=rtl] .date-container { | 53 html[dir=rtl] .date-container { |
49 left: auto; | 54 left: auto; |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 html[dir=rtl] .progress { | 109 html[dir=rtl] .progress { |
105 left: auto; | 110 left: auto; |
106 right: 0; | 111 right: 0; |
107 } | 112 } |
108 | 113 |
109 .progress.background { | 114 .progress.background { |
110 background: url('chrome://theme/IDR_DOWNLOAD_PROGRESS_BACKGROUND_32'); | 115 background: url('chrome://theme/IDR_DOWNLOAD_PROGRESS_BACKGROUND_32'); |
111 background-size: 48px; | 116 background-size: 48px; |
112 } | 117 } |
113 | 118 |
| 119 .name, |
| 120 .src-url, |
| 121 .controls a { |
| 122 -webkit-padding-end: 4px; |
| 123 -webkit-padding-start: 4px; |
| 124 } |
| 125 |
114 .name { | 126 .name { |
115 -webkit-padding-end: 16px; | 127 -webkit-padding-end: 16px; |
116 display: none; | 128 display: none; |
117 max-width: 450px; | 129 max-width: 450px; |
118 word-break: break-all; | 130 word-break: break-all; |
119 } | 131 } |
120 | 132 |
121 .interrupted { | 133 .interrupted { |
122 color: red; | 134 color: red; |
123 } | 135 } |
124 | 136 |
125 .download .status { | 137 .download .status { |
126 color: #999; | 138 color: #999; |
127 white-space: nowrap; | 139 white-space: nowrap; |
128 } | 140 } |
129 | 141 |
130 .download .src-url { | 142 .download .src-url { |
131 color: rgb(85, 102, 221); | 143 color: rgb(85, 102, 221); |
132 display: inline-block; | 144 display: inline-block; |
133 max-width: 500px; | 145 max-width: 500px; |
134 overflow: hidden; | 146 overflow: hidden; |
135 padding-bottom: 1px; | 147 padding-bottom: 1px; |
136 padding-top: 4px; | 148 padding-top: 4px; |
137 text-decoration: none; | 149 text-decoration: none; |
138 text-overflow: ellipsis; | 150 text-overflow: ellipsis; |
139 white-space: nowrap; | 151 white-space: nowrap; |
140 } | 152 } |
141 | 153 |
142 .controls a { | 154 .controls a { |
143 -webkit-margin-end: 16px; | 155 -webkit-margin-end: 12px; |
144 color: #777; | 156 color: #777; |
145 } | 157 } |
146 | 158 |
147 #downloads-pagination { | 159 #downloads-pagination { |
148 -webkit-margin-start: 18px; | 160 -webkit-margin-start: 18px; |
149 padding-top: 24px; | 161 padding-top: 24px; |
150 } | 162 } |
OLD | NEW |