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 body { | 5 body { |
6 -webkit-user-select: none; | 6 -webkit-user-select: none; |
7 font-family: Open Sans, Droid Sans Fallback, sans-serif; | 7 font-family: Open Sans, Droid Sans Fallback, sans-serif; |
8 font-size: 84%; | 8 font-size: 84%; |
9 margin: 0; | 9 margin: 0; |
10 } | 10 } |
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
592 width: 40px; | 592 width: 40px; |
593 z-index: 10; | 593 z-index: 10; |
594 } | 594 } |
595 | 595 |
596 /* By default, labels are hidden. */ | 596 /* By default, labels are hidden. */ |
597 .gallery > .toolbar button span { | 597 .gallery > .toolbar button span { |
598 display: none; | 598 display: none; |
599 } | 599 } |
600 | 600 |
601 /* Show labels if there is enough space. */ | 601 /* Show labels if there is enough space. */ |
602 @media (min-width: 1000px) { | 602 @media (min-width: 1050px) { |
603 | 603 |
604 .gallery .edit-main button { | 604 body .gallery .edit-main button { |
605 background-position: 5px center; | 605 background-position: 5px center; |
606 min-width: 0; /* Reset. */ | 606 min-width: 0; /* Reset. */ |
607 padding: 0 10px 0 35px; | 607 padding: 0 10px 0 35px; |
608 width: auto; | 608 width: auto; |
609 } | 609 } |
610 | 610 |
611 .gallery > .toolbar button span { | 611 body .gallery > .toolbar button span { |
612 display: inline; | 612 display: inline; |
613 } | 613 } |
614 | 614 |
615 } | 615 } |
616 | 616 |
617 .gallery > .toolbar button:hover { | 617 .gallery > .toolbar button:hover { |
618 background-color: rgba(31, 31, 31, 1); | 618 background-color: rgba(31, 31, 31, 1); |
619 color: white; | 619 color: white; |
620 } | 620 } |
621 | 621 |
(...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1338 url('../images/gallery/slideshow-pause.png') 1x, | 1338 url('../images/gallery/slideshow-pause.png') 1x, |
1339 url('../images/gallery/2x/slideshow-pause.png') 2x); | 1339 url('../images/gallery/2x/slideshow-pause.png') 2x); |
1340 } | 1340 } |
1341 | 1341 |
1342 .slideshow-toolbar > .slideshow-end { | 1342 .slideshow-toolbar > .slideshow-end { |
1343 background-image: -webkit-image-set( | 1343 background-image: -webkit-image-set( |
1344 url('../images/gallery/slideshow-end.png') 1x, | 1344 url('../images/gallery/slideshow-end.png') 1x, |
1345 url('../images/gallery/2x/slideshow-end.png') 2x); | 1345 url('../images/gallery/2x/slideshow-end.png') 2x); |
1346 margin-left: -2px; | 1346 margin-left: -2px; |
1347 } | 1347 } |
OLD | NEW |