1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-27 12:56:01 +01:00
metamask-extension/ui/components/app/add-network/index.scss
David Walsh e3380ba3ae
UX: Icon: Remove fa-exclamation-triangle usages (#17691)
* UX: Icon: WIP: Remove fa-exclamation-triangle usages

* Swap the rest of the icons

* Fix color import

* Update ui/pages/onboarding-flow/secure-your-wallet/skip-srp-backup-popover.stories.js

Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>

* Update ui/pages/onboarding-flow/secure-your-wallet/skip-srp-backup-popover.stories.js

Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>

* Update ui/pages/onboarding-flow/secure-your-wallet/skip-srp-backup-popover.stories.js

Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>

* Update ui/pages/onboarding-flow/secure-your-wallet/skip-srp-backup-popover.js

Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>

* Update ui/components/app/add-network/add-network.js

Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>

* Update ui/components/ui/review-spending-cap/review-spending-cap.js

Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>

* Fix lint

* Fix alignment and sizes

* Use IconColor

* Update ui/components/app/custom-spending-cap/custom-spending-cap-tooltip.js

Co-authored-by: George Marshall <george.marshall@consensys.net>

* Update ui/components/app/confirmation-warning-modal/confirmation-warning-modal.js

Co-authored-by: Danica Shen <zhaodanica@gmail.com>

* Update ui/components/app/signature-request-original/signature-request-original-warning/signature-request-original-warning.js

Co-authored-by: Danica Shen <zhaodanica@gmail.com>

* Update ui/components/ui/review-spending-cap/review-spending-cap.js

Co-authored-by: Danica Shen <zhaodanica@gmail.com>

* Update ui/pages/onboarding-flow/secure-your-wallet/skip-srp-backup-popover.js

Co-authored-by: Danica Shen <zhaodanica@gmail.com>

* Fix imports

* Use IconColor

---------

Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
Co-authored-by: George Marshall <george.marshall@consensys.net>
Co-authored-by: Danica Shen <zhaodanica@gmail.com>
2023-02-23 15:20:07 -06:00

93 lines
1.7 KiB
SCSS

.add-network {
&__networks-container {
padding-inline-end: 24px;
@include screen-sm-max {
padding: 0;
}
}
&__header {
border-bottom: 1px solid var(--color-border-default);
@include screen-sm-max {
padding-inline-start: 24px;
padding-inline-end: 24px;
}
&__subtitle {
margin-inline-start: 10px;
margin-inline-end: 10px;
}
}
&__main-container {
@include screen-sm-max {
padding-inline-start: 24px;
padding-inline-end: 24px;
}
}
&__list-of-networks {
@include screen-sm-min {
width: 75%;
}
}
&__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;
@include screen-sm-max {
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;
}
}
}