mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
d1e078b8de
* Connect screen popup redesign * Open permission request in notification instead of tab * Remove no longer user locales * Update permissions unit test mock to accout for change of opts passed to permissions controller * Lint fix * Inline broken line svg in permission-page-container-content.component.js for faster loading * Add back button to second screen on connect flow * Add xOfY locale and use for the page count in the connect flow * Lint fix for svgs permission-page-container-content.component.js * Fix rebase error * Lint fix * Clean up styles on the connect-screen-into-popup branch * Use closeCurrentWindow to close window on cancel when in full screen connect flow * Handle errors in rejectPermissionsRequest * Full screen styles for connect flow * Lint fixed in permissions-connect and actions.js * Redirect screen now shows metamask icon instead of users identicon * Fix subtitle spacing in permissions-connect-header' * Use window.close instead of closeCurrentWindow() in cancelPermissionsRequest * Use permissions-connect-header__subtitle in permissions-connect-header.component
187 lines
3.1 KiB
SCSS
187 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%;
|
|
|
|
@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 {
|
|
width: 92%;
|
|
border: 1px solid #D0D5DA;
|
|
box-sizing: border-box;
|
|
border-radius: 8px;
|
|
margin-top: 8px;
|
|
max-height: 238px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
&__accounts-list-header--one-item,
|
|
&__accounts-list-header--two-items {
|
|
display: flex;
|
|
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;
|
|
}
|
|
|
|
&__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;
|
|
|
|
.fa-info-circle, .fa-info-circle:hover {
|
|
color: $silver;
|
|
cursor: pointer;
|
|
margin-left: 8px;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.fa-info-circle {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.fa-info-circle:hover {
|
|
color: $mid-gray;
|
|
}
|
|
}
|
|
|
|
&__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: aliceblue;
|
|
cursor: pointer;
|
|
}
|
|
|
|
&__info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-left: 16px;
|
|
}
|
|
|
|
&__label {
|
|
@extend %content-text;
|
|
color: $Black-100;
|
|
}
|
|
|
|
&__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: 1 1 auto;
|
|
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;
|
|
}
|
|
}
|
|
|
|
} |