1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-29 15:50:28 +01:00
metamask-extension/ui/app/pages/create-account/connect-hardware/index.scss

362 lines
5.1 KiB
SCSS
Raw Normal View History

2018-07-19 04:57:47 +02:00
.hw-tutorial {
width: 375px;
border-top: 1px solid #d2d8dd;
border-bottom: 1px solid #d2d8dd;
2018-07-19 04:57:47 +02:00
overflow: visible;
display: block;
padding: 15px 30px;
}
2018-07-07 02:04:20 +02:00
.hw-connect {
2018-08-17 02:41:23 +02:00
width: 100%;
2018-07-19 04:57:47 +02:00
&__header {
&__title {
2020-10-29 17:31:48 +01:00
@include H3;
2018-07-19 04:57:47 +02:00
margin-top: 5px;
margin-bottom: 15px;
}
&__msg {
2020-10-29 17:31:48 +01:00
@include H6;
2018-07-19 04:57:47 +02:00
color: #9b9b9b;
margin-top: 10px;
2018-08-15 01:22:00 +02:00
margin-bottom: 20px;
2018-07-19 04:57:47 +02:00
}
}
2018-08-17 01:39:52 +02:00
&__btn-wrapper {
flex: 1;
flex-direction: row;
display: flex;
}
&__connect-btn {
width: 315px;
margin: 20px;
2018-08-17 01:39:52 +02:00
}
&__connect-btn.disabled {
cursor: not-allowed;
opacity: 0.5;
2018-08-17 01:39:52 +02:00
}
&__btn {
background: #fbfbfb;
border: 1px solid #e5e5e5;
2018-08-17 01:39:52 +02:00
height: 100px;
width: 150px;
flex: 1;
display: flex;
align-items: center;
justify-content: center;
border-radius: 5px;
padding: 0;
2018-08-17 01:39:52 +02:00
&__img {
width: 95px;
}
}
&__btn.selected {
border-color: #00a8ee;
2018-08-17 01:39:52 +02:00
width: 149px;
}
&__btn:first-child {
margin-right: 15px;
margin-left: 20px;
}
&__btn:last-child {
margin-right: 20px;
}
2018-08-14 01:29:43 +02:00
&__hdPath {
2020-10-29 17:31:48 +01:00
@include H6;
2018-08-14 01:29:43 +02:00
display: flex;
flex-direction: row;
margin-top: 15px;
2018-08-17 02:41:23 +02:00
margin-bottom: 30px;
2018-08-14 01:29:43 +02:00
&__title {
display: flex;
margin-top: 10px;
margin-right: 15px;
}
&__select {
display: flex;
flex: 1;
2018-07-19 04:57:47 +02:00
}
}
&__learn-more {
2020-10-29 17:31:48 +01:00
@include H6;
2018-07-19 04:57:47 +02:00
margin-top: 15px;
color: #5b5d67;
2018-07-19 04:57:47 +02:00
text-align: center;
2018-07-19 05:12:49 +02:00
cursor: pointer;
2018-07-19 04:57:47 +02:00
&__arrow {
transform: rotate(90deg);
display: block;
text-align: center;
height: 30px;
margin: 0 auto 10px;
2018-07-19 04:57:47 +02:00
}
}
2018-07-05 22:11:41 +02:00
&__title {
2020-10-29 17:31:48 +01:00
@include H4;
2018-07-05 22:11:41 +02:00
padding-top: 10px;
2018-07-19 04:57:47 +02:00
font-weight: 400;
2018-07-05 22:11:41 +02:00
}
2018-08-17 02:41:23 +02:00
&__unlock-title {
2020-10-29 17:31:48 +01:00
@include H3;
2018-08-17 02:41:23 +02:00
padding-top: 10px;
font-weight: 400;
margin-bottom: 15px;
}
2018-07-05 22:11:41 +02:00
&__msg {
2020-10-29 17:31:48 +01:00
@include H6;
2018-07-05 22:11:41 +02:00
color: #9b9b9b;
margin-top: 10px;
2018-07-19 04:57:47 +02:00
margin-bottom: 15px;
2018-07-05 22:11:41 +02:00
}
2018-07-07 02:04:20 +02:00
&__error {
color: #f7861c;
margin: 20px 20px 10px;
display: block;
text-align: center;
}
2018-07-07 02:37:08 +02:00
&__link {
2018-07-07 02:04:20 +02:00
color: #2f9ae0;
}
2018-07-13 19:49:20 +02:00
2018-07-19 04:57:47 +02:00
&__footer {
&__title {
2020-10-29 17:31:48 +01:00
@include H4;
2018-07-19 04:57:47 +02:00
padding-top: 15px;
padding-bottom: 12px;
font-weight: 400;
text-align: center;
}
&__msg {
2020-10-29 17:31:48 +01:00
@include H6;
2018-07-19 04:57:47 +02:00
color: #9b9b9b;
margin-top: 12px;
margin-bottom: 27px;
2018-08-17 02:41:23 +02:00
width: 100%;
display: block;
margin-left: 20px;
2018-07-19 04:57:47 +02:00
}
&__link {
color: #2f9ae0;
margin-left: 5px;
}
}
2018-08-17 01:39:52 +02:00
&__get-hw {
2018-07-19 04:57:47 +02:00
width: 100%;
2018-08-15 01:22:00 +02:00
padding-bottom: 10px;
padding-top: 10px;
2018-07-19 04:57:47 +02:00
&__msg {
2020-10-29 17:31:48 +01:00
@include H6;
2018-07-19 04:57:47 +02:00
color: #9b9b9b;
}
2018-07-13 19:49:20 +02:00
2018-07-19 04:57:47 +02:00
&__link {
2020-10-29 17:31:48 +01:00
@include H4;
2018-07-13 19:49:20 +02:00
text-align: center;
color: #2f9ae0;
cursor: pointer;
}
}
2018-07-19 04:57:47 +02:00
&__step-asset {
margin: 0 auto 20px;
2018-07-19 04:57:47 +02:00
display: flex;
}
2018-07-05 22:11:41 +02:00
}
2018-06-10 09:52:32 +02:00
.hw-account-list {
display: flex;
flex: 1;
flex-flow: column;
width: 100%;
&__title_wrapper {
display: flex;
flex-direction: row;
flex: 1;
}
&__title {
2020-10-29 17:31:48 +01:00
@include H5;
2018-06-10 09:52:32 +02:00
margin-bottom: 23px;
align-self: flex-start;
color: $scorpion;
font-weight: bold;
display: flex;
flex: 1;
}
&__device {
2020-10-29 17:31:48 +01:00
@include Paragraph;
2018-06-10 09:52:32 +02:00
margin-bottom: 23px;
align-self: flex-end;
color: $scorpion;
display: flex;
}
&__item {
2020-10-29 17:31:48 +01:00
@include Paragraph;
2018-06-10 09:52:32 +02:00
flex-direction: row;
display: flex;
2018-07-19 08:31:13 +02:00
padding-left: 10px;
padding-right: 10px;
2018-06-10 09:52:32 +02:00
}
&__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;
2018-06-10 09:52:32 +02:00
}
&__item__radio {
display: flex;
flex: 1;
input {
2018-07-19 08:31:13 +02:00
padding: 10px;
margin-top: 13px;
}
2018-06-10 09:52:32 +02:00
}
&__item__label {
display: flex;
flex: 1;
2018-07-19 08:31:13 +02:00
padding-left: 10px;
padding-top: 10px;
padding-bottom: 10px;
2018-06-10 09:52:32 +02:00
}
&__item__balance {
display: flex;
flex: 1;
justify-content: center;
}
&__item__link {
display: flex;
2018-07-19 08:31:13 +02:00
margin-top: 13px;
2018-06-10 09:52:32 +02:00
}
&__item__link img {
width: 15px;
height: 15px;
}
}
.hw-list-pagination {
display: flex;
align-self: flex-end;
margin-top: 10px;
&__button {
2020-10-29 17:31:48 +01:00
@include H6;
2018-08-21 03:51:15 +02:00
background: #fff;
height: 19px;
display: flex;
color: #33a4e7;
border: none;
min-width: 46px;
margin-right: 0;
margin-left: 16px;
padding: 0;
2018-07-19 08:31:13 +02:00
text-transform: uppercase;
}
}
.new-external-account-form {
display: flex;
flex-flow: column;
align-items: center;
padding: 15px 30px 0;
2018-07-19 06:14:13 +02:00
&.unsupported-browser {
height: 210px;
overflow: auto;
scrollbar-width: none;
&::-webkit-scrollbar {
display: none;
}
2018-07-19 06:14:13 +02:00
}
2018-07-19 08:31:13 +02:00
&.account-list {
height: auto;
2018-08-17 02:41:23 +02:00
padding-left: 20px;
padding-right: 20px;
2018-07-19 08:31:13 +02:00
}
&__buttons {
margin-top: 39px;
display: flex;
width: 100%;
justify-content: space-between;
}
&__button:not(:last-child) {
margin-right: 16px;
}
2018-06-10 09:52:32 +02:00
}
.hw-forget-device-container {
display: flex;
flex-flow: column;
align-items: center;
2018-07-19 08:31:13 +02:00
padding: 22px;
a {
2020-10-29 17:31:48 +01:00
@include H6;
color: #2f9ae0;
cursor: pointer;
}
}