diff options
Diffstat (limited to 'src/components/style.css')
| -rw-r--r-- | src/components/style.css | 46 |
1 files changed, 21 insertions, 25 deletions
diff --git a/src/components/style.css b/src/components/style.css index c9dbb54..fa931bb 100644 --- a/src/components/style.css +++ b/src/components/style.css | |||
| @@ -2,8 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | #print-area { | 3 | #print-area { |
| 4 | border-color: #aaa; | 4 | border-color: #aaa; |
| 5 | border-style: dashed; | 5 | margin-bottom: 1em; |
| 6 | margin-bottom: 2em; | ||
| 7 | margin-top: 2em; | 6 | margin-top: 2em; |
| 8 | padding: 1em; | 7 | padding: 1em; |
| 9 | } | 8 | } |
| @@ -16,39 +15,39 @@ | |||
| 16 | .qrcode { | 15 | .qrcode { |
| 17 | margin-bottom: 1em; | 16 | margin-bottom: 1em; |
| 18 | max-width: 175px; | 17 | max-width: 175px; |
| 19 | min-width: 175px; | ||
| 20 | } | 18 | } |
| 21 | 19 | ||
| 22 | .hidden { | 20 | .hidden { |
| 23 | display: none; | 21 | display: none; |
| 24 | } | 22 | } |
| 25 | |||
| 26 | textarea { | 23 | textarea { |
| 27 | background-color: #fff; | 24 | background-color: #fff; |
| 28 | border: solid 1px #ddd; | 25 | border: solid 1px #ddd; |
| 29 | font-family: 'Source Code Pro', serif; | 26 | font-family: 'Source Code Pro', serif !important; |
| 30 | font-size: 1.3em; | 27 | font-size: 1em !important; |
| 31 | font-weight: bold; | 28 | font-weight: bold !important; |
| 32 | height: 3em; | 29 | margin-bottom: 0; |
| 30 | height: 40px !important; | ||
| 31 | min-height: 0px !important; | ||
| 33 | overflow: hidden; | 32 | overflow: hidden; |
| 34 | resize: none; | 33 | resize: none; |
| 35 | } | 34 | } |
| 35 | textarea#password { | ||
| 36 | height: 60px !important; | ||
| 37 | } | ||
| 38 | |||
| 39 | hr { | ||
| 40 | margin-top: 0; | ||
| 41 | } | ||
| 36 | 42 | ||
| 37 | button { | 43 | button { |
| 38 | height: 50px; | 44 | height: 50px; |
| 39 | width: 180px; | 45 | width: 180px; |
| 40 | } | 46 | } |
| 41 | 47 | ||
| 42 | button#print { | 48 | #settings { |
| 43 | color: #fff; | 49 | margin-bottom: 1em; |
| 44 | background-color: #0074d9; | 50 | padding: 1em; |
| 45 | border-color: #0074d9; | ||
| 46 | } | ||
| 47 | |||
| 48 | button#rotate { | ||
| 49 | color: #fff; | ||
| 50 | background-color: #6c757d; | ||
| 51 | border-color: #6c757d; | ||
| 52 | } | 51 | } |
| 53 | 52 | ||
| 54 | @media print { | 53 | @media print { |
| @@ -59,19 +58,16 @@ button#rotate { | |||
| 59 | #print-area * { | 58 | #print-area * { |
| 60 | visibility: visible; | 59 | visibility: visible; |
| 61 | } | 60 | } |
| 61 | #print-area { | ||
| 62 | border-style: dashed; | ||
| 63 | box-shadow: none; | ||
| 64 | } | ||
| 62 | #print-area textarea { | 65 | #print-area textarea { |
| 63 | border: none; | 66 | border: none; |
| 64 | } | 67 | } |
| 65 | .no-print { | ||
| 66 | display: none; | ||
| 67 | } | ||
| 68 | #print-area { | 68 | #print-area { |
| 69 | position: absolute; | 69 | position: absolute; |
| 70 | left: 0; | 70 | left: 0; |
| 71 | top: 0; | 71 | top: 0; |
| 72 | } | 72 | } |
| 73 | } | 73 | } |
| 74 | |||
| 75 | hr { | ||
| 76 | margin-top: 25px; | ||
| 77 | } | ||
