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
;
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 {
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.oauth-enrollment #oauth-enroll-cancel-button
,
142 #oobe.oauth-enrollment #oauth-enroll-done-button
,
143 #oobe.oauth-enrollment #oauth-enroll-explain-button
,
144 #oobe.oauth-enrollment #oauth-enroll-try-again-button
,
145 #oobe.reset #reset-button
,
146 #oobe.reset #reset-cancel-button
,
147 #oobe.signin #signin-button
,
148 #oobe.user-image #ok-button
{
152 #autolaunch-confirm-button,
154 #kiosk-enable-button,
156 #password-changed-back-button,
158 -webkit-margin-end: 8px;
167 font-family: inherit
;
173 html
[highlight
=strong
] #security-info
a:focus
,
174 html
[highlight
=strong
] #eula
a:focus
,
175 html
[highlight
=strong
] .step-extra-controls
a:focus
,
176 html
[highlight
=strong
] .menu-control:focus
,
177 html
[highlight
=strong
] input
[type
='button']:focus
,
178 html
[highlight
=strong
] button:focus
{
179 box-shadow: 0 0 23px rgb
(77, 144, 254) !important
;