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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
@import "~src/styles/variables";
:host {
display: block;
}
.commitments {
display: flex;
flex-direction: column;
& &__container {
max-height: 400px;
margin: 0 -24px;
}
& &__header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 8px;
}
& &__zero-balances {
display: inline-flex;
align-items: center;
gap: 8px;
color: $offshift-primary-color;
cursor: pointer;
> span.material-icons {
font-size: 16px;
}
> span:not(.material-icons) {
font-weight: 600;
font-size: 12px;
line-height: 19px;
}
}
& &__content {
tr > th > div > span {
opacity: 0.7;
color: #1B0D3D;
}
tr > th > div > .commitments__zero-balances {
color: $offshift-primary-color;
cursor: pointer;
}
tr > th > div > span,
tr > th > div > div {
font-weight: 600;
font-size: 12px;
line-height: 19px;
}
tr > th,
tr > td {
background-color: #FFFFFF;
border: 0;
}
tr > th:first-of-type,
tr > td:first-of-type {
width: 20px;
padding-right: 0;
padding-left: 24px;
}
tr > th:last-of-type,
tr > td:last-of-type {
padding-right: 24px;
padding-top: 6px;
padding-bottom: 6px;
}
tr > th:last-of-type > div,
tr > td:last-of-type > div {
display: flex;
align-items: center;
justify-content: space-between;
}
tr > td:last-of-type > div {
background: rgba(27, 13, 61, 0.05);
border-radius: 4px;
padding: 16px;
}
}
& &__footer {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 0;
}
& &__text {
font-weight: 600;
font-size: 16px;
line-height: 26px;
color: #1B0D3D;
}
& &__balance {
display: flex;
flex-direction: column;
align-items: flex-end;
}
& &__balance-usd {
font-weight: 600;
font-size: 12px;
line-height: 19px;
color: #1B0D3D;
opacity: 0.7;
}
& &__button {
width: 100%;
}
}
.token {
display: inline-flex;
align-items: center;
gap: 4px;
& &__icon {
width: 16px;
height: 16px;
> img {
width: 100%;
height: 100%;
}
}
& &__amount {
font-weight: 600;
font-size: 16px;
line-height: 26px;
color: #1B0D3D;
}
}