Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / resources / chromeos / login / oobe_screen.css
blob86b1209ee07c1dcca3d46c283f23eacbd075ffb6
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.
6 */
8 .step {
9 box-sizing: border-box;
10 position: absolute;
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;
19 .step.hidden {
20 visibility: hidden;
23 .faded,
24 .left,
25 .right {
26 opacity: 0;
29 .step.right {
30 -webkit-transform: translateX(50px);
33 .step.left {
34 -webkit-transform: translateX(-50px)
37 .step.fullscreen {
38 height: 100%;
39 left: 0;
40 right: 0;
41 top: 0;
42 width: 100%;
45 .step-controls {
46 bottom: 21px;
47 box-sizing: border-box;
48 display: flex;
49 height: 28px;
50 justify-content: flex-end;
51 padding-right: 34px; /* Double the padding of .step */
52 position: absolute;
53 width: 100%;
56 html[dir=rtl] .step-controls {
57 /* Hack as -webkit-padding-end doesn't catch direction. crbug.com/363836 */
58 padding-left: 34px;
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 {
69 visibility: hidden;
72 .step:not(.loading) #user-images-loading {
73 visibility: hidden;
76 .step:not(.loading) #eula-busy {
77 visibility: hidden;
80 .step-loading {
81 align-items: center;
82 bottom: 0;
83 display: flex;
84 justify-content: center;
85 left: 0;
86 position: absolute;
87 right: 0;
88 top: 0;
91 /* Fixes perfomance problem caused by http://crbug.com/229405 . */
92 .step.hidden .throbber,
93 .step.hidden .spinner,
94 .step.hidden .inline-spinner {
95 display: none;
98 #security-info a,
99 #eula a,
100 .step-extra-controls a {
101 color: rgb(49, 106, 197); /* same as 'Learn more' link */
102 font-size: 12px;
103 text-decoration: none;
106 .step-extra-controls {
107 bottom: 26px;
108 left: 49px;
109 position: absolute;
112 /* EULA screen extra controls have 2 elements
113 so they require different alignment. */
114 #eula-extra-controls {
115 bottom: 17px;
118 #security-info a:focus,
119 #eula a:focus,
120 .step-extra-controls a:focus {
121 -webkit-transition: outline-color 200ms;
122 /* Note: May use 1px solid here. */
123 outline-color: rgb(77, 144, 254);
126 .step-extra-controls > *:not(:first-child) {
127 margin-top: 7px;
130 html[dir=rtl] .step-extra-controls {
131 left: auto;
132 right: 49px;
135 #oobe.autolaunch #autolaunch-confirm-button,
136 #oobe.autolaunch #autolaunch-cancel-button,
137 #oobe.connect #continue-button,
138 #oobe.eula #accept-button,
139 #oobe.eula #back-button,
140 #oobe.kiosk-enable #kiosk-cancel-button,
141 #oobe.kiosk-enable #kiosk-enable-button,
142 #oobe.user-image #ok-button {
143 display: block;
146 #autolaunch-confirm-button,
147 #back-button,
148 #kiosk-enable-button,
149 #reset-button,
150 #password-changed-back-button,
151 #tos-back-button {
152 -webkit-margin-end: 8px;
155 .menu-area {
156 margin: 5px;
159 .menu-control {
160 color: #444;
161 font-family: inherit;
162 line-height: 20px;
163 position: relative;
164 width: 250px;
167 html[highlight=strong] #security-info a:focus,
168 html[highlight=strong] #eula a:focus,
169 html[highlight=strong] .step-extra-controls a:focus,
170 html[highlight=strong] .menu-control:focus,
171 html[highlight=strong] input[type='button']:focus,
172 html[highlight=strong] button:focus {
173 box-shadow: 0 0 23px rgb(77, 144, 254) !important;