1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-23 11:46:13 +02:00
metamask-extension/ui/app/pages/permissions-connect/index.scss
Dan J Miller d1e078b8de
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.component
2020-04-07 16:08:15 -02:30

45 lines
742 B
SCSS

@import 'choose-account/index';
.permissions-connect {
width: 100%;
height: 100%;
position: relative;
background: white;
display: flex;
flex-direction: column;
@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 {
@extend %content-text;
font-size: 12px;
color: #6A737D;
grid-column: 2;
justify-self: end;
font-weight: bold;
line-height: 21px;
}
}