| 1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
| 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
| 3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
| 4 | |
| 5 | html, body { |
| 6 | background: #000000; |
| 7 | color: #FF9F00; |
| 8 | } |
| 9 | |
| 10 | body { |
| 11 | display: flex; |
| 12 | flex-direction: column; |
| 13 | height: 90%; |
| 14 | } |
| 15 | |
| 16 | div { |
| 17 | margin-bottom: 1em; |
| 18 | } |
| 19 | |
| 20 | #qr-code { |
| 21 | flex: 1; |
| 22 | display: flex; |
| 23 | flex-direction: column; |
| 24 | align-items: center; |
| 25 | } |
| 26 | |
| 27 | #qr-code-wrapper { |
| 28 | flex: 1; |
| 29 | width: 100%; |
| 30 | margin: 2em 0; |
| 31 | text-align: center; |
| 32 | } |
| 33 | |
| 34 | #qr-code img { |
| 35 | height: 100%; |
| 36 | } |
| 37 | |
| 38 | .toggle-scanner { |
| 39 | color: #008484; |
| 40 | font-size: small; |
| 41 | cursor: pointer; |
| 42 | border-bottom: 1px dotted; |
| 43 | } |
| 44 | |
| 45 | #token { |
| 46 | display: none; |
| 47 | } |
| 48 | |
| 49 | body[token] > #token { |
| 50 | display: flex; |
| 51 | flex-direction: column; |
| 52 | } |
| 53 | |
| 54 | body[token] > #qr-code { |
| 55 | display: none; |
| 56 | } |
| 57 | |
| 58 | #token pre, |
| 59 | #token a { |
| 60 | align-self: center; |
| 61 | } |
| 62 | |
| 63 | #qr-size-note { |
| 64 | text-align: center |
| 65 | } |