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)
47 box-sizing: border-box;
50 justify-content: flex-end;
51 padding-right: 34px; /* Double the padding of .step */
56 html[dir=rtl] .step-controls {
57 /* Hack as -webkit-padding-end doesn't catch direction. crbug.com/363836 */
61 .animation .step-controls button {
62 /* Don't grey out disabled buttons during animation. */
63 color: buttontext !important;
66 .step.loading .step-contents,
67 .step.loading .step-controls,
68 .step.loading .step-extra-controls {
72 .step:not(.loading) #user-images-loading {
76 .step:not(.loading) #eula-busy {
80 /* Center spinner wrapper vertically and horizontally.
81 * Vertical centering uses top: 50% and negative margin
82 * instead of top: 0; bottom: 0 due to http://crbug.com/155320.
85 -webkit-align-items: center;
86 -webkit-justify-content: center;
87 display: -webkit-flex;
95 /* Fixes perfomance problem caused by http://crbug.com/229405 . */
96 .step.hidden .throbber,
97 .step.hidden .spinner,
98 .step.hidden .inline-spinner {
104 .step-extra-controls a {
105 color: rgb(49, 106, 197); /* same as 'Learn more' link */
107 text-decoration: none;
110 .step-extra-controls {
116 /* EULA screen extra controls have 2 elements
117 so they require different alignment. */
118 #eula-extra-controls {
122 #security-info a:focus,
124 .step-extra-controls a:focus {
125 -webkit-transition: outline-color 200ms;
126 /* Note: May use 1px solid here. */
127 outline-color: rgb(77, 144, 254);
130 .step-extra-controls > *:not(:first-child) {
131 -webkit-margin-before: 7px;
134 html[dir=rtl] .step-extra-controls {
139 #oobe.autolaunch #autolaunch-confirm-button,
140 #oobe.autolaunch #autolaunch-cancel-button,
141 #oobe.connect #continue-button,
142 #oobe.eula #accept-button,
143 #oobe.eula #back-button,
144 #oobe.kiosk-enable #kiosk-cancel-button,
145 #oobe.kiosk-enable #kiosk-enable-button,
146 #oobe.signin #signin-button,
147 #oobe.user-image #ok-button {
151 #autolaunch-confirm-button,
153 #kiosk-enable-button,
155 #password-changed-back-button,
157 -webkit-margin-end: 8px;
166 font-family: inherit;
172 html[highlight=strong] #security-info a:focus,
173 html[highlight=strong] #eula a:focus,
174 html[highlight=strong] .step-extra-controls a:focus,
175 html[highlight=strong] .menu-control:focus,
176 html[highlight=strong] input[type='button']:focus,
177 html[highlight=strong] button:focus {
178 box-shadow: 0 0 23px rgb(77, 144, 254) !important;