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 #manage-profile-overlay { | 5 #manage-profile-overlay { |
6 width: 512px; | 6 width: 512px; |
7 } | 7 } |
8 | 8 |
9 .profile-icon-grid-item { | 9 .profile-icon-grid-item { |
10 border: none !important; | |
11 height: 31px; | 10 height: 31px; |
12 margin: 4px 6px; | 11 margin: 4px 6px; |
13 padding: 4px; | 12 padding: 4px; |
14 width: 38px; | 13 width: 38px; |
15 } | 14 } |
16 | 15 |
17 .profile-icon { | 16 .profile-icon { |
18 height: 31px; | 17 height: 31px; |
19 width: 38px; | 18 width: 38px; |
20 } | 19 } |
21 | 20 |
21 .profile-name-container { | |
22 -webkit-box-align: center; | |
23 -webkit-box-orient: horizontal; | |
24 -webkit-box-pack: center; | |
25 display: -webkit-box; | |
26 margin-left: auto; | |
27 margin-right: auto; | |
28 width: 50%; | |
29 } | |
30 | |
22 #create-profile-name:invalid { | 31 #create-profile-name:invalid { |
23 background-color: pink; | 32 background-color: pink; |
24 } | 33 } |
25 | 34 |
26 #manage-profile-name:invalid { | 35 #manage-profile-name:invalid { |
27 background-color: pink; | 36 background-color: pink; |
28 } | 37 } |
29 | 38 |
30 #create-profile-error-bubble { | 39 #create-profile-error-bubble { |
31 -webkit-transition: max-height 200ms, padding 200ms; | 40 -webkit-transition: max-height 200ms, padding 200ms; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
66 max-height: 0; | 75 max-height: 0; |
67 padding: 0 10px; | 76 padding: 0 10px; |
68 } | 77 } |
69 | 78 |
70 #create-profile-icon-grid, | 79 #create-profile-icon-grid, |
71 #manage-profile-icon-grid { | 80 #manage-profile-icon-grid { |
72 background-color: rgba(255, 255, 255, 0.75); | 81 background-color: rgba(255, 255, 255, 0.75); |
73 padding: 2px; | 82 padding: 2px; |
74 } | 83 } |
75 | 84 |
85 #create-profile-content:after { | |
James Hawkins
2012/08/01 00:42:54
nit: Document what this is for.
Halli
2012/08/01 15:36:25
Done.
| |
86 background: #c0c0c0; | |
87 content: ''; | |
88 display: block; | |
89 height: 1px; | |
90 margin-top: 20px; | |
91 width: 100%; | |
92 } | |
93 | |
94 #manage-profile-content:after { | |
James Hawkins
2012/08/01 00:42:54
nit: Collapse this into the above block, i.e.,
#c
Halli
2012/08/01 15:36:25
Done.
| |
95 background: #c0c0c0; | |
96 content: ''; | |
97 display: block; | |
98 height: 1px; | |
99 margin-top: 20px; | |
100 width: 100%; | |
101 } | |
102 | |
76 #create-profile-content > :first-child { | 103 #create-profile-content > :first-child { |
77 margin-bottom: 10px; | 104 margin-bottom: 10px; |
78 } | 105 } |
79 | 106 |
80 #manage-profile-content > :first-child { | 107 #manage-profile-content > :first-child { |
81 margin-bottom: 10px; | 108 margin-bottom: 10px; |
82 } | 109 } |
83 | 110 |
84 #create-profile-content > :last-child { | 111 #create-profile-content > :last-child { |
85 margin-top: 10px; | 112 margin-top: 10px; |
86 } | 113 } |
87 | 114 |
88 #manage-profile-content > :last-child { | 115 #manage-profile-content > :last-child { |
89 margin-top: 10px; | 116 margin-top: 10px; |
90 } | 117 } |
91 | 118 |
92 #create-profile-content > :not(:first-child):not(:last-child) { | 119 #create-profile-content > :not(:first-child):not(:last-child) { |
93 margin-bottom: 10px; | 120 margin-bottom: 10px; |
94 margin-top: 10px; | 121 margin-top: 10px; |
95 } | 122 } |
96 | 123 |
97 #manage-profile-content > :not(:first-child):not(:last-child) { | 124 #manage-profile-content > :not(:first-child):not(:last-child) { |
98 margin-bottom: 10px; | 125 margin-bottom: 10px; |
99 margin-top: 10px; | 126 margin-top: 10px; |
100 } | 127 } |
101 | 128 |
102 #create-profile-name-div, | |
103 #manage-profile-name-div { | |
104 -webkit-box-align: center; | |
105 -webkit-box-orient: horizontal; | |
106 -webkit-box-pack: center; | |
107 display: -webkit-box; | |
108 margin-left: auto; | |
109 margin-right: auto; | |
110 width: 50%; | |
111 } | |
112 | |
113 #create-profile-name-label, | |
114 #manage-profile-name-label { | |
115 -webkit-margin-end: 20px; | |
116 } | |
117 | |
118 #create-profile-name, | |
119 #manage-profile-name { | |
120 -webkit-box-flex: 1; | |
121 } | |
122 | |
123 .action-area-checkbox-container { | 129 .action-area-checkbox-container { |
124 -webkit-box-flex: 1; | 130 -webkit-box-flex: 1; |
125 } | 131 } |
126 | 132 |
127 #delete-profile-message { | 133 #delete-profile-message { |
128 -webkit-padding-start: 48px; | 134 -webkit-padding-start: 48px; |
129 background-repeat: no-repeat; | 135 background-repeat: no-repeat; |
130 } | 136 } |
131 | 137 |
132 html[dir='rtl'] #delete-profile-message { | 138 html[dir='rtl'] #delete-profile-message { |
133 background-position: right; | 139 background-position: right; |
134 | 140 |
OLD | NEW |