| OLD | NEW |
| (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 /* TODO(jdufault): Remove this CSS once we inline the PIN element with the |
| 11 * user-pod. */ |
| 12 #container-constrained-width { |
| 13 -webkit-tap-highlight-color: transparent; |
| 14 background: white; |
| 15 border-radius: 2px; |
| 16 box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), |
| 17 0 2px 6px rgba(0, 0, 0, 0.15), |
| 18 0 3px 0 rgba(0, 0, 0, 0.08); |
| 19 cursor: pointer; |
| 20 flex-direction: column; |
| 21 outline: none; |
| 22 } |
| 23 |
| 24 .row { |
| 25 display: flex; |
| 26 } |
| 27 |
| 28 .row.horizontal-center { |
| 29 justify-content: center; |
| 30 } |
| 31 |
| 32 .digit-button { |
| 33 align-items: center; |
| 34 background: none; |
| 35 border-radius: 50px; |
| 36 display: flex; |
| 37 font-size: 30px; |
| 38 justify-content: center; |
| 39 margin: 5px; |
| 40 min-width: 94px; |
| 41 width: 94px; |
| 42 } |
| 43 |
| 44 .digit-button inner-text { |
| 45 display: flex; |
| 46 flex-direction: column; |
| 47 height: 52px; |
| 48 } |
| 49 |
| 50 .digit-button inner-text subhead { |
| 51 color: var(--paper-grey-500); |
| 52 font-size: 16px; |
| 53 } |
| 54 |
| 55 .digit-button .submit-button { |
| 56 background: var(--paper-blue-a400); |
| 57 color: white; |
| 58 font-size: 20px; |
| 59 height: 60px; |
| 60 min-width: 0; |
| 61 width: 60px; |
| 62 } |
| 63 |
| 64 #pin-input { |
| 65 -webkit-text-security: disc; |
| 66 border-bottom-color: lightgray; |
| 67 border-left: none; |
| 68 border-right: none; |
| 69 border-top: none; |
| 70 font-size: 20px; |
| 71 height: 30px; |
| 72 margin-top: 10px; |
| 73 text-align: center; |
| 74 width: 95%; |
| 75 } |
| 76 |
| 77 #pin-input[type=number]::-webkit-inner-spin-button, |
| 78 #pin-input[type=number]::-webkit-outer-spin-button { |
| 79 -webkit-appearance: none; |
| 80 margin: 0; |
| 81 } |
| 82 |
| 83 /* Ensure that all children of paper-button do not consume events. This |
| 84 * simplifies the event handler code. */ |
| 85 paper-button * { |
| 86 pointer-events: none; |
| 87 } |
| OLD | NEW |