OLD | NEW |
1 /* Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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 contains common styling for all the OOBE screens. | 5 * This contains common styling for all the OOBE screens. |
6 */ | 6 */ |
7 | 7 |
8 .step { | 8 .step { |
9 box-sizing: border-box; | 9 box-sizing: border-box; |
10 position: absolute; | 10 position: absolute; |
(...skipping 25 matching lines...) Expand all Loading... |
36 | 36 |
37 .step.fullscreen { | 37 .step.fullscreen { |
38 height: 100%; | 38 height: 100%; |
39 left: 0; | 39 left: 0; |
40 right: 0; | 40 right: 0; |
41 top: 0; | 41 top: 0; |
42 width: 100%; | 42 width: 100%; |
43 } | 43 } |
44 | 44 |
45 .step-controls { | 45 .step-controls { |
46 -webkit-box-pack: end; | |
47 -webkit-padding-end: 34px; /* Double the padding of .step */ | |
48 bottom: 21px; | 46 bottom: 21px; |
49 box-sizing: border-box; | 47 box-sizing: border-box; |
50 display: -webkit-box; | 48 display: flex; |
51 height: 28px; | 49 height: 28px; |
| 50 justify-content: flex-end; |
| 51 padding-right: 34px; /* Double the padding of .step */ |
52 position: absolute; | 52 position: absolute; |
53 width: 100%; | 53 width: 100%; |
54 } | 54 } |
55 | 55 |
| 56 html[dir=rtl] .step-controls { |
| 57 /* Hack as -webkit-padding-end doesn't catch direction. crbug.com/363836 */ |
| 58 padding-left: 34px; |
| 59 } |
| 60 |
56 .animation .step-controls button { | 61 .animation .step-controls button { |
57 /* Don't grey out disabled buttons during animation. */ | 62 /* Don't grey out disabled buttons during animation. */ |
58 color: buttontext !important; | 63 color: buttontext !important; |
59 } | 64 } |
60 | 65 |
61 .step.loading .step-contents, | 66 .step.loading .step-contents, |
62 .step.loading .step-controls, | 67 .step.loading .step-controls, |
63 .step.loading .step-extra-controls { | 68 .step.loading .step-extra-controls { |
64 visibility: hidden; | 69 visibility: hidden; |
65 } | 70 } |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 | 173 |
169 html[highlight=strong] #security-info a:focus, | 174 html[highlight=strong] #security-info a:focus, |
170 html[highlight=strong] #eula a:focus, | 175 html[highlight=strong] #eula a:focus, |
171 html[highlight=strong] .step-extra-controls a:focus, | 176 html[highlight=strong] .step-extra-controls a:focus, |
172 html[highlight=strong] .menu-control:focus, | 177 html[highlight=strong] .menu-control:focus, |
173 html[highlight=strong] input[type='button']:focus, | 178 html[highlight=strong] input[type='button']:focus, |
174 html[highlight=strong] button:focus { | 179 html[highlight=strong] button:focus { |
175 box-shadow: 0 0 23px rgb(77, 144, 254) !important; | 180 box-shadow: 0 0 23px rgb(77, 144, 254) !important; |
176 } | 181 } |
177 | 182 |
OLD | NEW |