2019-03-22 00:03:30 +01:00
|
|
|
@import 'info-tab/index';
|
2020-05-08 21:45:52 +02:00
|
|
|
@import 'alerts-tab/alerts-tab';
|
2019-05-09 19:27:14 +02:00
|
|
|
@import 'networks-tab/index';
|
2019-03-22 00:03:30 +01:00
|
|
|
@import 'settings-tab/index';
|
2019-07-31 21:56:44 +02:00
|
|
|
@import 'contact-list-tab/index';
|
2023-04-25 16:32:51 +02:00
|
|
|
@import 'snaps/snaps-list-tab/index';
|
|
|
|
@import 'snaps/view-snap/index';
|
2019-07-31 21:56:44 +02:00
|
|
|
|
2018-09-12 02:32:37 +02:00
|
|
|
.settings-page {
|
|
|
|
position: relative;
|
2022-03-16 15:49:25 +01:00
|
|
|
background: var(--color-background-default);
|
2018-09-12 02:32:37 +02:00
|
|
|
display: flex;
|
|
|
|
flex-flow: column nowrap;
|
|
|
|
|
2022-12-19 18:46:36 +01:00
|
|
|
&__content-padded {
|
|
|
|
padding: 16px;
|
|
|
|
}
|
|
|
|
|
2022-08-09 20:36:32 +02:00
|
|
|
&__error-text {
|
|
|
|
@include H7;
|
|
|
|
|
|
|
|
color: var(--color-error-default);
|
|
|
|
}
|
|
|
|
|
2018-09-12 02:32:37 +02:00
|
|
|
&__header {
|
2023-05-23 20:29:00 +02:00
|
|
|
padding: 20px 16px 20px 16px;
|
2022-02-22 21:58:21 +01:00
|
|
|
|
|
|
|
&__title-container {
|
2023-05-23 20:29:00 +02:00
|
|
|
display: grid;
|
2022-02-22 21:58:21 +01:00
|
|
|
align-items: center;
|
2023-05-23 20:29:00 +02:00
|
|
|
grid-template-columns: 197px 1fr 1fr;
|
2022-02-22 21:58:21 +01:00
|
|
|
|
2023-05-23 20:29:00 +02:00
|
|
|
@include screen-sm-max {
|
|
|
|
grid-template-rows: 1fr 1fr;
|
|
|
|
grid-template-columns: 1fr 1fr 1fr;
|
|
|
|
gap: 20px;
|
|
|
|
grid-template-areas:
|
|
|
|
'back title close'
|
|
|
|
'search search search';
|
|
|
|
|
|
|
|
&__back-button {
|
|
|
|
grid-area: back;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__title {
|
|
|
|
grid-area: title;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__close-button {
|
|
|
|
grid-area: close;
|
|
|
|
}
|
2019-03-25 17:13:23 +01:00
|
|
|
|
2023-05-23 20:29:00 +02:00
|
|
|
&__search {
|
|
|
|
grid-area: search;
|
|
|
|
}
|
2022-02-22 21:58:21 +01:00
|
|
|
}
|
2020-10-29 17:31:48 +01:00
|
|
|
|
2022-02-22 21:58:21 +01:00
|
|
|
&__title {
|
2023-05-23 20:29:00 +02:00
|
|
|
@include screen-sm-min {
|
|
|
|
width: 197px;
|
|
|
|
}
|
2022-02-22 21:58:21 +01:00
|
|
|
|
2022-08-04 16:03:02 +02:00
|
|
|
@include screen-sm-max {
|
2022-02-22 21:58:21 +01:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
max-width: 250px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__search {
|
2023-05-23 20:29:00 +02:00
|
|
|
width: 330px;
|
2022-02-22 21:58:21 +01:00
|
|
|
|
|
|
|
&__list {
|
2022-03-16 15:49:25 +01:00
|
|
|
background: var(--color-background-default);
|
2022-02-22 21:58:21 +01:00
|
|
|
box-sizing: border-box;
|
2022-07-22 00:43:31 +02:00
|
|
|
box-shadow: var(--shadow-size-sm) var(--color-shadow-default);
|
2022-02-22 21:58:21 +01:00
|
|
|
border-radius: 6px;
|
|
|
|
position: absolute;
|
2023-05-23 20:29:00 +02:00
|
|
|
width: 330px;
|
2022-02-22 21:58:21 +01:00
|
|
|
z-index: 10;
|
|
|
|
|
|
|
|
> div {
|
|
|
|
&:hover {
|
2022-11-17 21:53:51 +01:00
|
|
|
background: var(--color-background-default-hover);
|
2022-02-22 21:58:21 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__item {
|
|
|
|
transition: 200ms ease-in-out;
|
|
|
|
display: grid;
|
|
|
|
align-items: center;
|
|
|
|
padding: 16px;
|
2022-03-16 15:49:25 +01:00
|
|
|
border-top: 1px solid var(--color-border-muted);
|
2022-02-22 21:58:21 +01:00
|
|
|
cursor: pointer;
|
2022-03-08 22:50:35 +01:00
|
|
|
grid-template-columns: 16px max-content 24px auto;
|
2022-02-22 21:58:21 +01:00
|
|
|
gap: 8px;
|
|
|
|
|
|
|
|
&__icon {
|
2022-03-16 15:49:25 +01:00
|
|
|
background: var(--color-background-alternative);
|
2022-02-22 21:58:21 +01:00
|
|
|
height: 15px;
|
|
|
|
width: 15px;
|
|
|
|
margin-right: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__request,
|
|
|
|
&__tab,
|
|
|
|
&__section,
|
|
|
|
&__no-matching {
|
|
|
|
@include H6;
|
|
|
|
|
2022-03-16 15:49:25 +01:00
|
|
|
color: var(--color-icon-default);
|
2022-02-22 21:58:21 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&__section-multiple-lines {
|
2022-08-04 16:03:02 +02:00
|
|
|
@include screen-sm-max {
|
2022-02-22 21:58:21 +01:00
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__caret {
|
|
|
|
[dir='rtl'] & {
|
|
|
|
transform: rotate(180deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__link {
|
|
|
|
@include H6;
|
|
|
|
|
|
|
|
display: inline;
|
2022-03-16 15:49:25 +01:00
|
|
|
color: var(--color-primary-default);
|
2022-02-22 21:58:21 +01:00
|
|
|
margin-left: 3px;
|
|
|
|
}
|
|
|
|
}
|
2021-09-03 17:54:20 +02:00
|
|
|
}
|
2019-03-25 17:13:23 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-07-15 15:13:40 +02:00
|
|
|
&__subheader,
|
|
|
|
&__subheader--link {
|
2022-08-04 16:03:02 +02:00
|
|
|
@include screen-sm-max {
|
2019-04-29 08:18:03 +02:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-31 21:56:44 +02:00
|
|
|
&__subheader--link {
|
|
|
|
cursor: pointer;
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__subheader--link:hover {
|
|
|
|
cursor: pointer;
|
2022-03-16 15:49:25 +01:00
|
|
|
color: var(--color-primary-default);
|
2019-07-31 21:56:44 +02:00
|
|
|
}
|
|
|
|
|
2019-08-31 18:01:53 +02:00
|
|
|
&__subheader--break {
|
2021-07-14 04:06:12 +02:00
|
|
|
margin-inline-start: 4px;
|
2023-01-17 22:36:33 +01:00
|
|
|
white-space: nowrap;
|
|
|
|
width: 100%;
|
|
|
|
max-width: calc(100% - 125px - 85px);
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2019-08-31 18:01:53 +02:00
|
|
|
}
|
|
|
|
|
2019-05-09 19:27:14 +02:00
|
|
|
&__sub-header {
|
|
|
|
height: 72px;
|
2022-03-24 19:08:08 +01:00
|
|
|
border-bottom: 1px solid var(--color-border-muted);
|
2019-05-09 19:27:14 +02:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
2020-06-12 20:21:29 +02:00
|
|
|
padding: 16px 0;
|
2019-05-09 19:27:14 +02:00
|
|
|
|
2022-08-04 16:03:02 +02:00
|
|
|
@include screen-sm-max {
|
2019-05-09 19:27:14 +02:00
|
|
|
height: 69px;
|
|
|
|
position: relative;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__sub-header-text {
|
2020-10-29 17:31:48 +01:00
|
|
|
@include H4;
|
2019-05-09 19:27:14 +02:00
|
|
|
|
2022-08-04 16:03:02 +02:00
|
|
|
@include screen-sm-max {
|
2020-10-29 17:31:48 +01:00
|
|
|
@include H5;
|
|
|
|
|
2019-05-09 19:27:14 +02:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-12-19 18:46:36 +01:00
|
|
|
&__security-tab-sub-header {
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 16px;
|
|
|
|
color: var(--color-icon-alternative);
|
|
|
|
|
|
|
|
&__bold {
|
|
|
|
font-weight: 700;
|
|
|
|
font-size: 18px;
|
|
|
|
color: var(--color-text-default);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-25 17:13:23 +01:00
|
|
|
&__back-button {
|
2023-03-03 22:11:20 +01:00
|
|
|
margin-right: 8px;
|
2019-03-25 17:13:23 +01:00
|
|
|
|
2023-03-03 22:11:20 +01:00
|
|
|
[dir='rtl'] & {
|
|
|
|
margin: 0 0 0 8px;
|
|
|
|
transform: rotate(180deg);
|
2019-03-25 17:13:23 +01:00
|
|
|
}
|
2018-09-12 02:32:37 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&__content {
|
2023-05-23 20:29:00 +02:00
|
|
|
margin-top: 8px;
|
2019-03-25 17:13:23 +01:00
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
2019-05-09 19:27:14 +02:00
|
|
|
height: 100%;
|
2018-09-12 02:32:37 +02:00
|
|
|
overflow: auto;
|
2019-03-25 17:13:23 +01:00
|
|
|
|
|
|
|
&__tabs {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
|
2022-08-04 16:03:02 +02:00
|
|
|
@include screen-sm-min {
|
2019-04-29 08:18:03 +02:00
|
|
|
flex: 0 0 40%;
|
2022-02-09 18:49:41 +01:00
|
|
|
max-width: 197px;
|
2019-04-29 08:18:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab-bar__tab {
|
2022-08-04 16:03:02 +02:00
|
|
|
@include screen-sm-min {
|
2022-02-09 18:49:41 +01:00
|
|
|
max-height: 50px;
|
2019-04-29 08:18:03 +02:00
|
|
|
}
|
2023-03-06 21:58:01 +01:00
|
|
|
|
|
|
|
&__caret {
|
|
|
|
@include screen-sm-min {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2019-03-25 17:13:23 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__modules {
|
|
|
|
overflow-y: auto;
|
|
|
|
flex: 1 1 auto;
|
2019-07-31 21:56:44 +02:00
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
2019-03-25 17:13:23 +01:00
|
|
|
|
2022-08-04 16:03:02 +02:00
|
|
|
@include screen-sm-max {
|
2019-03-25 17:13:23 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__body {
|
|
|
|
padding: 12px 24px;
|
2019-06-17 16:05:47 +02:00
|
|
|
|
2022-08-04 16:03:02 +02:00
|
|
|
@include screen-sm-min {
|
2019-04-29 08:18:03 +02:00
|
|
|
padding: 12px;
|
|
|
|
}
|
2018-09-12 02:32:37 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&__content-row {
|
|
|
|
display: flex;
|
2019-03-25 17:13:23 +01:00
|
|
|
flex-direction: column;
|
2018-09-12 02:32:37 +02:00
|
|
|
padding: 10px 0 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__content-item {
|
|
|
|
flex: 1;
|
|
|
|
min-width: 0;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2019-07-08 19:58:35 +02:00
|
|
|
margin-bottom: 20px;
|
2022-12-19 18:46:36 +01:00
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 500;
|
2018-09-12 02:32:37 +02:00
|
|
|
|
2022-08-04 16:03:02 +02:00
|
|
|
@include screen-sm-max {
|
2018-09-12 02:32:37 +02:00
|
|
|
height: initial;
|
|
|
|
padding: 5px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--without-height {
|
|
|
|
height: initial;
|
|
|
|
}
|
2019-09-16 19:11:01 +02:00
|
|
|
|
|
|
|
&--disabled {
|
|
|
|
cursor: not-allowed;
|
2020-07-15 15:13:40 +02:00
|
|
|
opacity: 0.5;
|
2019-09-16 19:11:01 +02:00
|
|
|
}
|
2021-10-29 01:38:58 +02:00
|
|
|
|
|
|
|
& .dialog {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2022-02-16 18:03:17 +01:00
|
|
|
|
|
|
|
&__identicon {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: baseline;
|
|
|
|
|
|
|
|
&__item {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
2022-04-04 19:36:56 +02:00
|
|
|
background: unset;
|
|
|
|
border: 1px solid transparent;
|
2022-02-16 18:03:17 +01:00
|
|
|
|
|
|
|
&__icon {
|
|
|
|
&--active {
|
|
|
|
height: 40px;
|
|
|
|
width: 40px;
|
|
|
|
border-radius: 40px;
|
2022-03-16 15:49:25 +01:00
|
|
|
border: 2px solid var(--color-primary-default);
|
2022-02-16 18:03:17 +01:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__description {
|
|
|
|
@include H6;
|
|
|
|
|
|
|
|
margin-top: 8px;
|
|
|
|
margin-bottom: 12px;
|
2022-05-25 17:35:36 +02:00
|
|
|
color: var(--color-text-default);
|
2022-12-19 18:46:36 +01:00
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 400;
|
2022-02-16 18:03:17 +01:00
|
|
|
}
|
2018-09-12 02:32:37 +02:00
|
|
|
}
|
|
|
|
|
2023-01-04 22:59:48 +01:00
|
|
|
&__content-row-experimental {
|
|
|
|
padding: 10px 0 0 12px;
|
|
|
|
}
|
|
|
|
|
2018-09-12 02:32:37 +02:00
|
|
|
&__content-label {
|
|
|
|
text-transform: capitalize;
|
|
|
|
}
|
|
|
|
|
2022-12-19 18:46:36 +01:00
|
|
|
&__content-unordered-list {
|
|
|
|
padding-left: 2.5rem;
|
2023-02-02 19:18:25 +01:00
|
|
|
margin-top: 1rem;
|
2022-12-19 18:46:36 +01:00
|
|
|
list-style: disc;
|
|
|
|
}
|
|
|
|
|
2018-09-12 02:32:37 +02:00
|
|
|
&__content-description {
|
2020-10-29 17:31:48 +01:00
|
|
|
@include H6;
|
|
|
|
|
2022-12-19 18:46:36 +01:00
|
|
|
color: var(--color-text-alternative);
|
2022-01-11 20:17:56 +01:00
|
|
|
|
|
|
|
a {
|
2022-03-16 15:49:25 +01:00
|
|
|
color: var(--color-primary-default);
|
2022-01-11 20:17:56 +01:00
|
|
|
}
|
2018-09-12 02:32:37 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&__content-item-col {
|
|
|
|
max-width: 300px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
2022-08-04 16:03:02 +02:00
|
|
|
@include screen-sm-max {
|
2018-09-12 02:32:37 +02:00
|
|
|
max-width: 100%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2023-05-04 13:14:07 +02:00
|
|
|
|
2023-05-23 20:29:00 +02:00
|
|
|
.eth-sign-toggle .toggle-button__status {
|
|
|
|
// for eth_sign we need to override the uppercase property of toggle button text
|
2023-05-04 13:14:07 +02:00
|
|
|
text-transform: capitalize;
|
|
|
|
}
|
2018-09-12 02:32:37 +02:00
|
|
|
}
|
2019-03-25 17:13:23 +01:00
|
|
|
|
2023-01-04 22:59:48 +01:00
|
|
|
&__content-item-col-open-sea {
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
2022-08-09 20:36:32 +02:00
|
|
|
&__button {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2019-07-31 21:56:44 +02:00
|
|
|
&__copy-icon {
|
|
|
|
padding-left: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__button-group {
|
2020-07-15 15:13:40 +02:00
|
|
|
display: flex;
|
2019-07-31 21:56:44 +02:00
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__address-book-button {
|
2020-10-29 17:31:48 +01:00
|
|
|
@include H5;
|
|
|
|
|
2019-07-31 21:56:44 +02:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__address-book-button + &__address-book-button {
|
|
|
|
margin-left: 1.875rem;
|
|
|
|
}
|
|
|
|
|
2021-10-21 21:17:03 +02:00
|
|
|
&__inline-link {
|
|
|
|
@include H6;
|
|
|
|
|
|
|
|
display: initial;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2019-03-25 17:13:23 +01:00
|
|
|
&--selected {
|
|
|
|
.settings-page {
|
|
|
|
&__content {
|
|
|
|
&__tabs {
|
2022-08-04 16:03:02 +02:00
|
|
|
@include screen-sm-max {
|
2019-03-25 17:13:23 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__modules {
|
2022-08-04 16:03:02 +02:00
|
|
|
@include screen-sm-max {
|
2019-03-25 17:13:23 +01:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-09-03 19:47:54 +02:00
|
|
|
|
|
|
|
.toggle-button {
|
|
|
|
/*rtl:ignore*/
|
|
|
|
direction: ltr;
|
2020-07-15 15:13:40 +02:00
|
|
|
|
2019-09-03 19:47:54 +02:00
|
|
|
[dir='rtl'] & {
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
}
|
2018-09-12 02:32:37 +02:00
|
|
|
}
|