| OLD | NEW |
| 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 body { | 5 body { |
| 6 -webkit-user-select: none; | 6 -webkit-user-select: none; |
| 7 font-size: 84%; | 7 font-size: 84%; |
| 8 margin: 0; | 8 margin: 0; |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 567 overflow: visible; | 567 overflow: visible; |
| 568 } | 568 } |
| 569 | 569 |
| 570 .gallery[editing] .edit-bar-spacer { | 570 .gallery[editing] .edit-bar-spacer { |
| 571 opacity: 1.0; | 571 opacity: 1.0; |
| 572 pointer-events: auto; | 572 pointer-events: auto; |
| 573 transition-delay: 100ms, 100ms; | 573 transition-delay: 100ms, 100ms; |
| 574 visibility: visible; | 574 visibility: visible; |
| 575 } | 575 } |
| 576 | 576 |
| 577 .gallery > .toolbar paper-button { | 577 .gallery > .toolbar paper-button, |
| 578 .gallery > .toolbar button { |
| 578 background-position: center; | 579 background-position: center; |
| 579 background-repeat: no-repeat; | 580 background-repeat: no-repeat; |
| 580 height: 32px; | 581 height: 32px; |
| 581 margin: 0 8px; | 582 margin: 0 8px; |
| 582 min-width: 32px; | 583 min-width: 32px; |
| 583 width: 32px; | 584 width: 32px; |
| 584 } | 585 } |
| 585 | 586 |
| 587 .gallery > .toolbar button { |
| 588 background-color: transparent; |
| 589 border: 0; |
| 590 padding: 0; |
| 591 position: relative; |
| 592 } |
| 593 |
| 594 .gallery > .toolbar button > .icon { |
| 595 background-position: center; |
| 596 background-repeat: no-repeat; |
| 597 height: 100%; |
| 598 position: relative; |
| 599 width: 100%; |
| 600 z-index: 2; |
| 601 } |
| 602 |
| 603 .gallery > .toolbar button > files-toggle-ripple { |
| 604 position: absolute; |
| 605 top: 0; |
| 606 z-index: 1; |
| 607 } |
| 608 |
| 586 .gallery > .toolbar paper-button:focus { | 609 .gallery > .toolbar paper-button:focus { |
| 587 background-color: rgba(0, 0, 0, 0.3); | 610 background-color: rgba(0, 0, 0, 0.3); |
| 588 } | 611 } |
| 589 | 612 |
| 590 .gallery > .toolbar paper-button.edit { | 613 .gallery > .toolbar button.edit > .icon { |
| 591 background-image: -webkit-image-set( | 614 background-image: -webkit-image-set( |
| 592 url(../images/100/edit.png) 1x, | 615 url(../images/100/edit.png) 1x, |
| 593 url(../images/200/edit.png) 2x); | 616 url(../images/200/edit.png) 2x); |
| 594 } | 617 } |
| 595 | 618 |
| 596 .gallery > .toolbar paper-button.print { | 619 .gallery > .toolbar paper-button.print { |
| 597 background-image: -webkit-image-set( | 620 background-image: -webkit-image-set( |
| 598 url(../images/100/print.png) 1x, | 621 url(../images/100/print.png) 1x, |
| 599 url(../images/200/print.png) 2x); | 622 url(../images/200/print.png) 2x); |
| 600 } | 623 } |
| (...skipping 26 matching lines...) Expand all Loading... |
| 627 background-image: -webkit-image-set( | 650 background-image: -webkit-image-set( |
| 628 url(../images/100/share.png) 1x, | 651 url(../images/100/share.png) 1x, |
| 629 url(../images/200/share.png) 2x); | 652 url(../images/200/share.png) 2x); |
| 630 } | 653 } |
| 631 | 654 |
| 632 .gallery[editing] > .toolbar paper-button.edit { | 655 .gallery[editing] > .toolbar paper-button.edit { |
| 633 opacity: 0.5; | 656 opacity: 0.5; |
| 634 pointer-events: none; | 657 pointer-events: none; |
| 635 } | 658 } |
| 636 | 659 |
| 637 .gallery:not([editing])[mode='slide'] > .toolbar .button.slide-mode, | 660 .gallery:not([editing])[mode='slide'] > paper-button.slide-mode, |
| 638 .gallery:not([editing])[mode='thumbnail'] > .toolbar .button.thumbnail-mode, | 661 .gallery:not([editing])[mode='thumbnail'] > paper-button.thumbnail-mode, |
| 639 .gallery[editing][mode='slide'] > .toolbar .button.thumbnail-mode, | 662 .gallery[editing][mode='slide'] > paper-button.thumbnail-mode, |
| 640 .gallery > .toolbar paper-button[disabled] { | 663 paper-button[disabled], |
| 664 button[disabled] { |
| 641 display: none; | 665 display: none; |
| 642 } | 666 } |
| 643 | 667 |
| 644 /* Button in edit toolbar. */ | 668 /* Button in edit toolbar. */ |
| 645 button.edit-toolbar, | 669 button.edit-toolbar, |
| 646 button.edit-toolbar[disabled] { | 670 button.edit-toolbar[disabled] { |
| 647 background-color: rgba(0, 0, 0, 0); | 671 background-color: rgba(0, 0, 0, 0); |
| 648 background-position: center; | 672 background-position: center; |
| 649 background-repeat: no-repeat; | 673 background-repeat: no-repeat; |
| 650 border: none; | 674 border: none; |
| (...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1422 .thumbnail-view .animation-thumbnail { | 1446 .thumbnail-view .animation-thumbnail { |
| 1423 background-repeat: no-repeat; | 1447 background-repeat: no-repeat; |
| 1424 background-size: cover; | 1448 background-size: cover; |
| 1425 display: none; | 1449 display: none; |
| 1426 position: absolute; | 1450 position: absolute; |
| 1427 } | 1451 } |
| 1428 | 1452 |
| 1429 .thumbnail-view .animation-thumbnail.animating { | 1453 .thumbnail-view .animation-thumbnail.animating { |
| 1430 display: block; | 1454 display: block; |
| 1431 } | 1455 } |
| OLD | NEW |