forked from BitBoxSwiss/bitbox-wallet-app
/
account.module.css
91 lines (82 loc) · 1.83 KB
/
account.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
.container {
max-width: 100%;
width: 100%;
min-height: 100%;
padding: 0;
margin: 0 auto;
display: flex;
flex-direction: column;
justify-content: flex-start;
}
.header {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: flex-start;
flex: none;
margin: 0 auto;
padding: var(--spacing-large) var(--spacing-large) 0 var(--spacing-large);
width: 800px;
}
.actionsContainer {
display: flex;
transform: translateY(-36%);
}
.buy,
.receive,
.send {
background-color: var(--color-blue);
border-radius: 2px;
color: var(--color-alt);
display: inline-block;
font-size: var(--size-default);
height: calc(var(--item-height) / 1.5);
line-height: calc(var(--item-height) / 1.5);
padding: 0 var(--space-half);
text-align: center;
text-decoration: none;
transition: background-color ease-out 0.2s;
width: calc(var(--item-height) * 2);
will-change: background-color;
}
.receive,
.send {
margin-right: var(--space-quarter);
}
.buy:hover,
.receive:hover,
.send:not(.disabled):hover {
background-color: var(--color-lightblue);
}
.send.disabled {
cursor: default;
opacity: 0.4;
}
.accountIcon {
width: 18px;
height: 18px;
margin-right: calc(var(--space-quarter) / 2);
}
@media (max-width: 768px) {
.actionsContainer {
flex: 0 0 91%;
justify-content: space-between;
margin-bottom: var(--space-default);
max-width: 91%;
transform: none;
width: 91%;
}
.actionsContainer a {
flex: 1 0 30%;
margin-right: 0;
max-width: 30%;
}
.send,
.receive,
.buy {
font-size: var(--size-small);
width: auto;
height: calc(var(--item-height) / 2);
line-height: calc(var(--item-height) / 2);
}
}