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

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

Issue 1933913002: Add a very basic PIN UI implementation that is shared between lock and settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Address comments, add TODOs Created 4 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
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
6 #root {
7 display: flex;
8 }
9
10 #container-constrained-width {
11 -webkit-tap-highlight-color: transparent;
12 background: white;
13 border-radius: 2px;
14 box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2),
15 0 2px 6px rgba(0, 0, 0, 0.15),
16 0 3px 0 rgba(0, 0, 0, 0.08);
17 cursor: pointer;
18 flex-direction: column;
19 outline: none;
20 }
21
22 .row {
23 display: flex;
24 }
25
26 .row.horizontal-center {
27 justify-content: center;
28 }
29
30 .digit-button {
31 align-items: center;
32 background: none;
33 border-radius: 50px;
34 display: flex;
35 font-size: 30px;
36 justify-content: center;
37 margin: 5px;
38 min-width: 94px;
39 width: 94px;
40 }
41
42 .digit-button inner-text {
43 display: flex;
44 flex-direction: column;
45 height: 52px;
46 }
47
48 .digit-button inner-text subhead {
49 color: var(--paper-grey-500);
50 font-size: 16px;
51 }
52
53 .digit-button .submit-button {
54 background: var(--paper-blue-a400);
55 color: white;
56 font-size: 20px;
57 height: 60px;
58 min-width: 0;
59 width: 60px;
60 }
61
62 #profile-picture {
63 background: lightgray;
64 height: 150px;
65 margin: 10px;
66 }
67
68 #pin-input {
69 -webkit-text-security: disc;
70 border-bottom-color: lightgray;
71 border-left: none;
72 border-right: none;
73 border-top: none;
74 font-size: 20px;
75 height: 30px;
76 margin-top: 10px;
77 text-align: center;
78 width: 95%;
79 }
80
81 #pin-input[type=number]::-webkit-inner-spin-button,
82 #pin-input[type=number]::-webkit-outer-spin-button {
83 -webkit-appearance: none;
84 margin: 0;
85 }
86
87 /* Ensure that all children of paper-button do not consume events. This
88 * simplifies the event handler code. */
89 paper-button * {
90 pointer-events: none;
91 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698