/
WalletSummaryAsset.scss
102 lines (96 loc) · 1.86 KB
/
WalletSummaryAsset.scss
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
.component {
border-bottom: 1px solid rgba(94, 96, 102, 0.15);
&.isExpanded {
background-color: var(--theme-button-flat-background-color-hover);
.content {
display: block;
}
}
}
.header {
display: flex;
justify-content: space-between;
padding: 7px 42px 7px 12px;
cursor: pointer;
position: relative;
.assetAmount {
color: #5e6066;
font-family: var(--font-regular);
font-size: 12px;
letter-spacing: 0.4px;
line-height: 1.33;
margin: 3px 0;
white-space: nowrap;
}
}
.arrow {
bottom: 10px;
height: 22px;
opacity: 0.3;
position: absolute;
right: 12px;
text-align: center;
width: 12px;
z-index: 1;
top: 7px;
> svg {
height: 7px;
width: 12px;
margin-top: 8px;
path {
stroke: var(--theme-transactions-arrow-stroke-color);
}
}
.header:hover & {
opacity: 0.5;
}
&.isExpanded {
transform: rotate(180deg);
}
}
.content {
display: none;
margin: 13px 12px 20px;
}
.footer {
border-top: 1px solid var(--theme-wallet-settings-section-separator-color);
color: var(--theme-widgets-asset-token-text-color);
display: flex;
justify-content: space-between;
margin-top: 20px;
padding-top: 20px;
dl {
line-height: 1;
padding: 9px 0 0 8px;
width: calc(100% - 264px);
}
dt {
display: inline-block;
font-family: var(--font-medium);
font-size: 12px;
line-height: 1.33;
text-align: right;
white-space: nowrap;
width: 67px;
}
dd {
display: inline-flex;
font-family: var(--font-light);
font-size: 12px;
line-height: 16px;
margin-left: 10px;
background: lightblue;
width: calc(100% - 74px);
word-wrap: break-word;
word-break: break-all;
white-space: normal;
}
.footerButtons {
white-space: nowrap;
.button {
height: 36px;
margin-left: 12px;
width: 120px;
}
}
}