1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-24 11:01:41 +01:00
metamask-extension/ui/app/pages/permissions-connect/choose-account/index.scss
2020-05-28 12:22:16 -02:30

190 lines
3.1 KiB
SCSS

.permissions-connect-choose-account {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
margin-left: auto;
margin-right: auto;
height: 100%;
.fa-info-circle {
color: $Grey-200;
cursor: pointer;
margin-left: 8px;
font-size: 0.9rem;
}
.fa-info-circle:hover {
color: $Grey-300;
}
@media screen and (min-width: 576px) {
width: 426px;
}
&__title {
@extend %header--18;
}
&__text, &__text-blue, &__text-grey {
@extend %content-text;
}
&__text-blue {
color: $curious-blue;
cursor: pointer;
}
&__text-grey {
color: $Grey-500;
}
&__accounts-list {
flex: 1 1 0;
width: 92%;
border: 1px solid #D0D5DA;
box-sizing: border-box;
border-radius: 8px;
margin-top: 8px;
overflow-y: auto;
}
&__accounts-list-header--one-item,
&__accounts-list-header--two-items {
display: flex;
flex: 0;
margin-top: 36px;
width: 100%;
padding-left: 15px;
padding-right: 17px;
}
&__accounts-list-header--one-item {
justify-content: flex-end;
}
&__accounts-list-header--two-items {
justify-content: space-between;
}
&__account-info-wrapper {
display: flex;
justify-content: flex-start;
align-items: center;
min-width:0;
}
&__list-check-box {
margin-right: 16px;
i {
font-size: 0.8rem;
}
}
&__header-check-box {
margin-right: 16px;
}
&__select-all {
display: flex;
margin-left: 16px;
align-items: center;
}
&__account {
display: flex;
align-items: center;
padding: 16px;
border-bottom: 1px solid #D2D8DD;
justify-content: space-between;
&:last-of-type {
border-bottom: none;
}
&:hover {
background: $Grey-000;
cursor: pointer;
}
&__info {
display: flex;
flex-direction: column;
margin-left: 16px;
min-width: 0;
}
&__label {
@extend %content-text;
color: $Black-100;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
&__balance {
@extend %content-text;
font-size: 12px;
color: $Grey-500;
}
&__last-connected {
@extend %content-text;
font-size: 10px;
line-height: 140.62%;
display: flex;
flex-direction: column;
align-items: flex-end;
color: #037DD6;
}
}
&__cancel {
color: $Red-400;
}
&__footer-container {
width: 100%;
flex: 0;
display: flex;
flex-direction: column;
justify-content: flex-end;
@media screen and (min-width: 576px) {
flex-direction: column-reverse;
justify-content: space-between;
padding-bottom: 20px;
}
}
&__bottom-buttons {
display: flex;
justify-content: space-between;
width: 100%;
padding-top: 16px;
padding-bottom: 16px;
margin-top: 8px;
border-top: 1px solid #D6D9DC;
@media screen and (min-width: 576px) {
border-top: none;
}
button {
width: 124px;
}
.btn-default {
background: white;
margin-left: 16px;
}
.btn-primary {
margin-right: 16px;
}
}
}