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

Side by Side Diff: ui/file_manager/file_manager/foreground/css/file_manager.css

Issue 928353002: Files.app: Update toolbar layout and icons on it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unintentionally added file. Created 5 years, 10 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) 2014 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2014 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 /* Special attribute used in HTML to hide elements. */ 5 /* Special attribute used in HTML to hide elements. */
6 body[type='folder'] [invisibleif~='folder'], 6 body[type='folder'] [invisibleif~='folder'],
7 body[type='upload-folder'] [invisibleif~='upload-folder'], 7 body[type='upload-folder'] [invisibleif~='upload-folder'],
8 body[type='saveas-file'] [invisibleif~='saveas-file'], 8 body[type='saveas-file'] [invisibleif~='saveas-file'],
9 body[type='open-file'] [invisibleif~='open-file'], 9 body[type='open-file'] [invisibleif~='open-file'],
10 body[type='open-multi-file'] [invisibleif~='open-multi-file'], 10 body[type='open-multi-file'] [invisibleif~='open-multi-file'],
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 color: white; 275 color: white;
276 } 276 }
277 277
278 body.selecting button, 278 body.selecting button,
279 body.selecting button:hover { 279 body.selecting button:hover {
280 color: rgb(90, 90, 90); 280 color: rgb(90, 90, 90);
281 } 281 }
282 282
283 .dialog-header .icon-button { 283 .dialog-header .icon-button {
284 -webkit-margin-end: 4px; 284 -webkit-margin-end: 4px;
285 -webkit-margin-start: 0; 285 -webkit-margin-start: 12px;
286 background: transparent; 286 background-color: transparent;
287 background-position: center;
288 background-repeat: no-repeat;
289 background-size: 16px 16px;
287 border: 0; 290 border: 0;
291 border-radius: 16px;
288 height: 32px; 292 height: 32px;
289 line-height: 16px; 293 line-height: 16px;
290 min-width: 32px; 294 min-width: 32px;
291 padding: 0; 295 padding: 0;
292 width: 32px; 296 width: 32px;
293 } 297 }
294 298
299 .dialog-header .icon-button paper-ripple {
300 color: black;
301 }
302
303 body.selecting .dialog-header .icon-button paper-ripple {
304 rgb(90, 90, 90);
305 }
306
295 .dialog-header .icon-button:hover, 307 .dialog-header .icon-button:hover,
296 .dialog-header .icon-button:focus, 308 .dialog-header .icon-button:focus,
297 .dialog-header .combobutton:hover, 309 .dialog-header .combobutton:hover,
298 .dialog-header .combobutton:focus { 310 .dialog-header .combobutton:focus {
299 background: rgba(204, 204, 204, 0.20); 311 background-color: rgba(90, 90, 90, 0.15);
300 } 312 }
301 313
302 body.selecting .dialog-header .icon-button:hover, 314 body.selecting .dialog-header .icon-button:hover,
303 body.selecting .dialog-header .icon-button:focus, 315 body.selecting .dialog-header .icon-button:focus,
304 body.selecting .dialog-header .combobutton:hover, 316 body.selecting .dialog-header .combobutton:hover,
305 body.selecting .dialog-header .combobutton:focus { 317 body.selecting .dialog-header .combobutton:focus {
306 background: rgba(153, 153, 153, 0.20); 318 background-color: rgba(153, 153, 153, 0.20);
307 } 319 }
308 320
309 .dialog-header .icon-button[disabled]:not(.manual-display) { 321 .dialog-header .icon-button[disabled]:not(.manual-display) {
310 display: none !important; 322 display: none !important;
311 } 323 }
312 324
313 .dialog-header core-icon { 325 .dialog-header core-icon,
326 .dialog-header .icon {
314 height: 16px; 327 height: 16px;
315 width: 16px; 328 width: 16px;
316 } 329 }
317 330
318 .dialog-header paper-button::shadow > .button-content { 331 .dialog-header paper-button::shadow > .button-content {
319 padding: 8px; 332 padding: 8px;
320 } 333 }
321 334
322 .dialog-header button.icon-button { 335 .dialog-header button.icon-button {
323 -webkit-app-region: no-drag; 336 -webkit-app-region: no-drag;
324 background-color: transparent; 337 background-color: transparent;
325 background-image: none; 338 background-image: none;
326 background-position: center; 339 background-position: center;
327 background-repeat: no-repeat; 340 background-repeat: no-repeat;
328 border: 0; 341 border: 0;
329 box-shadow: none; 342 box-shadow: none;
330 display: block; 343 display: block;
331 height: 32px; 344 height: 32px;
332 min-width: 0; 345 min-width: 0;
333 outline: none; 346 outline: none;
334 padding: 0; 347 padding: 0;
335 width: 32px; 348 width: 32px;
336 } 349 }
337 350
338 .dialog-header button.icon-button > core-icon { 351 .dialog-header button.icon-button > core-icon {
339 margin: 8px; 352 margin: 8px;
340 } 353 }
341 354
355 #search-button {
356 background-image: -webkit-image-set(
357 url(../images/files/ui/search_white.png) 1x,
358 url(../images/files/ui/2x/search_white.png) 2x);
359 }
360
361 body.selecting #search-button {
362 background-image: -webkit-image-set(
363 url(../images/files/ui/search.png) 1x,
364 url(../images/files/ui/2x/search.png) 2x);
365 }
366
367 #share-button {
368 background-image: -webkit-image-set(
369 url(../images/files/ui/share_white.png) 1x,
370 url(../images/files/ui/2x/share_white.png) 2x);
371 }
372
373 body.selecting #share-button {
374 background-image: -webkit-image-set(
375 url(../images/files/ui/share.png) 1x,
376 url(../images/files/ui/2x/share.png) 2x);
377 }
378
379 #delete-button {
380 background-image: -webkit-image-set(
381 url(../images/files/ui/delete_white.png) 1x,
382 url(../images/files/ui/2x/delete_white.png) 2x);
383 }
384
385 body.selecting #delete-button {
386 background-image: -webkit-image-set(
387 url(../images/files/ui/delete.png) 1x,
388 url(../images/files/ui/2x/delete.png) 2x);
389 }
390
391 #view-button {
392 background-image: -webkit-image-set(
393 url(../images/files/ui/view_list_white.png) 1x,
394 url(../images/files/ui/2x/view_list_white.png) 2x);
395 }
396
397 body.selecting #view-button {
398 background-image: -webkit-image-set(
399 url(../images/files/ui/view_list.png) 1x,
400 url(../images/files/ui/2x/view_list.png) 2x);
401 }
402
403 #view-button.thumbnail {
404 background-image: -webkit-image-set(
405 url(../images/files/ui/view_thumbnail_white.png) 1x,
406 url(../images/files/ui/2x/view_thumbnail_white.png) 2x);
407 }
408
409 body.selecting #view-button.thumbnail {
410 background-image: -webkit-image-set(
411 url(../images/files/ui/view_thumbnail.png) 1x,
412 url(../images/files/ui/2x/view_thumbnail.png) 2x);
413 }
414
415 #gear-button {
416 background-image: -webkit-image-set(
417 url(../images/files/ui/menu_white.png) 1x,
418 url(../images/files/ui/2x/menu_white.png) 2x);
419 }
420
421 body.selecting #gear-button {
422 background-image: -webkit-image-set(
423 url(../images/files/ui/menu.png) 1x,
424 url(../images/files/ui/2x/menu.png) 2x);
425 }
426
342 #cloud-import-details-button { 427 #cloud-import-details-button {
343 margin-left: -15px; 428 margin-left: -15px;
344 } 429 }
345 430
346 #cloud-import-details { 431 #cloud-import-details {
347 background-color: white; 432 background-color: white;
348 border-radius: 4px; 433 border-radius: 4px;
349 box-shadow: 2px 2px 6px #555555; 434 box-shadow: 2px 2px 6px #555555;
350 line-height: 1.5em; 435 line-height: 1.5em;
351 position: absolute; 436 position: absolute;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 #files-selected-label { 504 #files-selected-label {
420 display: none; 505 display: none;
421 margin: 0 10px; 506 margin: 0 10px;
422 } 507 }
423 508
424 body.selecting #files-selected-label { 509 body.selecting #files-selected-label {
425 display: block; 510 display: block;
426 } 511 }
427 512
428 #cancel-selection-button { 513 #cancel-selection-button {
514 margin: 0 8px;
429 text-transform: none; 515 text-transform: none;
430 display: none 516 display: none
yawano 2015/02/17 09:36:04 Order should be display < margin.
fukino 2015/02/17 09:57:25 Done.
431 } 517 }
432 518
519 #cancel-selection-button .icon-arrow-back {
520 -webkit-margin-end: 8px;
521 background-image: -webkit-image-set(
522 url(../images/files/ui/back.png) 1x,
523 url(../images/files/ui/2x/back.png) 2x);
524 background-position: center;
525 background-repeat: no-repeat;
526 height: 16px;
527 width: 16px;
528 }
529
433 #cancel-selection-button-wrapper { 530 #cancel-selection-button-wrapper {
434 width: 240px; /* initial value, same as .dialog-navigation-list's width. */ 531 width: 240px; /* initial value, same as .dialog-navigation-list's width. */
435 } 532 }
436 533
437 #cancel-selection-button > core-icon { 534 #cancel-selection-button > core-icon {
438 -webkit-margin-end: 6px; 535 -webkit-margin-end: 6px;
439 } 536 }
440 537
441 body.selecting #cancel-selection-button { 538 body.selecting #cancel-selection-button {
442 display: inline-block; 539 display: inline-block;
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
615 white-space: nowrap; 712 white-space: nowrap;
616 } 713 }
617 714
618 /* The final breadcrumb, representing the current directory. */ 715 /* The final breadcrumb, representing the current directory. */
619 .breadcrumb-path.breadcrumb-last { 716 .breadcrumb-path.breadcrumb-last {
620 cursor: default; 717 cursor: default;
621 } 718 }
622 719
623 /* The > arrow between breadcrumbs. */ 720 /* The > arrow between breadcrumbs. */
624 .breadcrumbs .separator { 721 .breadcrumbs .separator {
722 background-image: -webkit-image-set(
723 url(../images/files/ui/arrow_right_white.png) 1x,
724 url(../images/files/ui/2x/arrow_right_white.png) 2x);
625 height: 16px; 725 height: 16px;
726 margin: 0 5px;
626 width: 16px; 727 width: 16px;
627 } 728 }
628 729
629 html[dir='rtl'] .breadcrumbs .separator { 730 html[dir='rtl'] .breadcrumbs .separator {
630 -webkit-transform: scaleX(-1); 731 -webkit-transform: scaleX(-1);
631 } 732 }
632 733
633 #filename-input-box input { 734 #filename-input-box input {
634 border: 1px solid #c8c8c8; 735 border: 1px solid #c8c8c8;
635 border-radius: 1px; 736 border-radius: 1px;
(...skipping 1192 matching lines...) Expand 10 before | Expand all | Expand 10 after
1828 padding: 20px 15px; 1929 padding: 20px 15px;
1829 } 1930 }
1830 1931
1831 .text-measure { 1932 .text-measure {
1832 pointer-events: none; 1933 pointer-events: none;
1833 position: absolute; 1934 position: absolute;
1834 top: 0; 1935 top: 0;
1835 visibility: hidden; 1936 visibility: hidden;
1836 z-index: -1; 1937 z-index: -1;
1837 } 1938 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698