-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
colocate account modal styles with their components (#9150)
This one gets a bit more complicated because the styles were interwoven and needed to be untangled to be moved. Essentially, though, the goal is to put the styles where they make the most sense and colocate them with their components.
- Loading branch information
1 parent
6ba9e65
commit 01f69d7
Showing
15 changed files
with
236 additions
and
220 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
ui/app/components/app/modals/account-details-modal/index.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
.account-details-modal { | ||
&__name { | ||
margin-top: 9px; | ||
font-size: 20px; | ||
} | ||
|
||
&__button { | ||
margin-top: 17px; | ||
padding: 10px 22px; | ||
width: 286px; | ||
} | ||
|
||
&__divider { | ||
width: 100%; | ||
height: 1px; | ||
margin: 19px 0 8px 0; | ||
background-color: $alto; | ||
} | ||
|
||
& .qr-header { | ||
margin-top: 9px; | ||
font-size: 20px; | ||
} | ||
|
||
& .qr-wrapper { | ||
margin-top: 5px; | ||
} | ||
|
||
& .ellip-address-wrapper { | ||
display: flex; | ||
justify-content: center; | ||
border: 1px solid $alto; | ||
padding: 5px 10px; | ||
margin-top: 7px; | ||
width: 286px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
ui/app/components/app/modals/account-modal-container/index.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
// Account Modal Container | ||
.account-modal { | ||
&__container { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: flex-start; | ||
align-items: center; | ||
position: relative; | ||
padding: 5px 0 31px 0; | ||
border: 1px solid $silver; | ||
border-radius: 4px; | ||
} | ||
|
||
&__back { | ||
color: $dusty-gray; | ||
position: absolute; | ||
top: 13px; | ||
left: 17px; | ||
cursor: pointer; | ||
} | ||
|
||
&__text { | ||
margin-top: 2px; | ||
font-size: 14px; | ||
line-height: 18px; | ||
} | ||
|
||
&__close { | ||
font-size: 40px; | ||
background-color: transparent; | ||
color: $dusty-gray; | ||
position: absolute; | ||
cursor: pointer; | ||
top: 10px; | ||
right: 12px; | ||
|
||
&::after { | ||
content: '\00D7'; | ||
} | ||
} | ||
|
||
& .identicon { | ||
position: relative; | ||
left: 0; | ||
right: 0; | ||
margin: 0 auto; | ||
top: -32px; | ||
margin-bottom: -32px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.