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

Side by Side Diff: chrome/browser/resources/options2/chromeos/change_picture_options.css

Issue 10805079: [cros] Polishing avatar picker layout. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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
« no previous file with comments | « chrome/browser/resources/chromeos/login/oobe.css ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #change-picture-page .content-area {
6 min-width: 800px;
7 }
8
5 #user-image-grid { 9 #user-image-grid {
6 -webkit-user-drag: none; 10 -webkit-user-drag: none;
7 -webkit-user-select: none; 11 -webkit-user-select: none;
8 display: inline-block; 12 display: inline-block;
9 margin: 10px; 13 margin: 10px;
10 outline: none; 14 outline: none;
11 /* Necessary for correct metrics calculation by grid.js. */ 15 /* Necessary for correct metrics calculation by grid.js. */
12 overflow: hidden; 16 overflow: hidden;
13 padding: 0; 17 padding: 0;
14 width: 562px; 18 width: 538px;
15 } 19 }
16 20
17 #user-image-grid * { 21 #user-image-grid * {
18 margin: 0; 22 margin: 0;
19 padding: 0; 23 padding: 0;
20 } 24 }
21 25
22 #user-image-grid img { 26 #user-image-grid img {
23 background-color: white; 27 background-color: white;
24 height: 64px; 28 height: 64px;
25 vertical-align: middle; 29 vertical-align: middle;
26 width: 64px; 30 width: 64px;
27 } 31 }
28 32
29 #user-image-grid [role=listitem] { 33 #user-image-grid [role=listitem] {
30 border: 1px solid rgba(0, 0, 0, 0.15); 34 border: 1px solid rgba(0, 0, 0, 0.15);
31 border-radius: 4px; 35 border-radius: 4px;
32 display: inline-block; 36 display: inline-block;
33 margin: 10px; 37 margin: 8px;
34 padding: 3px; 38 padding: 3px;
35 } 39 }
36 40
37 #user-image-grid [selected] { 41 #user-image-grid [selected] {
38 border: 2px solid rgb(0, 102, 204); 42 border: 2px solid rgb(0, 102, 204);
39 padding: 2px; 43 padding: 2px;
40 } 44 }
41 45
42 /** 46 /**
43 * #user-image-preview can have the following classes: 47 * #user-image-preview can have the following classes:
44 * .default-image: one of the default images is selected (including the grey 48 * .default-image: one of the default images is selected (including the grey
45 * silhouette); 49 * silhouette);
46 * .profile-image: profile image is selected; 50 * .profile-image: profile image is selected;
47 * .online: camera is streaming video; 51 * .online: camera is streaming video;
48 * .camera: camera (live or photo) is selected; 52 * .camera: camera (live or photo) is selected;
49 * .live: camera is in live mode (no photo taken yet/last photo removed). 53 * .live: camera is in live mode (no photo taken yet/last photo removed).
50 */ 54 */
51 55
52 #user-image-preview { 56 #user-image-preview {
53 border-radius: 4px;
54 display: inline-block; 57 display: inline-block;
55 margin-right: 10px; 58 margin-right: 10px;
56 margin-top: 20px; 59 margin-top: 20px;
57 max-width: 220px; 60 max-width: 220px;
58 vertical-align: top; 61 vertical-align: top;
59 } 62 }
60 63
61 html[dir=rtl] #user-image-preview { 64 html[dir=rtl] #user-image-preview {
62 float: left; 65 float: left;
63 } 66 }
64 67
65 #user-image-preview .perspective-box { 68 #user-image-preview .perspective-box {
66 -webkit-perspective: 600px; 69 -webkit-perspective: 600px;
67 } 70 }
68 71
69 .user-image-preview-img { 72 .user-image-preview-img {
70 display: block; 73 display: block;
71 max-height: 220px; 74 max-height: 220px;
72 max-width: 220px; 75 max-width: 220px;
73 } 76 }
74 77
75 [camera=webrtc] .camera.live .user-image-preview-img { 78 [camera=webrtc] .camera.live .user-image-preview-img {
76 display: none; 79 display: none;
77 } 80 }
78 81
79 .default-image .user-image-preview-img { 82 .default-image .user-image-preview-img {
80 background: white; 83 background: white;
81 border: solid 1px #cacaca; 84 border: solid 1px #cacaca;
85 border-radius: 4px;
86 padding: 2px;
82 } 87 }
83 88
84 .user-image-stream-area { 89 .user-image-stream-area {
85 display: none; 90 display: none;
86 position: relative; 91 position: relative;
87 } 92 }
88 93
89 [camera=webrtc] .camera.live .user-image-stream-area { 94 [camera=webrtc] .camera.live .user-image-stream-area {
90 display: block; 95 display: block;
91 } 96 }
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 background: url('chrome://theme/IDR_USER_IMAGE_RECYCLE') 173 background: url('chrome://theme/IDR_USER_IMAGE_RECYCLE')
169 no-repeat center 0; 174 no-repeat center 0;
170 display: block; 175 display: block;
171 } 176 }
172 177
173 [camera=webrtc] .camera.live.online #take-photo { 178 [camera=webrtc] .camera.live.online #take-photo {
174 background: url('chrome://theme/IDR_USER_IMAGE_CAPTURE') 179 background: url('chrome://theme/IDR_USER_IMAGE_CAPTURE')
175 no-repeat center -1px; 180 no-repeat center -1px;
176 display: block; 181 display: block;
177 } 182 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/chromeos/login/oobe.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698