Chromium Code Reviews| 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 * This is the stylesheet used by user pods row of account picker UI. | 5 * This is the stylesheet used by user pods row of account picker UI. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 podrow { | 8 podrow { |
| 9 /* Temporarily disabled because animation interferes with updating screen's | 9 /* Temporarily disabled because animation interferes with updating screen's |
| 10 size. */ | 10 size. */ |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 57 -webkit-transform: scale3d(0.8, 0.8, 0.8); | 57 -webkit-transform: scale3d(0.8, 0.8, 0.8); |
| 58 } | 58 } |
| 59 | 59 |
| 60 .pod.focused { | 60 .pod.focused { |
| 61 /* Focused pod has the same size no matter how many pods. */ | 61 /* Focused pod has the same size no matter how many pods. */ |
| 62 -webkit-transform: scale3d(1, 1, 1) !important; | 62 -webkit-transform: scale3d(1, 1, 1) !important; |
| 63 cursor: default; | 63 cursor: default; |
| 64 z-index: 1; | 64 z-index: 1; |
| 65 } | 65 } |
| 66 | 66 |
| 67 .pod.focused[auth-type='userClick'] { | |
| 68 cursor: pointer; | |
| 69 } | |
| 70 | |
| 67 .pod .user-image { | 71 .pod .user-image { |
| 68 height: 160px; | 72 height: 160px; |
| 69 opacity: 0.7; | 73 opacity: 0.7; |
| 70 width: 160px; | 74 width: 160px; |
| 71 } | 75 } |
| 72 | 76 |
| 73 .pod.faded { | 77 .pod.faded { |
| 74 opacity: .75; | 78 opacity: .75; |
| 75 } | 79 } |
| 76 | 80 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 127 .password-area { | 131 .password-area { |
| 128 display: none; | 132 display: none; |
| 129 } | 133 } |
| 130 | 134 |
| 131 .password-input-container { | 135 .password-input-container { |
| 132 -webkit-box-flex: 1; | 136 -webkit-box-flex: 1; |
| 133 /* This relative position is so the capslock hint is positioned correctly. */ | 137 /* This relative position is so the capslock hint is positioned correctly. */ |
| 134 position: relative; | 138 position: relative; |
| 135 } | 139 } |
| 136 | 140 |
| 141 .password-label { | |
| 142 -webkit-box-align: center; | |
| 143 border: none; | |
| 144 display: none; | |
| 145 font-size: 14px; | |
| 146 height: 40px; | |
| 147 text-overflow: ellipsis; | |
| 148 } | |
| 149 | |
| 150 .pod[auth-type='userClick'] .password-label { | |
| 151 display: -webkit-box; | |
|
xiyuan
2014/02/16 18:38:14
.password-label has no children and "display: -web
Tim Song
2014/02/18 23:32:44
The textContent node is a child, and I want it to
| |
| 152 } | |
| 153 | |
| 137 .custom-button { | 154 .custom-button { |
| 138 -webkit-box-align: center; | 155 -webkit-box-align: center; |
| 139 background-color: rgba(0, 0, 0, 0); | 156 background-color: rgba(0, 0, 0, 0); |
| 140 background-image: none; | 157 background-image: none; |
| 141 cursor: pointer; | 158 cursor: pointer; |
| 142 display: -webkit-box; | 159 display: -webkit-box; |
| 143 height: 40px; | 160 height: 40px; |
| 144 margin: 0; | 161 margin: 0; |
| 145 max-width: 40px; | 162 max-width: 40px; |
| 146 min-height: 0; | 163 min-height: 0; |
| 147 min-width: 0; | 164 min-width: 0; |
| 148 padding: 0; | 165 padding: 0; |
| 149 } | 166 } |
| 150 | 167 |
| 151 button.custom-button:focus:active, | 168 button.custom-button:focus:active, |
| 152 button.custom-button:focus:hover { | 169 button.custom-button:focus:hover { |
| 153 border: 1px solid transparent !important; | 170 border: 1px solid transparent !important; |
| 154 } | 171 } |
| 155 | 172 |
| 156 .custom-button img { | 173 .custom-button img { |
| 157 max-height: 100%; | 174 max-height: 100%; |
| 158 max-width: 100%; | 175 max-width: 100%; |
| 159 } | 176 } |
| 160 | 177 |
| 161 .pod input[type='password'] { | 178 .pod input[type='password'] { |
| 162 -webkit-transition: opacity linear 150ms; | 179 -webkit-transition: opacity linear 150ms; |
| 163 background: white; | 180 background: white; |
| 164 border: none; | 181 border: none; |
| 165 box-sizing: border-box; | 182 box-sizing: border-box; |
| 166 display: inline-block; | 183 display: none; |
| 167 height: 40px; | 184 height: 40px; |
| 168 outline: none; | 185 outline: none; |
| 169 padding: 4px 6px; | 186 padding: 4px 6px; |
| 170 width: 100%; | 187 width: 100%; |
| 171 } | 188 } |
| 172 | 189 |
| 190 .pod[auth-type='systemPassword'] input[type='password'] { | |
| 191 display: inline-block; | |
| 192 } | |
| 193 | |
| 173 .pod.need-password.focused .password-area { | 194 .pod.need-password.focused .password-area { |
| 174 display: -webkit-box; | 195 display: -webkit-box; |
| 175 } | 196 } |
| 176 | 197 |
| 177 .pod .signin-button, | 198 .pod .signin-button, |
| 178 .pod .launch-app-button { | 199 .pod .launch-app-button { |
| 179 box-sizing: border-box; | 200 box-sizing: border-box; |
| 180 display: inline-block; | 201 display: none; |
| 181 height: 26px; | 202 height: 26px; |
| 182 margin: 6px 0; | 203 margin: 6px 0; |
| 183 max-width: 100%; | 204 max-width: 100%; |
| 184 min-width: 72px !important; | 205 min-width: 72px !important; |
| 185 padding: 4px 8px; | 206 padding: 4px 8px; |
| 186 } | 207 } |
| 187 | 208 |
| 188 .pod:not(.focused) .signin-button, | 209 .pod.focused .launch-app-button, |
| 189 .pod:not(.focused) .launch-app-button { | 210 .pod[auth-type='onlineSignIn'] .signin-button { |
|
xiyuan
2014/02/16 18:38:14
Do this mean to show .signin-button always, regard
Tim Song
2014/02/18 23:32:44
You're right, this should only be visible when the
| |
| 190 display: none; | 211 display: inline-block; |
| 191 } | 212 } |
| 192 | 213 |
| 193 .pod .capslock-hint { | 214 .pod .capslock-hint { |
| 194 bottom: 13px; | 215 bottom: 13px; |
| 195 cursor: text; | 216 cursor: text; |
| 196 position: absolute; | 217 position: absolute; |
| 197 right: 6px; | 218 right: 6px; |
| 198 visibility: hidden; | 219 visibility: hidden; |
| 199 z-index: 1; | 220 z-index: 1; |
| 200 } | 221 } |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 331 .action-box-area.active .action-box-button { | 352 .action-box-area.active .action-box-button { |
| 332 background-image: url('chrome://theme/IDR_OOBE_ACTION_BOX_BUTTON_PRESSED'); | 353 background-image: url('chrome://theme/IDR_OOBE_ACTION_BOX_BUTTON_PRESSED'); |
| 333 } | 354 } |
| 334 | 355 |
| 335 .action-box-menu { | 356 .action-box-menu { |
| 336 -webkit-transition: opacity 100ms ease-in-out; | 357 -webkit-transition: opacity 100ms ease-in-out; |
| 337 background-color: white; | 358 background-color: white; |
| 338 border: 1px solid lightgray; | 359 border: 1px solid lightgray; |
| 339 border-radius: 2px; | 360 border-radius: 2px; |
| 340 box-shadow: none; | 361 box-shadow: none; |
| 362 display: none; | |
| 341 font-size: 13px; | 363 font-size: 13px; |
| 342 line-height: 19px; | 364 line-height: 19px; |
| 343 margin: 0; | 365 margin: 0; |
| 344 opacity: 0; | 366 opacity: 0; |
| 345 padding: 0; | 367 padding: 0; |
| 346 position: absolute; | 368 position: absolute; |
| 347 right: 5px; | 369 right: 5px; |
| 348 top: 18px; | 370 top: 18px; |
| 349 /* TODO(glotov): the menu should fade out with transition */ | 371 /* TODO(glotov): the menu should fade out with transition */ |
| 350 visibility: hidden; | 372 visibility: hidden; |
| 351 width: 220px; | 373 width: 220px; |
| 352 z-index: 1; | 374 z-index: 1; |
| 353 } | 375 } |
| 354 | 376 |
| 355 html[dir=rtl] .action-box-menu { | 377 html[dir=rtl] .action-box-menu { |
| 356 left: 5px; | 378 left: 5px; |
| 357 right: auto; | 379 right: auto; |
| 358 } | 380 } |
| 359 | 381 |
| 360 .action-box-area.active ~ .action-box-menu { | 382 .action-box-area.active ~ .action-box-menu { |
| 383 -webkit-box-orient: vertical; | |
| 384 display: -webkit-box; | |
| 361 opacity: 1; | 385 opacity: 1; |
| 362 visibility: visible; | 386 visibility: visible; |
| 363 } | 387 } |
| 364 | 388 |
| 365 .action-box-menu-title { | 389 .action-box-menu-title { |
| 366 -webkit-box-orient: vertical; | 390 -webkit-box-orient: vertical; |
| 367 -webkit-box-pack: center; | 391 -webkit-box-pack: center; |
| 368 color: #b4b4b4; | 392 color: #b4b4b4; |
| 369 display: -webkit-box; | 393 display: -webkit-box; |
| 370 padding: 7px 20px; | 394 padding: 7px 20px; |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 567 .pod.public-account.expanded .name, | 591 .pod.public-account.expanded .name, |
| 568 .pod.public-account.expanded .learn-more { | 592 .pod.public-account.expanded .learn-more { |
| 569 display: none; | 593 display: none; |
| 570 } | 594 } |
| 571 | 595 |
| 572 .pod.public-account.expanded .side-pane-divider, | 596 .pod.public-account.expanded .side-pane-divider, |
| 573 .pod.public-account.expanded .side-pane-container, | 597 .pod.public-account.expanded .side-pane-container, |
| 574 .pod.public-account.animating .side-pane-container { | 598 .pod.public-account.animating .side-pane-container { |
| 575 visibility: inherit; | 599 visibility: inherit; |
| 576 } | 600 } |
| OLD | NEW |