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

Side by Side Diff: chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.css

Issue 2027683003: Pin keyboard moved to under the user profile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Created 4 years, 6 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
OLDNEW
(Empty)
1 /* Copyright 2016 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.
4 *
5 * This is the stylesheet used by the pin keyboard on the lock screen.
6 */
7
jdufault 2016/05/31 19:24:51 Is there a reason to move the css into it's own fi
sammiequon 2016/06/14 22:22:21 Done. Reverted back to inline css.
8 #root {
9 display: flex;
10 }
11
12 .pod #pin-container {
13 display: block;
14 height: 60%;
15 position: absolute;
16 top: 40%;
17 width: 100%;
18 }
19
20 /* TODO(jdufault): Remove this CSS once we inline the PIN element with the
21 * user-pod. */
22 #container-constrained-width {
23 -webkit-tap-highlight-color: transparent;
24 background: white;
25 cursor: pointer;
26 flex-direction: column;
27 outline: none;
28 width: 100%;
29 }
30
31 .row {
32 display: flex;
33 width: 100%;
34 }
35
36 .row.horizontal-center {
37 height: 16%;
38 justify-content: center;
39 }
40
41 .row.keyboard {
42 height: 21%;
43 }
44
45 .digit-button {
46 align-items: center;
47 background: none;
48 display: flex;
49 justify-content: center;
50 }
51
52 .row.keyboard paper-button {
53 display: block;
54 margin: 0 0 0 0;
55 min-height: 20px;
56 min-width: 20px;
57 position: relative;
58 width: 34%;
59 }
60
61 .digit-button inner-text {
62 display: flex;
63 flex-direction: column;
64 font-size: 34px;
65 text-align: center;
66 }
67
68 .digit-button inner-text subhead {
69 color: var(--paper-grey-500);
70 font-size: 12px;
71 }
72
73 .digit-button .submit-button .clear-button {
74 background: var(--paper-blue-a400);
75 color: white;
76 font-size: 50px;
77 min-width: 0;
78 }
79
80 .digit-button.clear-button {
81 display: block;
82 height: 100%;
83 margin: 0 0 0 0;
84 padding: 10% 10% 10% 10%;
85 position: relative;
86 width: 34%;
87 }
88
89 .row.keyboard paper-button[value='0'] {
90 width: 34%;
91 }
92
93 #pin-input {
94 -webkit-text-security: disc;
95 display: flex;
96 font-size: 16px;
97 height: 100%;
98 text-align: center;
99 width: 100%;
100 }
101
102 #pin-input[type=number]::-webkit-inner-spin-button,
103 #pin-input[type=number]::-webkit-outer-spin-button {
104 -webkit-appearance: none;
105 margin: 0;
106 }
107
108 /* Ensure that all children of paper-button do not consume events. This
109 * simplifies the event handler code. */
110 paper-button * {
111 pointer-events: none;
112 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698