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

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: 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),
tommycli 2016/05/02 16:11:26 It appears that this shares CSS from user_pod_row.
jdufault 2016/05/03 19:21:57 The only way I can think of is to split user_pod_r
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 .btn {
tommycli 2016/05/02 16:11:26 Can we use a more descriptive class name such as "
jdufault 2016/05/03 19:21:57 Done.
31 align-items: center;
32 background: none;
33 border: none;
34 border-radius: 50px;
35 display: flex;
36 font-size: 30px;
37 height: 100px;
38 justify-content: center;
39 margin: 5px;
40 min-width: 100px;
41 width: 100px;
42 }
43
44 .btn inner-text {
45 display: flex;
46 flex-direction: column;
47 height: 52px;
48 }
49
50 .btn inner-text subhead {
51 color: #969696;
tommycli 2016/05/02 16:11:26 Can we use --paper-grey-500 here?
jdufault 2016/05/03 19:21:57 Done.
52 font-size: 16px;
53 }
54
55 #submitContainer {
56 align-items: center;
57 display: flex;
58 height: 100px;
59 justify-content: center;
60 width: 100px;
61 }
62
63 .btn#submitButton {
64 background: rgb(63,132,249);
tommycli 2016/05/02 16:11:27 spaces between commas
jdufault 2016/05/03 19:21:57 Replaced with var(...).
65 color: white;
66 font-size: 20px;
67 height: 60px;
68 margin-bottom: 15px;
69 margin-right: 15px;
70 min-width: 0;
71 width: 60px;
72 }
73
74 .blank-element {
75 flex-grow: 1;
76 }
77
78 #profile-picture {
79 background: lightgray;
80 height: 150px;
81 margin: 10px;
82 }
83
84 #pin-input {
85 -webkit-text-security: disc;
86 border-bottom-color: lightgray;
87 border-left: none;
88 border-right: none;
89 border-top: none;
90 font-size: 20px;
91 height: 30px;
92 margin-top: 10px;
93 text-align: center;
94 width: 95%;
95 }
96 #pin-input[type=number]::-webkit-inner-spin-button,
tommycli 2016/05/02 16:11:26 missing \n above
jdufault 2016/05/03 19:21:57 Done.
97 #pin-input[type=number]::-webkit-outer-spin-button {
98 -webkit-appearance: none;
99 margin: 0;
100 }
101
102 [hidden] {
tommycli 2016/05/02 16:11:27 Why is this necessary?
jdufault 2016/05/03 19:21:57 Removed, stale/unused code.
103 display: none !important;
tommycli 2016/05/02 16:11:26 Why is this necessary?
jdufault 2016/05/03 19:21:57 Removed, stale/unused code.
104 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698