-
Notifications
You must be signed in to change notification settings - Fork 96
/
Copy pathinfo.module.css
105 lines (84 loc) · 1.72 KB
/
info.module.css
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
.title {
font-size: var(--header-default-font-size);
font-weight: 400;
}
.nextButton {
background: transparent;
border: none;
color: var(--color-primary);
cursor: pointer;
font-size: inherit;
padding: 2px;
text-align: left;
margin: 0 0 0 -2px;
}
.details {
font-size: var(--size-default);
margin-bottom: var(--space-default);
}
.qrCode {
min-height: 260px;
text-align: center;
}
.qrCode img {
height: auto;
max-width: 100%;
}
.address {
}
.buttons {
clear: both;
display: flex;
justify-content: space-between;
min-height: 56px;
}
.verifyButton {
order: 2;
}
.entry {
align-items: baseline;
display: flex;
justify-content: space-between;
margin-bottom: var(--space-half);
}
@media screen and (min-width: 640px) {
.xPubInfo {
max-width: calc(100% - 218px);
}
.details {
display: flex;
flex-direction: column;
/* QRcode is 256px with 2 x 38px white border = 180px */
min-height: 180px;
}
.entry:first-child {
margin-top: 0;
}
.qrCode {
float: right;
position: relative;
/* QRCode image has 38px white border */
top: -38px;
right: calc(-1 * var(--space-default));
}
}
@media (max-width: 640px) {
.infoContent {
width: 100%;
}
.largeEntry {
align-items: stretch;
flex-direction: column;
}
.largeEntry strong {
display: block;
margin-bottom: var(--space-quarter);
}
.addressField input {
font-size: var(--size-small);
}
.qrCode {
margin-left: calc(-1 * var(--space-default));
margin-right: calc(-1 * var(--space-default));
}
}