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

Side by Side Diff: chrome/browser/resources/chromeos/wallpaper_manager/css/wallpaper_manager.css

Issue 12042095: Move wallpaper progress bar on top of thumbnails (completely remove butter bar) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Please review this patch Created 7 years, 11 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 | Annotate | Revision Log
OLDNEW
1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2013 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 html { 5 html {
6 height: 100%; 6 height: 100%;
7 } 7 }
8 8
9 body { 9 body {
10 background-color: rgba(20, 20, 20, 0.93); 10 background-color: rgba(20, 20, 20, 0.93);
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 position: relative; 145 position: relative;
146 width: 108px; 146 width: 108px;
147 } 147 }
148 148
149 .image-picker [role=listitem]:hover { 149 .image-picker [role=listitem]:hover {
150 outline: 3px solid #f1f1f1; 150 outline: 3px solid #f1f1f1;
151 z-index: 1; 151 z-index: 1;
152 } 152 }
153 153
154 .image-picker .check { 154 .image-picker .check {
155 background-image: url('../images/ui/check.png');
156 height: 15px;
155 left: 3px; 157 left: 3px;
156 position: absolute; 158 position: absolute;
157 top: 49px; 159 top: 49px;
158 }
159
160 .image-picker [active] .check {
161 background-image: url('../images/ui/check.png');
162 height: 15px;
163 width: 20px; 160 width: 20px;
164 z-index: 3; 161 z-index: 3;
165 } 162 }
166 163
167
168 ::-webkit-scrollbar { 164 ::-webkit-scrollbar {
169 width: 6px; 165 width: 6px;
170 } 166 }
171 167
172 ::-webkit-scrollbar-thumb { 168 ::-webkit-scrollbar-thumb {
173 background: #aaa; 169 background: #aaa;
174 } 170 }
175 171
176 ::-webkit-scrollbar-thumb:hover { 172 ::-webkit-scrollbar-thumb:hover {
177 background: #888; 173 background: #888;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 -webkit-box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); 223 -webkit-box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
228 height: 80px; 224 height: 80px;
229 width: 128px; 225 width: 128px;
230 } 226 }
231 227
232 /* [hidden] does display:none, but its priority is too low. */ 228 /* [hidden] does display:none, but its priority is too low. */
233 [hidden] { 229 [hidden] {
234 display: none !important; 230 display: none !important;
235 } 231 }
236 232
237 /* The butter bar styles are copied from file_manager.css. We will revisit 233 .progress-bar {
238 * it to see if we can share some code after butter bar is integrated with 234 background-color: rgba(255, 255, 255, 0.7);
239 * Photo Editor. 235 height: 6px;
240 * See http://codereview.chromium.org/10916149/ for details.
241 */
242 /* TODO(bshe): Remove these styles if we can share code with file manager. */
243 #butter-bar-container {
244 -webkit-box-pack: center;
245 display: -webkit-box;
246 left: 0;
247 pointer-events: none;
248 position: absolute; 236 position: absolute;
249 top: 0; 237 top: 62px;
250 width: 100%; 238 width: 100%;
251 z-index: 3;
252 }
253
254 #butter-bar {
255 -webkit-box-align: end;
256 -webkit-box-orient: horizontal;
257 -webkit-transition: opacity 300ms;
258 background-color: #e3e3e3;
259 color: #222;
260 display: -webkit-box;
261 max-width: 340px;
262 min-width: 40px;
263 padding: 0 1em;
264 pointer-events: auto;
265 top: 1px;
266 width: 30%;
267 z-index: 2;
268 }
269
270 #butter-bar:not(.visible) {
271 opacity: 0;
272 pointer-events: none;
273 }
274
275 #butter-bar .content {
276 -webkit-box-flex: 1;
277 overflow: hidden;
278 padding-bottom: 4px;
279 padding-top: 4px;
280 }
281
282 #butter-bar .actions {
283 -webkit-box-orient: horizontal;
284 -webkit-box-pack: end;
285 display: -webkit-box;
286 height: 20px;
287 }
288
289 #butter-bar .actions a {
290 background: center center no-repeat;
291 background-image: -webkit-image-set(
292 url('../images/ui/close_bar.png') 1x,
293 url('../images/ui/2x/close_bar.png') 2x);
294 display: inline-block;
295 height: 12px;
296 padding: 4px 2px;
297 width: 12px;
298 }
299
300 #butter-bar .actions a:first-child {
301 margin-left: 2px;
302 }
303
304 #butter-bar .actions a:last-child {
305 margin-right: -2px; /* Overlap the padding with butter-bar padding. */
306 }
307
308 #butter-bar.error {
309 background-color: rgb(236, 207, 203);
310 border: 1px solid rgba(221, 75, 57, 0.5);
311 border-radius: 2px;
312 padding: 2px 1em;
313 }
314
315 .progress-bar {
316 -webkit-box-flex: 1;
317 border: 1px solid #999;
318 margin-bottom: 2px;
319 margin-top: 3px;
320 padding: 1px;
321 } 239 }
322 240
323 .progress-track { 241 .progress-track {
324 -webkit-animation-duration: 800ms; 242 -webkit-transition: width 1ms linear;
325 -webkit-animation-iteration-count: infinite; 243 background-color: rgb(78, 87, 100);
326 -webkit-animation-name: bg; 244 height: 100%;
327 -webkit-animation-timing-function: linear; 245 width: 0;
328 background-color: #ccc;
329 background-image: -webkit-linear-gradient(315deg, transparent,
330 transparent 33%, rgba(0, 0, 0, 0.12) 33%, rgba(0, 0, 0, 0.12) 66%,
331 transparent 66%, transparent);
332 background-position: 0 0;
333 background-repeat: repeat-x;
334 background-size: 16px 8px;
335 height: 5px;
336 } 246 }
337
338 @-webkit-keyframes bg {
339 0% { background-position: 0 0; }
340 100% { background-position: -16px 0; }
341 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698