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

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

Issue 12968004: Implemented new UI for error messages on OOBE/Login. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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 (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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 #reset-button, 62 #reset-button,
63 #password-changed-back-button, 63 #password-changed-back-button,
64 #tos-back-button { 64 #tos-back-button {
65 -webkit-margin-end: 8px; 65 -webkit-margin-end: 8px;
66 } 66 }
67 67
68 #outer-container { 68 #outer-container {
69 -webkit-box-align: center; 69 -webkit-box-align: center;
70 -webkit-box-pack: center; 70 -webkit-box-pack: center;
71 -webkit-perspective: 600px; 71 -webkit-perspective: 600px;
72 bottom: 41px; /* Leave space for the header bar */ 72 bottom: 48px; /* Leave space for the header bar */
73 display: -webkit-box; 73 display: -webkit-box;
74 left: 0; 74 left: 0;
75 position: absolute; 75 position: absolute;
76 right: 0; 76 right: 0;
77 top: 0; 77 top: 0;
78 } 78 }
79 79
80 #oobe {
81 margin-top: 40px; /* Compensate bottom header to center content. */
82 }
83
84 #inner-container { 80 #inner-container {
85 border-radius: 2px; 81 border-radius: 2px;
86 padding: 0; 82 padding: 0;
87 position: relative; 83 position: relative;
88 } 84 }
89 85
90 #inner-container.animation { 86 #inner-container.animation {
91 overflow: hidden; 87 overflow: hidden;
92 } 88 }
93 89
94 /* Screens that have a border and background. */ 90 /* Screens that have a border and background. */
95 #oobe.connect #inner-container, 91 #oobe.connect #inner-container,
96 #oobe.enrollment #inner-container, 92 #oobe.enrollment #inner-container,
97 #oobe.eula #inner-container, 93 #oobe.eula #inner-container,
98 #oobe.gaia-signin #inner-container, 94 #oobe.gaia-signin #inner-container,
99 #oobe.error-message #inner-container,
100 #oobe.oauth-enrollment #inner-container, 95 #oobe.oauth-enrollment #inner-container,
101 #oobe.reset #inner-container, 96 #oobe.reset #inner-container,
102 #oobe.update #inner-container, 97 #oobe.update #inner-container,
103 #oobe.user-image #inner-container, 98 #oobe.user-image #inner-container,
104 #oobe.managed-user-creation-dialog #inner-container, 99 #oobe.managed-user-creation-dialog #inner-container,
105 #oobe.managed-user-creation-flow #inner-container, 100 #oobe.managed-user-creation-flow #inner-container,
106 #oobe.tpm-error-message #inner-container,
107 #oobe.password-changed #inner-container, 101 #oobe.password-changed #inner-container,
108 #oobe.terms-of-service #inner-container, 102 #oobe.terms-of-service #inner-container,
109 #oobe.wrong-hwid #inner-container { 103 #oobe.wrong-hwid #inner-container {
110 background: -webkit-linear-gradient(rgba(255,255,255,0.99), 104 background: -webkit-linear-gradient(rgba(255,255,255,0.99),
111 rgba(255,255,255,0.95)); 105 rgba(255,255,255,0.95));
112 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 106 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3),
113 0 4px 23px 5px rgba(0, 0, 0, 0.2), 107 0 4px 23px 5px rgba(0, 0, 0, 0.2),
114 0 2px 6px rgba(0, 0, 0, 0.15); 108 0 2px 6px rgba(0, 0, 0, 0.15);
115 } 109 }
116 110
111 #oobe.error-message #inner-container,
112 #oobe.tpm-error-message #inner-container {
113 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3),
114 0 4px 23px 5px rgba(0, 0, 0, 0.2),
115 0 2px 6px rgba(0, 0, 0, 0.15);
116
Nikita (slow) 2013/03/26 08:31:15 nit: Drop empty line.
117 }
118
117 /* Only play this animation when 'down' class is removed. */ 119 /* Only play this animation when 'down' class is removed. */
118 #inner-container:not(.down) { 120 #inner-container:not(.down) {
119 -webkit-transition: -webkit-transform 200ms ease-in-out; 121 -webkit-transition: -webkit-transform 200ms ease-in-out;
120 } 122 }
121 123
122 #inner-container.down { 124 #inner-container.down {
123 -webkit-transform: translateY(50px) rotateX(-2.5deg); 125 -webkit-transform: translateY(50px) rotateX(-2.5deg);
124 } 126 }
125 127
126 #eula #stats-help-link { 128 #eula #stats-help-link {
(...skipping 925 matching lines...) Expand 10 before | Expand all | Expand 10 after
1052 -webkit-transition: 250ms opacity; 1054 -webkit-transition: 250ms opacity;
1053 } 1055 }
1054 1056
1055 body.login-display #inner-container { 1057 body.login-display #inner-container {
1056 height: 262px; 1058 height: 262px;
1057 padding: 0; 1059 padding: 0;
1058 width: 1100px; 1060 width: 1100px;
1059 } 1061 }
1060 1062
1061 body.login-display #progress-dots { 1063 body.login-display #progress-dots {
1062 visibility: hidden; 1064 display: none;
1063 } 1065 }
1064 1066
1065 span.bold { 1067 span.bold {
1066 font-weight: bold; 1068 font-weight: bold;
1067 } 1069 }
1068 1070
1069 #version-labels { 1071 #version-labels {
1070 -webkit-transition: all 500ms linear; 1072 -webkit-transition: all 500ms linear;
1071 color: #fff; 1073 color: #fff;
1072 font-size: 11px; 1074 font-size: 11px;
1073 margin: 10px; 1075 margin: 10px;
1074 text-align: end; 1076 text-align: end;
1075 text-shadow: 1077 text-shadow:
1076 0 0 4px rgba(0,0,0,.6), 1078 0 0 4px rgba(0,0,0,.6),
1077 0 1px 2px rgba(0,0,0,.8), 1079 0 1px 2px rgba(0,0,0,.8),
1078 0 -1px 2px rgba(0,0,0,1); 1080 0 -1px 2px rgba(0,0,0,1);
1079 } 1081 }
1080 1082
1081 #offline-network-control {
1082 margin-left: 60px;
1083 }
1084
1085 #notification-area { 1083 #notification-area {
1086 color: #666; 1084 color: #666;
1087 position: absolute; 1085 position: absolute;
1088 text-align: center; 1086 text-align: center;
1089 top: 40px; 1087 top: 40px;
1090 width: 100%; 1088 width: 100%;
1091 } 1089 }
1092 1090
1093 #notification-area a { 1091 #notification-area a {
1094 color: rgb(37, 79, 155); 1092 color: rgb(37, 79, 155);
(...skipping 15 matching lines...) Expand all
1110 } 1108 }
1111 1109
1112 .background-initial { 1110 .background-initial {
1113 opacity: 0; 1111 opacity: 0;
1114 } 1112 }
1115 1113
1116 .background-final { 1114 .background-final {
1117 opacity: 1; 1115 opacity: 1;
1118 } 1116 }
1119 1117
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698