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

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

Issue 363873002: Gallery.app: Add buttons to the cropping mode to specifying the aspect ratio. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed Created 6 years, 5 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) 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-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 820 matching lines...) Expand 10 before | Expand all | Expand 10 after
831 display: none; 831 display: none;
832 } 832 }
833 833
834 .gallery .edit-modal-wrapper { 834 .gallery .edit-modal-wrapper {
835 -webkit-box-align: center; 835 -webkit-box-align: center;
836 -webkit-box-orient: horizontal; 836 -webkit-box-orient: horizontal;
837 -webkit-box-pack: center; 837 -webkit-box-pack: center;
838 background-color: rgba(0, 0, 0, 0.75); 838 background-color: rgba(0, 0, 0, 0.75);
839 color: white; 839 color: white;
840 display: -webkit-box; 840 display: -webkit-box;
841 padding-right: 5px;
842 pointer-events: auto; 841 pointer-events: auto;
843 } 842 }
844 843
845 .gallery .edit-modal .label { 844 .gallery .edit-modal .label {
846 -webkit-box-align: center; 845 -webkit-box-align: center;
847 -webkit-box-orient: horizontal; 846 -webkit-box-orient: horizontal;
848 background-position: 20px center; 847 background-position: 20px center;
849 background-repeat: no-repeat; 848 background-repeat: no-repeat;
850 display: -webkit-box; 849 display: -webkit-box;
851 height: 20px; 850 height: 20px;
852 padding-left: 50px; 851 padding-left: 50px;
853 padding-right: 10px; 852 padding-right: 10px;
854 } 853 }
855 854
856 .gallery .edit-modal .label.brightness { 855 .gallery .edit-modal .label.brightness {
857 background-image: -webkit-image-set( 856 background-image: -webkit-image-set(
858 url(../images/100/icon_brightness.png) 1x, 857 url(../images/100/icon_brightness.png) 1x,
859 url(../images/200/icon_brightness.png) 2x); 858 url(../images/200/icon_brightness.png) 2x);
860 } 859 }
861 860
862 .gallery .edit-modal .label.contrast { 861 .gallery .edit-modal .label.contrast {
863 background-image: -webkit-image-set( 862 background-image: -webkit-image-set(
864 url(../images/100/icon_contrast.png) 1x, 863 url(../images/100/icon_contrast.png) 1x,
865 url(../images/200/icon_contrast.png) 2x); 864 url(../images/200/icon_contrast.png) 2x);
866 height: 24px; 865 height: 24px;
867 margin-left: 15px; 866 margin-left: 15px;
868 } 867 }
869 868
869 .gallery .edit-modal button {
870 background: transparent;
871 border: 0 none;
872 border-image: none;
873 box-sizing: border-box;
874 color: #fff;
875 height: 100%;
876 min-width: 0;
877 padding: 8px 16px;
878 }
879
880 .gallery .edit-modal button * {
881 pointer-events: none;
882 }
883
884 .gallery .edit-modal button:hover {
885 background: #1f1f1f;
886 color: #fff;
887 }
888
889 .gallery .edit-modal button.selected,
890 .gallery .edit-modal button:active {
891 background: #f0f0f0;
892 color: black;
893 }
894
870 .gallery .edit-modal .range { 895 .gallery .edit-modal .range {
871 -webkit-appearance: none !important; 896 -webkit-appearance: none !important;
872 height: 3px; 897 height: 3px;
873 margin-right: 10px; 898 margin-right: 10px;
874 margin-top: 1px; 899 margin-top: 1px;
875 } 900 }
876 901
877 .gallery .edit-modal .range::-webkit-slider-thumb { 902 .gallery .edit-modal .range::-webkit-slider-thumb {
878 -webkit-appearance: none; 903 -webkit-appearance: none;
879 background-image: -webkit-image-set( 904 background-image: -webkit-image-set(
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
1327 url(chrome://resources/images/2x/apps/topbar_button_maximize.png) 2x) 1352 url(chrome://resources/images/2x/apps/topbar_button_maximize.png) 2x)
1328 center; 1353 center;
1329 } 1354 }
1330 1355
1331 .gallery > .header > .close-button { 1356 .gallery > .header > .close-button {
1332 background: -webkit-image-set( 1357 background: -webkit-image-set(
1333 url(chrome://resources/images/apps/topbar_button_close.png) 1x, 1358 url(chrome://resources/images/apps/topbar_button_close.png) 1x,
1334 url(chrome://resources/images/2x/apps/topbar_button_close.png) 2x) 1359 url(chrome://resources/images/2x/apps/topbar_button_close.png) 2x)
1335 center; 1360 center;
1336 } 1361 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698