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

Side by Side Diff: chrome/browser/resources/chromeos/login/oobe.css

Issue 10826267: [cros] OOBE transitions polishing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 (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 the Out of the box experience (OOBE) flow, 5 * This is the stylesheet used by the Out of the box experience (OOBE) flow,
6 * sign in and lock screens. 6 * sign in and lock screens.
7 */ 7 */
8 8
9 html, 9 html,
10 body { 10 body {
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 position: relative; 95 position: relative;
96 } 96 }
97 97
98 html[oobe=old] #inner-container { 98 html[oobe=old] #inner-container {
99 height: 294px; 99 height: 294px;
100 padding: 20px; 100 padding: 20px;
101 width: 640px; 101 width: 640px;
102 } 102 }
103 103
104 html[oobe=new] #inner-container { 104 html[oobe=new] #inner-container {
105 background: -webkit-linear-gradient(rgba(255,255,255,0.99),
106 rgba(255,255,255,0.95));
107 border-radius: 2px; 105 border-radius: 2px;
108 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3),
109 0 4px 23px 5px rgba(0, 0, 0, 0.2),
110 0 2px 6px rgba(0, 0, 0, 0.15);
111 overflow: hidden; 106 overflow: hidden;
112 padding: 0; 107 padding: 0;
113 } 108 }
114 109
115 /* Account picker has no border and background. */ 110 /* Screens that have a border and background. */
116 html[oobe=new] .account-picker #inner-container { 111 html[oobe=new] #oobe.connect #inner-container,
117 background: none; 112 html[oobe=new] #oobe.eula #inner-container,
118 box-shadow: none; 113 html[oobe=new] #oobe.update #inner-container,
114 html[oobe=new] #oobe.gaia-signin #inner-container,
115 html[oobe=new] #oobe.enrollment #inner-container,
116 html[oobe=new] #oobe.oauth-enrollment #inner-container,
117 html[oobe=new] #oobe.user-image #inner-container {
118 background: -webkit-linear-gradient(rgba(255,255,255,0.99),
119 rgba(255,255,255,0.95));
120 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3),
121 0 4px 23px 5px rgba(0, 0, 0, 0.2),
122 0 2px 6px rgba(0, 0, 0, 0.15);
119 } 123 }
120 124
121 /* Only play this animation when 'down' class is removed. */ 125 /* Only play this animation when 'down' class is removed. */
122 html[oobe=new] #inner-container:not(.down) { 126 html[oobe=new] #inner-container:not(.down) {
123 -webkit-transition: -webkit-transform 400ms ease; 127 -webkit-transition: -webkit-transform 200ms ease-in-out;
124 } 128 }
125 129
126 html[oobe=new] #inner-container.down { 130 html[oobe=new] #inner-container.down {
127 -webkit-transform: translateY(50px) rotateX(-2.5deg); 131 -webkit-transform: translateY(50px) rotateX(-2.5deg);
128 } 132 }
129 133
130 #security-info a, 134 #security-info a,
131 #security-tpm a, 135 #security-tpm a,
132 #eula a { 136 #eula a {
133 color: rgb(0, 102, 104); 137 color: rgb(0, 102, 104);
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 min-height: 294px; 284 min-height: 294px;
281 opacity: 1; 285 opacity: 1;
282 width: 640px; 286 width: 640px;
283 } 287 }
284 288
285 html[oobe=new] .step { 289 html[oobe=new] .step {
286 box-sizing: border-box; 290 box-sizing: border-box;
287 } 291 }
288 292
289 html[oobe=new] .step.animated { 293 html[oobe=new] .step.animated {
290 -webkit-transition: -webkit-transform 400ms ease, 294 -webkit-transition: -webkit-transform 200ms ease-in-out,
291 opacity 400ms ease, 295 opacity 200ms ease-in-out,
292 visibility 400ms ease; 296 visibility 200ms ease-in-out;
293 } 297 }
294 298
295 html[oobe=old][dir=ltr] .step { 299 html[oobe=old][dir=ltr] .step {
296 -webkit-transition: left 200ms, opacity 200ms, visibility 200ms ease-in-out; 300 -webkit-transition: left 200ms, opacity 200ms, visibility 200ms ease-in-out;
297 left: 0; 301 left: 0;
298 } 302 }
299 303
300 html[oobe=old][dir=rtl] .step { 304 html[oobe=old][dir=rtl] .step {
301 -webkit-transition: right 200ms, opacity 200ms, visibility 200ms ease-in-out; 305 -webkit-transition: right 200ms, opacity 200ms, visibility 200ms ease-in-out;
302 right: 0; 306 right: 0;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 html[oobe=old] #progress-dots { 366 html[oobe=old] #progress-dots {
363 display: none; 367 display: none;
364 } 368 }
365 369
366 html[oobe=new] #progress-dots { 370 html[oobe=new] #progress-dots {
367 -webkit-box-pack: center; 371 -webkit-box-pack: center;
368 -webkit-margin-before: 15px; 372 -webkit-margin-before: 15px;
369 display: -webkit-box; 373 display: -webkit-box;
370 } 374 }
371 375
376 /* Hidden for the duration of initial transition. */
377 html[oobe=new] #progress-dots.down {
378 visibility: hidden;
379 }
380
372 .progdot { 381 .progdot {
373 -webkit-margin-end: 12px; 382 -webkit-margin-end: 12px;
374 opacity: 0.4; 383 opacity: 0.4;
375 } 384 }
376 385
377 html[oobe=old] .progdot { 386 html[oobe=old] .progdot {
378 background: black; 387 background: black;
379 border-radius: 2px; 388 border-radius: 2px;
380 height: 8px; 389 height: 8px;
381 width: 8px; 390 width: 8px;
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
847 color: #9c9c9c; 856 color: #9c9c9c;
848 display: -webkit-box; 857 display: -webkit-box;
849 } 858 }
850 859
851 860
852 html[oobe=old] #update #update-screen-curtain { 861 html[oobe=old] #update #update-screen-curtain {
853 margin: 9em auto; 862 margin: 9em auto;
854 } 863 }
855 864
856 html[oobe=new] #update #update-screen-curtain { 865 html[oobe=new] #update #update-screen-curtain {
857 margin: 87px 45px; 866 margin: 45px 45px;
858 } 867 }
859 868
860 html[oobe=new] #update-screen-main { 869 html[oobe=new] #update-screen-main {
861 margin: 85px 45px; 870 margin: 45px 45px;
862 min-height: 114px; 871 min-height: 114px;
863 text-align: center; 872 text-align: center;
864 } 873 }
865 874
866 #update #update-checking-ellipsis { 875 #update #update-checking-ellipsis {
867 width: 16px; 876 width: 16px;
868 } 877 }
869 878
870 html[dir=ltr] #update #update-checking-ellipsis { 879 html[dir=ltr] #update #update-checking-ellipsis {
871 text-align: left; 880 text-align: left;
872 } 881 }
873 882
874 html[dir=rtl] #update #update-checking-ellipsis { 883 html[dir=rtl] #update #update-checking-ellipsis {
875 text-align: right; 884 text-align: right;
876 } 885 }
877 886
878 html[oobe=old] #update #update-cancel-hint { 887 html[oobe=old] #update #update-cancel-hint {
879 color: rgb(170, 0, 0); 888 color: rgb(170, 0, 0);
880 left: 50%; 889 left: 50%;
881 margin: 1em -16em; 890 margin: 1em -16em;
882 position: absolute; 891 position: absolute;
883 } 892 }
884 893
885 html[oobe=new] #update #update-cancel-hint { 894 html[oobe=new] #update #update-cancel-hint {
895 -webkit-margin-before: 15px;
896 -webkit-margin-start: 45px;
886 color: rgb(170, 0, 0); 897 color: rgb(170, 0, 0);
887 position: absolute; 898 position: absolute;
888 top: 80px;
889 }
890
891 html[oobe=new][dir=ltr] #update #update-cancel-hint {
892 left: 137px;
893 }
894
895 html[oobe=new][dir=rtl] #update #update-cancel-hint {
896 right: 137px;
897 } 899 }
898 900
899 #update #update-upper-label { 901 #update #update-upper-label {
900 -webkit-margin-after: 4px; 902 -webkit-margin-after: 4px;
901 } 903 }
902 904
903 #update #checking-updates-label { 905 #update #checking-updates-label {
904 -webkit-margin-after: 34px; 906 -webkit-margin-after: 34px;
905 } 907 }
906 908
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
1319 width: 100%; 1321 width: 100%;
1320 } 1322 }
1321 1323
1322 .background-initial { 1324 .background-initial {
1323 opacity: 0; 1325 opacity: 0;
1324 } 1326 }
1325 1327
1326 .background-final { 1328 .background-final {
1327 opacity: 1; 1329 opacity: 1;
1328 } 1330 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/chromeos/login/display_manager.js ('k') | chrome/browser/resources/chromeos/login/oobe.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698