diff options
Diffstat (limited to 'src/components/style.css')
| -rw-r--r-- | src/components/style.css | 37 |
1 files changed, 24 insertions, 13 deletions
diff --git a/src/components/style.css b/src/components/style.css index 4feb1d6..c1b78be 100644 --- a/src/components/style.css +++ b/src/components/style.css | |||
| @@ -1,20 +1,23 @@ | |||
| 1 | @import url('https://fonts.googleapis.com/css?family=Source+Code+Pro'); | 1 | @import url('https://fonts.googleapis.com/css?family=Source+Code+Pro'); |
| 2 | 2 | ||
| 3 | #print-area { | 3 | #print-area { |
| 4 | border-color: #aaa; | ||
| 5 | border-style: dashed; | ||
| 6 | margin-bottom: 2em; | ||
| 4 | margin-top: 2em; | 7 | margin-top: 2em; |
| 5 | padding: 1em; | 8 | padding: 1em; |
| 6 | } | 9 | } |
| 10 | |||
| 7 | .details { | 11 | .details { |
| 8 | display: flex; | 12 | display: flex; |
| 9 | padding: 1em; | 13 | align-items: center; |
| 10 | } | 14 | } |
| 11 | .details .text { | 15 | |
| 12 | margin: 0; | 16 | .qrcode { |
| 13 | } | 17 | margin-bottom: 1em; |
| 14 | .details .text * { | ||
| 15 | margin: 0 1em; | ||
| 16 | } | 18 | } |
| 17 | .details .text textarea { | 19 | |
| 20 | textarea { | ||
| 18 | background-color: #fff; | 21 | background-color: #fff; |
| 19 | border: solid 1px #ddd; | 22 | border: solid 1px #ddd; |
| 20 | font-family: 'Source Code Pro', serif; | 23 | font-family: 'Source Code Pro', serif; |
| @@ -24,14 +27,22 @@ | |||
| 24 | overflow: hidden; | 27 | overflow: hidden; |
| 25 | resize: none; | 28 | resize: none; |
| 26 | } | 29 | } |
| 27 | .print-btn { | 30 | |
| 28 | padding-top: 2em; | 31 | button { |
| 29 | } | ||
| 30 | .print-btn button { | ||
| 31 | color: #fff; | ||
| 32 | height: 50px; | 32 | height: 50px; |
| 33 | width: 180px; | 33 | width: 180px; |
| 34 | } | ||
| 35 | |||
| 36 | button#print { | ||
| 37 | color: #fff; | ||
| 34 | background-color: #0074d9; | 38 | background-color: #0074d9; |
| 39 | border-color: #0074d9; | ||
| 40 | } | ||
| 41 | |||
| 42 | button#rotate { | ||
| 43 | color: #fff; | ||
| 44 | background-color: #6c757d; | ||
| 45 | border-color: #6c757d; | ||
| 35 | } | 46 | } |
| 36 | 47 | ||
| 37 | @media print { | 48 | @media print { |
| @@ -42,7 +53,7 @@ | |||
| 42 | #print-area * { | 53 | #print-area * { |
| 43 | visibility: visible; | 54 | visibility: visible; |
| 44 | } | 55 | } |
| 45 | #print-area input { | 56 | #print-area textarea { |
| 46 | border: none; | 57 | border: none; |
| 47 | } | 58 | } |
| 48 | #print-area { | 59 | #print-area { |
