aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/style.css
blob: 5ce3d34cd912e42f93b55e8258796a9a12ed4f92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
@import url('https://fonts.googleapis.com/css?family=Source+Code+Pro');

#print-area {
  border-color: #aaa;
  border-style: dashed;
  margin-bottom: 2em;
  margin-top: 2em;
  padding: 1em;
}

.details {
  display: flex;
  align-items: center;
}

.qrcode {
  margin-bottom: 1em;
}

textarea {
  background-color: #fff;
  border: solid 1px #ddd;
  font-family: 'Source Code Pro', serif;
  font-size: 1.3em;
  font-weight: bold;
  height: 3em;
  overflow: hidden;
  resize: none;
}

button {
  height: 50px;
  width: 180px;
}

button#print {
  color: #fff;
  background-color: #0074d9;
  border-color: #0074d9;
}

button#rotate {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}

@media print {
  body * {
    visibility: hidden;
  }
  #print-area,
  #print-area * {
    visibility: visible;
  }
  #print-area textarea {
    border: none;
  }
  .no-print {
    display: none;
  }
  #print-area {
    position: absolute;
    left: 0;
    top: 0;
  }
}