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

Side by Side Diff: chrome/browser/resources/md_user_manager/user_manager.css

Issue 1722843002: MD user manager (html/js/css for create profile flow) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments #2 Created 4 years, 9 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
OLDNEW
1 /* Copyright 2013 The Chromium Authors. All rights reserved. 1 /* Copyright 2016 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 {
6 font-size: 13px;
Dan Beam 2016/03/04 02:45:49 this will probably be the default by the time you
Moe 2016/03/08 00:57:04 Sweet!
7 }
5 8
6 /* Overrides for the desktop user manager screen. */ 9 /* Overrides for the desktop user manager screen. */
7 10
8 .oobe-display { 11 .oobe-display {
9 background-color: #eee; 12 background-color: #eee;
10 } 13 }
11 14
12 #outer-container { 15 #outer-container {
13 min-height: 0; 16 min-height: 0;
14 } 17 }
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 111
109 /* Using -webkit-mask on the indicators allows us to tweak the color. */ 112 /* Using -webkit-mask on the indicators allows us to tweak the color. */
110 .pod .indicator-container > div { 113 .pod .indicator-container > div {
111 -webkit-mask-position: center; 114 -webkit-mask-position: center;
112 -webkit-mask-repeat: no-repeat; 115 -webkit-mask-repeat: no-repeat;
113 -webkit-mask-size: 24px; 116 -webkit-mask-size: 24px;
114 } 117 }
115 118
116 .pod.locked .locked-indicator { 119 .pod.locked .locked-indicator {
117 -webkit-mask-image: url(../../../../ui/webui/resources/images/lock.svg); 120 -webkit-mask-image: url(../../../../ui/webui/resources/images/lock.svg);
118 background-color: #757575; 121 background-color: var(--paper-grey-600);
119 display: initial; 122 display: initial;
120 } 123 }
121 124
122 .pod.legacy-supervised .legacy-supervised-indicator { 125 .pod.legacy-supervised .legacy-supervised-indicator {
123 -webkit-mask-image: 126 -webkit-mask-image:
124 url(../../../../ui/webui/resources/images/supervisor_account.svg); 127 url(../../../../ui/webui/resources/images/supervisor_account.svg);
125 background-color: rgb(66, 133, 244); 128 background-color: var(--google-blue-500);
126 display: initial; 129 display: initial;
127 } 130 }
128 131
129 .pod.child .child-indicator { 132 .pod.child .child-indicator {
130 -webkit-mask-image: 133 -webkit-mask-image:
131 url(../../../../ui/webui/resources/images/account_child_invert.svg); 134 url(../../../../ui/webui/resources/images/account_child_invert.svg);
132 background-color: rgb(66, 133, 244); 135 background-color: var(--google-blue-500);
133 display: initial; 136 display: initial;
134 } 137 }
135 138
136 .main-pane { 139 .main-pane {
137 left: 0; 140 left: 0;
138 top: 0; 141 top: 0;
139 } 142 }
140 143
141 html[dir=rtl] .main-pane { 144 html[dir=rtl] .main-pane {
142 right: 0; 145 right: 0;
143 } 146 }
144 147
145 .name-container, 148 .name-container,
146 .pod.focused:not(.multiprofiles-policy-applied) .auth-container { 149 .pod.focused:not(.multiprofiles-policy-applied) .auth-container {
147 top: 180px; 150 top: 180px;
148 width: 180px; 151 width: 180px;
149 } 152 }
150 153
151 .pod.focused:not(.locked) .name-container { 154 .pod.focused:not(.locked) .name-container {
152 display: block; 155 display: block;
153 } 156 }
154 157
155 .pod .name { 158 .pod .name {
156 color: #363636; 159 color: var(--paper-grey-800);
157 font-size: 15px; 160 font-size: 15px;
158 margin-top: 11px; 161 margin-top: 11px;
159 } 162 }
160 163
161 .pod.focused:not(.locked) .auth-container { 164 .pod.focused:not(.locked) .auth-container {
162 display: none; 165 display: none;
163 } 166 }
164 167
165 .pod[auth-type='offlinePassword'].focused.locked .password-entry-container { 168 .pod[auth-type='offlinePassword'].focused.locked .password-entry-container {
166 display: flex; 169 display: flex;
167 flex: auto; 170 flex: auto;
168 } 171 }
169 172
170 .action-box-area { 173 .action-box-area {
171 background-color: #f5f5f5; 174 background-color: var(--google-grey-100);
172 height: 24px; 175 height: 24px;
173 /* Because of crbug.com/406529, the text in the .name div is janky if there's 176 /* Because of crbug.com/406529, the text in the .name div is janky if there's
174 an opacity transition in this div. */ 177 an opacity transition in this div. */
175 transition: none; 178 transition: none;
176 width: 24px; 179 width: 24px;
177 } 180 }
178 181
179 .action-box-button, 182 .action-box-button,
180 .action-box-button:hover, 183 .action-box-button:hover,
181 .action-box-area.active .action-box-button { 184 .action-box-area.active .action-box-button {
(...skipping 17 matching lines...) Expand all
199 .action-box-remove-user-warning .remove-warning-button { 202 .action-box-remove-user-warning .remove-warning-button {
200 height: 30px; 203 height: 30px;
201 } 204 }
202 205
203 .action-box-remove-user-warning .remove-warning-button:focus { 206 .action-box-remove-user-warning .remove-warning-button:focus {
204 /* Override the default blue border inherited from 207 /* Override the default blue border inherited from
205 button.custom-appearance:focus. */ 208 button.custom-appearance:focus. */
206 border: 1px solid transparent !important; 209 border: 1px solid transparent !important;
207 box-shadow: inset 0 0 0 1px #fff; 210 box-shadow: inset 0 0 0 1px #fff;
208 } 211 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698