/
SidebarWalletMenuItem.scss
97 lines (85 loc) · 1.87 KB
/
SidebarWalletMenuItem.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
@import '../../../themes/mixins/buttons';
@import '../sidebarConfig';
.component {
@include button;
background-color: var(--theme-sidebar-menu-background-color);
color: var(--theme-sidebar-menu-item-wallet-name-color);
display: flex;
flex-direction: row;
height: $sidebar-button-height;
justify-content: space-between;
overflow: hidden;
padding: 0 20px;
position: relative;
width: $sidebar-width - $sidebar-minimized-category-width;
&:hover {
background-color: var(--theme-sidebar-menu-item-background-color-hover);
}
}
.legacyItem {
.title {
padding-right: 58.5px;
}
.meta {
padding-right: 8px;
:global {
.ProgressBar_component {
width: 156px;
}
}
}
}
.active {
background-color: var(--theme-sidebar-menu-item-background-color-active);
&:hover {
background-color: var(--theme-sidebar-menu-item-background-color-active);
cursor: default;
}
}
.meta {
display: flex;
flex-direction: column;
position: relative;
text-align: left;
width: 100%;
:global {
.ProgressBar_component {
left: 0;
margin-top: 6.5px;
position: absolute;
right: 0;
top: 100%;
}
}
}
.title {
color: var(--theme-sidebar-menu-item-wallet-name-color);
font-family: var(--font-regular);
font-size: 18px;
line-height: 1.5em;
margin-top: -5.5px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.info {
color: var(--theme-sidebar-menu-item-wallet-info-color);
font-family: var(--font-light);
font-size: 14px;
letter-spacing: 1px;
opacity: 0.7;
}
.recoveryPhraseVerificationStatus-notification {
&:after {
background: var(--theme-button-attention-background-color);
border-radius: 50%;
content: '';
display: block;
height: 8px;
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-8px);
width: 8px;
}
}