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

Side by Side Diff: chrome/browser/resources/login/user_pod_row.css

Issue 398543002: Add language and keyboard layout pickers to public session pods (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Base the list of keyboard layouts offered on the resolved locale, not the selected locale. Created 6 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 | Annotate | Revision Log
OLDNEW
1 /* Copyright 2014 The Chromium Authors. All rights reserved. 1 /* Copyright 2014 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 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 .easy-unlock-button-content { 408 .easy-unlock-button-content {
409 width: 145px; 409 width: 145px;
410 } 410 }
411 411
412 /**** Public account user pod rules *******************************************/ 412 /**** Public account user pod rules *******************************************/
413 413
414 .pod.public-account.expanded { 414 .pod.public-account.expanded {
415 width: 500px; 415 width: 500px;
416 } 416 }
417 417
418 .pod.public-account.expanded.advanced {
419 width: 610px;
420 }
421
418 .pod.public-account.focused .name-container { 422 .pod.public-account.focused .name-container {
419 display: flex; 423 display: flex;
420 } 424 }
421 425
422 .pod.public-account.expanded .name-container { 426 .pod.public-account.expanded .name-container {
423 transform: translateY(-34px); 427 transform: translateY(-34px);
424 } 428 }
425 429
426 .pod.public-account .learn-more-container { 430 .pod.public-account .learn-more-container {
427 display: block; 431 display: block;
428 flex: none; 432 flex: none;
429 } 433 }
430 434
431 .pod.public-account .learn-more { 435 .pod.public-account .learn-more {
432 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY'); 436 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY');
433 height: 16px; 437 height: 16px;
434 position: relative; 438 position: relative;
435 top: 16px; 439 top: 16px;
436 width: 16px; 440 width: 16px;
437 } 441 }
438 442
439 .expanded-pane { 443 .expanded-pane {
440 display: none; 444 display: none;
441 } 445 }
442 446
443 .pod.public-account.animating .expanded-pane, 447 .pod.public-account.animating .expanded-pane,
444 .pod.public-account.expanded .expanded-pane { 448 .pod.public-account.expanded .expanded-pane {
445 display: block; 449 display: block;
450 font-size: 12px;
446 margin: 10px; 451 margin: 10px;
447 overflow: hidden; 452 overflow: hidden;
448 z-index: 1; 453 z-index: 1;
449 } 454 }
450 455
451 .expanded-pane-contents { 456 .expanded-pane-contents {
452 display: flex; 457 display: flex;
453 flex-direction: column; 458 flex-direction: column;
454 float: right; 459 float: right;
455 height: 193px; 460 height: 193px;
456 width: 490px; 461 width: 490px;
457 } 462 }
458 463
464 .pod.public-account.transitioning-to-advanced .expanded-pane-contents {
465 transition: width 180ms;
466 }
467
468 .pod.public-account.expanded.advanced .expanded-pane-contents {
469 width: 600px;
470 }
471
459 html[dir=rtl] .expanded-pane-contents { 472 html[dir=rtl] .expanded-pane-contents {
460 float: left; 473 float: left;
461 } 474 }
462 475
476 .side-container {
477 -webkit-margin-start: 200px;
478 flex: auto;
479 }
480
463 .expanded-pane-name { 481 .expanded-pane-name {
464 -webkit-margin-start: 200px;
465 flex: none;
466 font-size: 19px; 482 font-size: 19px;
467 margin-bottom: 11px; 483 margin-bottom: 11px;
468 margin-top: -2px; 484 margin-top: -2px;
469 overflow: hidden; 485 overflow: hidden;
470 text-overflow: ellipsis; 486 text-overflow: ellipsis;
471 white-space: nowrap; 487 white-space: nowrap;
472 } 488 }
473 489
474 .reminder { 490 .reminder {
475 -webkit-margin-start: 200px; 491 font-weight: bold;
492 }
493
494 .language-and-input-section {
495 display: none;
496 }
497
498 .pod.public-account.transitioning-to-advanced .language-and-input-section {
499 display: block;
500 opacity: 0;
501 transition: opacity 180ms ease 180ms;
502 }
503
504 .pod.public-account.expanded.advanced .language-and-input-section {
505 display: block;
506 opacity: 1;
507 }
508
509 .select-with-label {
510 display: flex;
511 margin-top: 20px;
512 }
513
514 .language-select-label,
515 .keyboard-select-label {
516 flex: none;
517 margin-top: 3px;
518 overflow: hidden;
519 text-overflow: ellipsis;
520 white-space: nowrap;
521 width: 170px;
522 }
523
524 .select-container {
476 flex: auto; 525 flex: auto;
477 font-size: 12px; 526 }
478 font-weight: bold; 527
528 .language-select,
529 .keyboard-select {
530 width: 100%;
479 } 531 }
480 532
481 .bottom-container { 533 .bottom-container {
482 -webkit-margin-start: 10px; 534 -webkit-margin-start: 10px;
483 display: flex; 535 display: flex;
484 flex: none; 536 flex: none;
537 font-size: 13px;
485 } 538 }
486 539
487 .expanded-pane-learn-more-container, 540 .expanded-pane-learn-more-container,
488 .enter-button { 541 .enter-button {
489 flex: none; 542 flex: none;
490 } 543 }
491 544
492 .expanded-pane-learn-more { 545 .expanded-pane-learn-more {
493 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY'); 546 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY');
494 height: 16px; 547 height: 16px;
495 position: relative; 548 position: relative;
496 top: 6px; 549 top: 6px;
497 width: 16px; 550 width: 16px;
498 } 551 }
499 552
500 .info { 553 .info {
501 flex: auto; 554 flex: auto;
502 font-size: 13px; 555 margin: 5px 10px;
503 margin: 5px 10px 0 10px;
504 overflow: hidden; 556 overflow: hidden;
505 text-overflow: ellipsis; 557 text-overflow: ellipsis;
506 white-space: nowrap; 558 white-space: nowrap;
507 } 559 }
560
561 .language-and-input-container {
562 -webkit-margin-end: 25px;
563 flex: none;
564 }
565
566 .language-and-input {
567 color: rgb(49, 106, 197);
568 position: relative;
569 text-decoration: none;
570 top: 4px;
571 }
572
573 .pod.public-account.expanded.advanced .language-and-input-container {
574 display: none;
575 }
576
577 .enter-button {
578 font-size: 14px;
579 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/login/screen_account_picker.js ('k') | chrome/browser/resources/login/user_pod_row.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698