1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-04 23:14:56 +01:00
metamask-extension/ui/pages/create-account/connect-hardware/index.scss

314 lines
4.4 KiB
SCSS
Raw Normal View History

2018-07-19 04:57:47 +02:00
.hw-tutorial {
width: 375px;
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;
margin-right: 15px;
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-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
}
}
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;
2021-04-26 20:05:48 +02:00
&-link {
@include H6;
text-align: center;
color: var(--primary-1);
2021-04-26 20:05:48 +02:00
background: unset;
}
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-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: var(--scorpion);
2018-06-10 09:52:32 +02:00
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: var(--scorpion);
2018-06-10 09:52:32 +02:00
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__checkbox {
2018-06-10 09:52:32 +02:00
display: flex;
flex: 1;
input {
2018-07-19 08:31:13 +02:00
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;
}
}
2021-04-26 20:05:48 +02:00
.switch-ledger-path-popover__content {
padding: 0 24px 48px 24px;
}
.switch-ledger-path-popover__footer {
display: flex;
flex-direction: row;
justify-content: space-between;
width: 100%;
button:first-of-type {
margin-right: 15px;
}
}