Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(297)

Side by Side Diff: chrome/browser/resources/chromeos/login/oobe_screen.css

Issue 273643002: Css support-hack for improper webkit-padding-end behaviour. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Switched to flex. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698