You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
266 lines
4.3 KiB
266 lines
4.3 KiB
7 years ago
|
.account-menu {
|
||
|
position: fixed;
|
||
|
z-index: 100;
|
||
|
top: 58px;
|
||
5 years ago
|
width: 320px;
|
||
4 years ago
|
border-radius: 4px;
|
||
|
background: rgba($black, 0.8);
|
||
|
box-shadow: rgba($black, 0.15) 0 2px 2px 2px;
|
||
|
min-width: 150px;
|
||
|
color: $white;
|
||
7 years ago
|
|
||
|
@media screen and (max-width: 575px) {
|
||
7 years ago
|
right: calc(((100vw - 100%) / 2) + 8px);
|
||
7 years ago
|
}
|
||
|
|
||
|
@media screen and (min-width: 576px) {
|
||
|
right: calc((100vw - 85vw) / 2);
|
||
|
}
|
||
|
|
||
|
@media screen and (min-width: 769px) {
|
||
|
right: calc((100vw - 80vw) / 2);
|
||
|
}
|
||
|
|
||
|
@media screen and (min-width: 1281px) {
|
||
|
right: calc((100vw - 65vw) / 2);
|
||
|
}
|
||
|
|
||
4 years ago
|
&__item {
|
||
|
padding: 18px;
|
||
|
display: flex;
|
||
|
flex-flow: row wrap;
|
||
|
align-items: center;
|
||
|
position: relative;
|
||
|
z-index: 201;
|
||
|
|
||
|
@media screen and (max-width: 575px) {
|
||
|
padding: 14px;
|
||
|
}
|
||
|
|
||
|
&--clickable {
|
||
|
cursor: pointer;
|
||
|
|
||
|
&:hover {
|
||
|
background-color: rgba($white, 0.05);
|
||
|
}
|
||
|
|
||
|
&:active {
|
||
|
background-color: rgba($white, 0.1);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&__icon {
|
||
|
height: 16px;
|
||
|
width: 16px;
|
||
|
margin-right: 14px;
|
||
|
}
|
||
|
|
||
|
&__text {
|
||
4 years ago
|
@include Paragraph;
|
||
4 years ago
|
}
|
||
|
|
||
|
&__subtext {
|
||
4 years ago
|
@include H7;
|
||
|
|
||
4 years ago
|
padding: 5px 0 0 30px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&__divider {
|
||
|
background-color: $scorpion;
|
||
|
width: 100%;
|
||
|
height: 1px;
|
||
|
}
|
||
|
|
||
|
&__close-area {
|
||
|
position: fixed;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
z-index: 100;
|
||
|
}
|
||
|
|
||
7 years ago
|
&__icon {
|
||
6 years ago
|
margin-left: 1rem;
|
||
7 years ago
|
cursor: pointer;
|
||
7 years ago
|
|
||
|
&--disabled {
|
||
|
cursor: initial;
|
||
|
}
|
||
7 years ago
|
}
|
||
|
|
||
7 years ago
|
&__header {
|
||
|
display: flex;
|
||
|
flex-flow: row nowrap;
|
||
|
justify-content: space-between;
|
||
|
align-items: center;
|
||
|
}
|
||
|
|
||
5 years ago
|
&__lock-button {
|
||
4 years ago
|
@include H7;
|
||
|
|
||
7 years ago
|
border: 1px solid $dusty-gray;
|
||
|
background-color: transparent;
|
||
|
color: $white;
|
||
|
border-radius: 4px;
|
||
4 years ago
|
padding: 3.5px 24px;
|
||
7 years ago
|
}
|
||
|
|
||
7 years ago
|
&__item-icon {
|
||
7 years ago
|
width: 16px;
|
||
|
height: 16px;
|
||
|
}
|
||
7 years ago
|
|
||
5 years ago
|
&__accounts-container {
|
||
7 years ago
|
display: flex;
|
||
5 years ago
|
position: relative;
|
||
5 years ago
|
flex-direction: column;
|
||
7 years ago
|
z-index: 200;
|
||
5 years ago
|
|
||
|
@media (max-height: 600px) {
|
||
|
max-height: 236px;
|
||
|
}
|
||
5 years ago
|
}
|
||
|
|
||
|
&__accounts {
|
||
|
overflow-y: auto;
|
||
|
position: relative;
|
||
5 years ago
|
max-height: 256px;
|
||
|
scrollbar-width: none;
|
||
5 years ago
|
|
||
|
&::-webkit-scrollbar {
|
||
|
display: none;
|
||
|
}
|
||
7 years ago
|
|
||
5 years ago
|
@media screen and (max-width: 575px) {
|
||
|
max-height: 228px;
|
||
|
}
|
||
|
|
||
7 years ago
|
.keyring-label {
|
||
4 years ago
|
@include H9;
|
||
|
|
||
4 years ago
|
z-index: 1;
|
||
|
border-radius: 10px;
|
||
|
padding: 4px;
|
||
|
text-align: center;
|
||
|
height: 15px;
|
||
7 years ago
|
margin-top: 5px;
|
||
5 years ago
|
margin-right: 10px;
|
||
7 years ago
|
background-color: $dusty-gray;
|
||
|
color: $black;
|
||
|
font-weight: normal;
|
||
4 years ago
|
letter-spacing: 0.5px;
|
||
4 years ago
|
display: flex;
|
||
|
align-items: center;
|
||
7 years ago
|
}
|
||
|
}
|
||
|
|
||
5 years ago
|
&__no-accounts {
|
||
4 years ago
|
@include H6;
|
||
|
|
||
5 years ago
|
padding: 16px 14px;
|
||
|
}
|
||
|
|
||
7 years ago
|
&__account {
|
||
|
display: flex;
|
||
|
flex-flow: row nowrap;
|
||
|
padding: 16px 14px;
|
||
|
flex: 0 0 auto;
|
||
|
|
||
|
@media screen and (max-width: 575px) {
|
||
|
padding: 12px 14px;
|
||
|
}
|
||
6 years ago
|
|
||
6 years ago
|
.remove-account-icon {
|
||
6 years ago
|
width: 15px;
|
||
|
margin-left: 10px;
|
||
|
height: 15px;
|
||
6 years ago
|
}
|
||
|
|
||
|
&:hover {
|
||
6 years ago
|
.remove-account-icon::after {
|
||
6 years ago
|
content: '\00D7';
|
||
|
font-size: 25px;
|
||
|
color: $white;
|
||
|
cursor: pointer;
|
||
|
position: absolute;
|
||
|
margin-top: -5px;
|
||
|
}
|
||
|
}
|
||
7 years ago
|
}
|
||
|
|
||
|
&__account-info {
|
||
|
flex: 1 0 auto;
|
||
|
display: flex;
|
||
|
flex-flow: column nowrap;
|
||
|
}
|
||
|
|
||
|
&__check-mark {
|
||
|
width: 14px;
|
||
7 years ago
|
margin-right: 12px;
|
||
7 years ago
|
flex: 0 0 auto;
|
||
|
}
|
||
|
|
||
7 years ago
|
&__check-mark-icon {
|
||
4 years ago
|
background-image: url("/images/check-white.svg");
|
||
7 years ago
|
height: 18px;
|
||
|
width: 18px;
|
||
|
background-repeat: no-repeat;
|
||
|
background-position: center;
|
||
|
background-size: contain;
|
||
|
margin: 3px 0;
|
||
|
}
|
||
|
|
||
7 years ago
|
.identicon {
|
||
|
margin: 0 12px 0 0;
|
||
|
flex: 0 0 auto;
|
||
|
}
|
||
|
|
||
|
&__name {
|
||
4 years ago
|
@include H4;
|
||
|
|
||
7 years ago
|
color: $white;
|
||
7 years ago
|
text-overflow: ellipsis;
|
||
|
overflow: hidden;
|
||
|
white-space: nowrap;
|
||
|
max-width: 200px;
|
||
7 years ago
|
}
|
||
|
|
||
|
&__balance {
|
||
4 years ago
|
@include H6;
|
||
|
|
||
7 years ago
|
color: $dusty-gray;
|
||
|
}
|
||
|
|
||
|
&__action {
|
||
4 years ago
|
@include Paragraph;
|
||
|
|
||
7 years ago
|
cursor: pointer;
|
||
7 years ago
|
}
|
||
6 years ago
|
|
||
|
&__scroll-button {
|
||
|
position: absolute;
|
||
|
bottom: 12px;
|
||
|
right: 12px;
|
||
|
height: 28px;
|
||
|
width: 28px;
|
||
|
border-radius: 14px;
|
||
|
background: #3f3f3f;
|
||
|
z-index: 201;
|
||
|
cursor: pointer;
|
||
4 years ago
|
opacity: 0.8;
|
||
6 years ago
|
display: flex;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
|
||
|
&:hover {
|
||
|
opacity: 1;
|
||
|
}
|
||
|
}
|
||
5 years ago
|
|
||
|
&__icon-list {
|
||
|
display: flex;
|
||
|
}
|
||
7 years ago
|
}
|