Connect flow via popup (#8269)
* 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.componentfeature/default_network_editable
parent
d8e0c9edd9
commit
d1e078b8de
Before Width: | Height: | Size: 188 B |
@ -1,25 +1,44 @@ |
|||||||
@import 'permissions-connect-footer/index'; |
|
||||||
|
|
||||||
@import 'choose-account/index'; |
@import 'choose-account/index'; |
||||||
|
|
||||||
.permissions-connect { |
.permissions-connect { |
||||||
width: 100%; |
width: 100%; |
||||||
|
height: 100%; |
||||||
position: relative; |
position: relative; |
||||||
background: white; |
background: white; |
||||||
|
|
||||||
&__page-count-wrapper { |
|
||||||
margin-top: 26px; |
|
||||||
margin-left: 20px; |
|
||||||
display: flex; |
display: flex; |
||||||
justify-content: flex-end; |
flex-direction: column; |
||||||
align-items: flex-end; |
|
||||||
|
@media screen and (min-width: 576px) { |
||||||
|
.page-container { |
||||||
|
max-height: none; |
||||||
|
min-height: auto; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
&__top-bar { |
||||||
|
display: grid; |
||||||
|
grid-template-columns: 1fr 1fr; |
||||||
|
padding: 16px 16px 0px 16px; |
||||||
|
align-items: center; |
||||||
|
} |
||||||
|
|
||||||
|
&__back { |
||||||
|
@extend %content-text; |
||||||
|
color: $curious-blue; |
||||||
|
cursor: pointer; |
||||||
|
|
||||||
|
i { |
||||||
|
margin-right: 10px; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
&__page-count { |
&__page-count { |
||||||
@extend %content-text; |
@extend %content-text; |
||||||
margin-right: 30px; |
|
||||||
font-size: 12px; |
font-size: 12px; |
||||||
line-height: 17px; |
|
||||||
color: #6A737D; |
color: #6A737D; |
||||||
} |
grid-column: 2; |
||||||
|
justify-self: end; |
||||||
|
font-weight: bold; |
||||||
|
line-height: 21px; |
||||||
} |
} |
||||||
} |
} |
||||||
|
Loading…
Reference in new issue