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

Side by Side Diff: chrome/browser/resources/file_manager/css/action_choice.css

Issue 10918271: [filemanager] Improved action choices for a mounted drive. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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) 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 .action-choice { 5 .action-choice {
6 -webkit-box-align: center; 6 -webkit-box-align: center;
7 -webkit-box-orient: vertical; 7 -webkit-box-orient: vertical;
8 -webkit-user-select: none; 8 -webkit-user-select: none;
9 background: white; 9 background: white;
10 bottom: 0; 10 bottom: 0;
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 display: -webkit-box; 82 display: -webkit-box;
83 margin: 20px 0; 83 margin: 20px 0;
84 } 84 }
85 85
86 .choices > div > * { 86 .choices > div > * {
87 display: block; 87 display: block;
88 margin: 0 3px; 88 margin: 0 3px;
89 } 89 }
90 90
91 .choices label[for=import-photos-to-drive] { 91 .choices label[for=import-photos-to-drive] {
92 /* TODO(dgozman): change to the right one */ 92 background: -webkit-image-set(
93 background: 93 url('chrome://theme/IDR_FILE_MANAGER_IMG_FILETYPE_DRIVE') 1x,
94 url('chrome://theme/IDR_FILE_MANAGER_IMG_FILETYPE_GSHEET') no-repeat; 94 url('chrome://theme/IDR_FILE_MANAGER_IMG_FILETYPE_DRIVE@2x') 2x) no-repeat;
95 padding-left: 20px; 95 padding-left: 20px;
96 } 96 }
97 97
98 .choices label[for=view-files] { 98 .choices label[for=view-files] {
99 /* TODO(dgozman): change to the right one */ 99 background: url(../images/icon16.png) no-repeat;
Vladislav Kaznacheev 2012/09/18 11:41:49 Don't we have 2x for this icon as well?
dgozman 2012/09/18 11:42:34 We only have 16 and 128.
100 background: 100 padding-left: 20px;
101 url('chrome://theme/IDR_FILE_MANAGER_IMG_FILETYPE_GDOC') no-repeat; 101 }
102
103 .choices label[for=watch-single-video] {
104 background: -webkit-image-set(
105 url('chrome://theme/IDR_FILE_MANAGER_IMG_FILETYPE_VIDEO') 1x,
106 url('chrome://theme/IDR_FILE_MANAGER_IMG_FILETYPE_VIDEO@2x') 2x) no-repeat;
102 padding-left: 20px; 107 padding-left: 20px;
103 } 108 }
104 109
105 .footer { 110 .footer {
106 -webkit-box-orient: horizontal; 111 -webkit-box-orient: horizontal;
107 -webkit-box-pack: end; 112 -webkit-box-pack: end;
108 bottom: 10px; 113 bottom: 10px;
109 display: -webkit-box; 114 display: -webkit-box;
110 left: 10px; 115 left: 10px;
111 padding-bottom: 5px; 116 padding-bottom: 5px;
112 position: absolute; 117 position: absolute;
113 right: 10px; 118 right: 10px;
114 } 119 }
115 120
116 .footer button { 121 .footer button {
117 height: 24px; 122 height: 24px;
118 margin-left: 10px; 123 margin-left: 10px;
119 min-width: 80px; 124 min-width: 80px;
120 } 125 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/file_manager/action_choice.html ('k') | chrome/browser/resources/file_manager/js/action_choice.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698