1 /* Copyright 2013 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file.
5 * This contains common styling for all the OOBE screens.
9 box-sizing: border-box;
13 .step.animated:not(.faded) {
14 -webkit-transition: -webkit-transform 200ms ease-in-out,
15 opacity 200ms ease-in-out,
16 visibility 200ms ease-in-out;
30 -webkit-transform: translateX(50px);
34 -webkit-transform: translateX(-50px)
46 -webkit-box-pack: end;
47 -webkit-padding-end: 34px; /* Double the padding of .step */
49 box-sizing: border-box;
56 .animation .step-controls button {
57 /* Don't grey out disabled buttons during animation. */
58 color: buttontext !important;
61 .step.loading .step-contents,
62 .step.loading .step-controls,
63 .step.loading .step-extra-controls {
67 .step:not(.loading) #user-images-loading {
71 .step:not(.loading) #eula-busy {
75 /* Center spinner wrapper vertically and horizontally.
76 * Vertical centering uses top: 50% and negative margin
77 * instead of top: 0; bottom: 0 due to http://crbug.com/155320.
80 -webkit-align-items: center;
81 -webkit-justify-content: center;
82 display: -webkit-flex;
90 /* Fixes perfomance problem caused by http://crbug.com/229405 . */
91 .step.hidden .throbber,
92 .step.hidden .spinner,
93 .step.hidden .inline-spinner {
99 .step-extra-controls a {
100 color: rgb(49, 106, 197); /* same as 'Learn more' link */
102 text-decoration: none;
105 .step-extra-controls {
111 /* EULA screen extra controls have 2 elements
112 so they require different alignment. */
113 #eula-extra-controls {
117 #security-info a:focus,
119 .step-extra-controls a:focus {
120 -webkit-transition: outline-color 200ms;
121 /* Note: May use 1px solid here. */
122 outline-color: rgb(77, 144, 254);
125 .step-extra-controls > *:not(:first-child) {
126 -webkit-margin-before: 7px;
129 html[dir=rtl] .step-extra-controls {
134 #oobe.autolaunch #autolaunch-confirm-button,
135 #oobe.autolaunch #autolaunch-cancel-button,
136 #oobe.connect #continue-button,
137 #oobe.eula #accept-button,
138 #oobe.eula #back-button,
139 #oobe.kiosk-enable #kiosk-cancel-button,
140 #oobe.kiosk-enable #kiosk-enable-button,
141 #oobe.reset #reset-button,
142 #oobe.reset #reset-cancel-button,
143 #oobe.signin #signin-button,
144 #oobe.user-image #ok-button {
148 #autolaunch-confirm-button,
150 #kiosk-enable-button,
152 #password-changed-back-button,
154 -webkit-margin-end: 8px;
163 font-family: inherit;
169 html[highlight=strong] #security-info a:focus,
170 html[highlight=strong] #eula a:focus,
171 html[highlight=strong] .step-extra-controls a:focus,
172 html[highlight=strong] .menu-control:focus,
173 html[highlight=strong] input[type='button']:focus,
174 html[highlight=strong] button:focus {
175 box-shadow: 0 0 23px rgb(77, 144, 254) !important;