mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-12 12:47:14 +01:00
538 lines
8.5 KiB
SCSS
538 lines
8.5 KiB
SCSS
.new-account {
|
|
width: 375px;
|
|
background-color: #FFFFFF;
|
|
box-shadow: 0 0 7px 0 rgba(0,0,0,0.08);
|
|
z-index: 25;
|
|
height: 100%;
|
|
|
|
&__header {
|
|
display: flex;
|
|
flex-flow: column;
|
|
border-bottom: 1px solid $geyser;
|
|
}
|
|
|
|
&__title {
|
|
color: $tundora;
|
|
font-family: Roboto;
|
|
font-size: 32px;
|
|
font-weight: 500;
|
|
line-height: 43px;
|
|
margin-top: 22px;
|
|
margin-left: 29px;
|
|
}
|
|
|
|
&__tabs {
|
|
margin-left: 22px;
|
|
display: flex;
|
|
margin-top: 10px;
|
|
|
|
&__tab {
|
|
height: 54px;
|
|
padding: 15px 10px;
|
|
color: $dusty-gray;
|
|
font-family: Roboto;
|
|
font-size: 18px;
|
|
line-height: 24px;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
}
|
|
|
|
&__tab:hover {
|
|
color: $black;
|
|
border-bottom: none;
|
|
}
|
|
|
|
&__selected {
|
|
color: $curious-blue;
|
|
border-bottom: 3px solid $curious-blue;
|
|
cursor: initial;
|
|
}
|
|
}
|
|
}
|
|
|
|
.new-account-import-disclaimer {
|
|
width: 120%;
|
|
background-color: #F4F9FC;
|
|
display: inline-block;
|
|
align-items: center;
|
|
padding: 20px 30px 20px;
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.new-account-import-form {
|
|
display: flex;
|
|
flex-flow: column;
|
|
align-items: center;
|
|
padding: 0 30px 30px;
|
|
|
|
&__select-section {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-top: 29px;
|
|
width: 100%;
|
|
}
|
|
|
|
&__select-label {
|
|
color: $scorpion;
|
|
font-family: Roboto;
|
|
font-size: 16px;
|
|
line-height: 21px;
|
|
}
|
|
|
|
&__select {
|
|
height: 54px;
|
|
width: 210px;
|
|
border: 1px solid #D2D8DD;
|
|
border-radius: 4px;
|
|
background-color: #FFFFFF;
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
.Select-control,
|
|
.Select-control:hover {
|
|
height: 100%;
|
|
border: none;
|
|
box-shadow: none;
|
|
|
|
.Select-value {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
}
|
|
}
|
|
|
|
&__private-key-password-container {
|
|
display: flex;
|
|
flex-flow: column;
|
|
align-items: center;
|
|
width: 100%;
|
|
}
|
|
|
|
&__instruction {
|
|
color: $scorpion;
|
|
font-family: Roboto;
|
|
font-size: 16px;
|
|
line-height: 21px;
|
|
align-self: flex-start;
|
|
}
|
|
|
|
&__private-key {
|
|
display: flex;
|
|
flex-flow: column;
|
|
align-items: flex-start;
|
|
margin-top: 34px;
|
|
}
|
|
|
|
&__input-password {
|
|
height: 54px;
|
|
width: 315px;
|
|
border: 1px solid $geyser;
|
|
border-radius: 4px;
|
|
background-color: $white;
|
|
margin-top: 16px;
|
|
color: $scorpion;
|
|
font-family: Roboto;
|
|
font-size: 16px;
|
|
padding: 0px 20px;
|
|
}
|
|
|
|
&__json {
|
|
display: flex;
|
|
flex-flow: column;
|
|
align-items: center;
|
|
margin-top: 29px;
|
|
}
|
|
|
|
&__buttons {
|
|
margin-top: 39px;
|
|
display: flex;
|
|
width: 100%;
|
|
justify-content: space-between;
|
|
}
|
|
}
|
|
|
|
.hw-tutorial {
|
|
width: 375px;
|
|
border-top: 1px solid #D2D8DD;
|
|
border-bottom: 1px solid #D2D8DD;
|
|
overflow: visible;
|
|
display: block;
|
|
padding: 15px 30px;
|
|
}
|
|
|
|
.hw-connect {
|
|
width: 100%;
|
|
|
|
&__header {
|
|
&__title {
|
|
margin-top: 5px;
|
|
margin-bottom: 15px;
|
|
font-size: 22px;
|
|
}
|
|
|
|
&__msg {
|
|
font-size: 14px;
|
|
color: #9b9b9b;
|
|
margin-top: 10px;
|
|
margin-bottom: 20px;
|
|
}
|
|
}
|
|
|
|
&__btn-wrapper {
|
|
flex: 1;
|
|
flex-direction: row;
|
|
display: flex;
|
|
}
|
|
|
|
&__connect-btn {
|
|
width: 315px;
|
|
margin: 20px;
|
|
}
|
|
|
|
&__connect-btn.disabled {
|
|
cursor: not-allowed;
|
|
opacity: .5;
|
|
}
|
|
|
|
&__btn {
|
|
background: #fbfbfb;
|
|
border: 1px solid #e5e5e5;
|
|
height: 100px;
|
|
width: 150px;
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 5px;
|
|
|
|
&__img {
|
|
width: 95px;
|
|
}
|
|
}
|
|
|
|
&__btn.selected {
|
|
border: 2px solid #00a8ee;
|
|
width: 149px;
|
|
}
|
|
|
|
&__btn:first-child {
|
|
margin-right: 15px;
|
|
margin-left: 20px;
|
|
}
|
|
|
|
&__btn:last-child {
|
|
margin-right: 20px;
|
|
}
|
|
|
|
&__hdPath {
|
|
display: flex;
|
|
flex-direction: row;
|
|
margin-top: 15px;
|
|
margin-bottom: 30px;
|
|
font-size: 14px;
|
|
|
|
&__title {
|
|
display: flex;
|
|
margin-top: 10px;
|
|
margin-right: 15px;
|
|
}
|
|
|
|
&__select {
|
|
display: flex;
|
|
flex: 1;
|
|
}
|
|
}
|
|
|
|
&__learn-more {
|
|
margin-top: 15px;
|
|
font-size: 14px;
|
|
color: #5B5D67;
|
|
line-height: 19px;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
|
|
&__arrow {
|
|
transform: rotate(90deg);
|
|
display: block;
|
|
text-align: center;
|
|
height: 30px;
|
|
margin: 0px auto 10px;
|
|
}
|
|
}
|
|
|
|
&__title {
|
|
padding-top: 10px;
|
|
font-weight: 400;
|
|
font-size: 18px;
|
|
}
|
|
|
|
&__unlock-title {
|
|
padding-top: 10px;
|
|
font-weight: 400;
|
|
font-size: 22px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
&__msg {
|
|
font-size: 14px;
|
|
color: #9b9b9b;
|
|
margin-top: 10px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
&__link {
|
|
color: #2f9ae0;
|
|
}
|
|
|
|
&__footer {
|
|
&__title {
|
|
padding-top: 15px;
|
|
padding-bottom: 12px;
|
|
font-weight: 400;
|
|
font-size: 18px;
|
|
text-align: center;
|
|
}
|
|
|
|
&__msg {
|
|
font-size: 14px;
|
|
color: #9b9b9b;
|
|
margin-top: 12px;
|
|
margin-bottom: 27px;
|
|
width: 100%;
|
|
display: block;
|
|
margin-left: 20px;
|
|
}
|
|
|
|
&__link {
|
|
color: #2f9ae0;
|
|
margin-left: 5px;
|
|
}
|
|
}
|
|
|
|
&__get-hw {
|
|
width: 100%;
|
|
padding-bottom: 10px;
|
|
padding-top: 10px;
|
|
|
|
&__msg {
|
|
font-size: 14px;
|
|
color: #9b9b9b;
|
|
}
|
|
|
|
&__link {
|
|
font-size: 14px;
|
|
text-align: center;
|
|
color: #2f9ae0;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
&__step-asset {
|
|
margin: 0px auto 20px;
|
|
display: flex;
|
|
}
|
|
}
|
|
|
|
.hw-account-list {
|
|
display: flex;
|
|
flex: 1;
|
|
flex-flow: column;
|
|
width: 100%;
|
|
|
|
&__title_wrapper {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex: 1;
|
|
}
|
|
|
|
&__title {
|
|
margin-bottom: 23px;
|
|
align-self: flex-start;
|
|
color: $scorpion;
|
|
font-family: Roboto;
|
|
font-size: 16px;
|
|
line-height: 21px;
|
|
font-weight: bold;
|
|
display: flex;
|
|
flex: 1;
|
|
}
|
|
|
|
&__device {
|
|
margin-bottom: 23px;
|
|
align-self: flex-end;
|
|
color: $scorpion;
|
|
font-family: Roboto;
|
|
font-size: 16px;
|
|
line-height: 21px;
|
|
font-weight: normal;
|
|
display: flex;
|
|
}
|
|
|
|
&__item {
|
|
font-size: 15px;
|
|
flex-direction: row;
|
|
display: flex;
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
}
|
|
|
|
&__item:nth-of-type(even) {
|
|
background-color: #fbfbfb;
|
|
}
|
|
|
|
&__item:nth-of-type(odd) {
|
|
background: rgba(0, 0, 0, 0.03);
|
|
}
|
|
|
|
&__item:hover {
|
|
background-color: rgba(0, 0, 0, 0.06);
|
|
}
|
|
|
|
&__item__index {
|
|
display: flex;
|
|
width: 24px;
|
|
}
|
|
|
|
&__item__radio {
|
|
display: flex;
|
|
flex: 1;
|
|
|
|
input {
|
|
padding: 10px;
|
|
margin-top: 13px;
|
|
}
|
|
}
|
|
|
|
&__item__label {
|
|
display: flex;
|
|
flex: 1;
|
|
padding-left: 10px;
|
|
padding-top: 10px;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
&__item__balance {
|
|
display: flex;
|
|
flex: 1;
|
|
justify-content: center;
|
|
}
|
|
|
|
&__item__link {
|
|
display: flex;
|
|
margin-top: 13px;
|
|
}
|
|
|
|
&__item__link img {
|
|
width: 15px;
|
|
height: 15px;
|
|
}
|
|
}
|
|
|
|
.hw-list-pagination {
|
|
display: flex;
|
|
align-self: flex-end;
|
|
margin-top: 10px;
|
|
|
|
&__button {
|
|
background: #fff;
|
|
height: 19px;
|
|
display: flex;
|
|
color: #33a4e7;
|
|
font-size: 14px;
|
|
line-height: 19px;
|
|
border: none;
|
|
min-width: 46px;
|
|
margin-right: 0px;
|
|
margin-left: 16px;
|
|
padding: 0px;
|
|
text-transform: uppercase;
|
|
font-family: Roboto;
|
|
}
|
|
}
|
|
|
|
.new-account-connect-form {
|
|
display: flex;
|
|
flex-flow: column;
|
|
align-items: center;
|
|
padding: 15px 30px 0;
|
|
height: 710px;
|
|
overflow: auto;
|
|
|
|
&.unsupported-browser {
|
|
height: 210px;
|
|
}
|
|
|
|
&.account-list {
|
|
height: auto;
|
|
padding-left: 20px;
|
|
padding-right: 20px;
|
|
}
|
|
|
|
&__buttons {
|
|
margin-top: 39px;
|
|
display: flex;
|
|
width: 100%;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
&__button:not(:last-child) {
|
|
margin-right: 16px;
|
|
}
|
|
}
|
|
|
|
.hw-forget-device-container {
|
|
display: flex;
|
|
flex-flow: column;
|
|
align-items: center;
|
|
padding: 22px;
|
|
|
|
a {
|
|
color: #2f9ae0;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
.new-account-create-form {
|
|
display: flex;
|
|
flex-flow: column;
|
|
align-items: center;
|
|
padding: 30px;
|
|
|
|
&__input-label {
|
|
color: $scorpion;
|
|
font-family: Roboto;
|
|
font-size: 16px;
|
|
line-height: 21px;
|
|
align-self: flex-start;
|
|
}
|
|
|
|
&__input {
|
|
height: 54px;
|
|
width: 315.84px;
|
|
border: 1px solid $geyser;
|
|
border-radius: 4px;
|
|
background-color: $white;
|
|
color: $scorpion;
|
|
font-family: Roboto;
|
|
font-size: 16px;
|
|
line-height: 21px;
|
|
margin-top: 15px;
|
|
padding: 0px 20px;
|
|
}
|
|
|
|
&__buttons {
|
|
margin-top: 39px;
|
|
display: flex;
|
|
width: 100%;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
&__button {
|
|
width: 150px;
|
|
min-width: initial;
|
|
}
|
|
}
|