1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Tweak styles in new-account-modal.

This commit is contained in:
Dan 2017-09-06 14:38:05 -02:30 committed by Chi Kei Chan
parent 272ade0f66
commit ab4005cab8
2 changed files with 18 additions and 9 deletions

View File

@ -49,11 +49,11 @@ NewAccountModal.prototype.render = function () {
}, []), }, []),
]), ]),
h('div.new-account-modal-content', {}, [ h('div.new-account-modal-content.after-input', {}, [
'or', 'or',
]), ]),
h('div.new-account-modal-content.import', {}, [ h('div.new-account-modal-content.after-input', {}, [
'Import an account', 'Import an account',
]), ]),

View File

@ -252,6 +252,7 @@
position: relative; position: relative;
border: 1px solid $alto; border: 1px solid $alto;
box-shadow: 0 0 2px 2px $alto; box-shadow: 0 0 2px 2px $alto;
font-family: 'Montserrat Light';
} }
.new-account-modal-header { .new-account-modal-header {
@ -262,6 +263,7 @@
padding: 30px; padding: 30px;
font-size: 22px; font-size: 22px;
color: $nile-blue; color: $nile-blue;
height: 79px;
} }
.modal-close-x::after { .modal-close-x::after {
@ -278,13 +280,14 @@
width: 100%; width: 100%;
display: flex; display: flex;
justify-content: center; justify-content: center;
padding: 13px; margin-top: 15px;
font-size: 18px; font-size: 17px;
color: $nile-blue; color: $nile-blue;
} }
.new-account-modal-content.import { .new-account-modal-content.after-input {
padding-top: 2px; margin-top: 15px;
line-height: 25px;
} }
.new-account-input-wrapper { .new-account-input-wrapper {
@ -292,6 +295,7 @@
width: 100%; width: 100%;
justify-content: center; justify-content: center;
padding-bottom: 2px; padding-bottom: 2px;
margin-top: 13px;
} }
.new-account-input { .new-account-input {
@ -299,9 +303,11 @@
padding-bottom: 20px; padding-bottom: 20px;
border-radius: 8px; border-radius: 8px;
border: 1px solid $alto; border: 1px solid $alto;
width: 70%; width: 73%;
font-size: 1em; font-size: 1em;
color: $alto; color: $alto;
font-family: Montserrat Light;
font-size: 17px;
} }
// For reference on below placeholder selectors: https://stackoverflow.com/questions/2610497/change-an-html5-inputs-placeholder-color-with-css // For reference on below placeholder selectors: https://stackoverflow.com/questions/2610497/change-an-html5-inputs-placeholder-color-with-css
@ -328,7 +334,10 @@
} }
.new-account-modal-content.button { .new-account-modal-content.button {
padding-top: 9px; margin-top: 22px;
margin-bottom: 30px;
width: 113px;
height: 44px;
} }
.new-account-modal-wrapper .btn-clear { .new-account-modal-wrapper .btn-clear {
@ -337,6 +346,6 @@
background: $white; background: $white;
border: 1px solid; border: 1px solid;
border-radius: 2px; border-radius: 2px;
width: 30%;
color: $tundora; color: $tundora;
flex: 1;
} }