mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-01 21:57:06 +01:00
43f7a44c25
* Initial push * Refactored the code * Additional code * Removed the unused message * Added a tooltip * Fixed tests * Lint fix * Added style to a tooltip * Fix e2e test failure * Lint fix and code revert * Fix e2e test * Fixed paddings * Fixed paddings * CSS fix * Minified svg files * Applied requested changes * Fixed theme issue * Code revert * Added back overridden code * Icon problem fixed * Lint fix * Replaced H3 with H4 * Added unit test * Added breadcrumbs * Added const props for networks * Lint fix * Lint fix * Added toggle button for showing the custom network list and resolved few issues * Fixed routes * Refactored a piece of code * Enabled searching for the newly created option * Fixed unit test * Updated theme
97 lines
1.8 KiB
SCSS
97 lines
1.8 KiB
SCSS
.add-network {
|
|
&__networks-container {
|
|
padding-inline-end: 24px;
|
|
|
|
@media screen and (max-width: $break-small) {
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
&__header {
|
|
border-bottom: 1px solid var(--color-border-default);
|
|
|
|
@media screen and (max-width: 575px) {
|
|
padding-inline-start: 24px;
|
|
padding-inline-end: 24px;
|
|
}
|
|
|
|
&__subtitle {
|
|
margin-inline-start: 10px;
|
|
margin-inline-end: 10px;
|
|
}
|
|
}
|
|
|
|
&__main-container {
|
|
@media screen and (max-width: 575px) {
|
|
padding-inline-start: 24px;
|
|
padding-inline-end: 24px;
|
|
}
|
|
}
|
|
|
|
&__list-of-networks {
|
|
@media screen and (min-width: $break-large) {
|
|
width: 75%;
|
|
}
|
|
}
|
|
|
|
&__warning-icon {
|
|
color: var(--color-icon-muted);
|
|
}
|
|
|
|
&__warning-tooltip {
|
|
color: var(--color-text-alternative);
|
|
width: 180px;
|
|
|
|
a {
|
|
color: var(--color-primary-default);
|
|
}
|
|
}
|
|
|
|
&__add-icon {
|
|
color: var(--color-text-alternative);
|
|
margin-inline-start: auto;
|
|
margin-inline-end: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
&__add-button.button {
|
|
color: var(--color-primary-default);
|
|
font-size: $font-size-h7;
|
|
margin-inline-start: 24px;
|
|
}
|
|
|
|
&__footer {
|
|
border-top: 1px solid var(--color-border-muted);
|
|
width: 100%;
|
|
padding-bottom: 8px;
|
|
|
|
@media screen and (max-width: 575px) {
|
|
padding-inline-start: 24px !important;
|
|
}
|
|
|
|
& .btn-link {
|
|
display: initial;
|
|
padding: 0;
|
|
}
|
|
|
|
&__link {
|
|
color: var(--color-primary-default);
|
|
}
|
|
|
|
& .actionable-message--warning .actionable-message__message,
|
|
.actionable-message--warning .actionable-message__action {
|
|
color: var(--color-text-alternative);
|
|
}
|
|
}
|
|
|
|
&__edge-case-box {
|
|
border: 1px solid var(--color-border-muted);
|
|
|
|
&__link {
|
|
color: var(--color-info-default);
|
|
display: inline;
|
|
padding: 0;
|
|
}
|
|
}
|
|
}
|