1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-24 11:01:41 +01:00
metamask-extension/ui/components/app/edit-gas-display/index.scss
David Walsh 6d92759853
EIP-1559 - Implement form validation for EIP-1559 (#11540)
* Restructure advanced gas form errors

* Use shared constant for gas errors

* Add validation for fields too low

* Add warnings for high max fee and max priority fee

* Fix lint

* Fix priority fee high warning string
2021-07-20 14:34:32 -05:00

73 lines
1.1 KiB
SCSS

.edit-gas-display {
& .actionable-message--warning,
& .actionable-message--error {
margin-top: 0;
& .actionable-message__message {
text-align: start;
}
}
&__top-tooltip {
text-align: center;
.info-tooltip {
display: inline-block;
img {
height: 10px;
width: 10px;
}
}
}
&__error .info-tooltip {
display: inline-block;
path {
fill: $error-1;
}
}
&__dapp-acknowledgement-warning {
margin-bottom: 20px;
}
button.edit-gas-display__dapp-acknowledgement-button {
margin: 40px auto 0 auto;
display: block;
color: $secondary-1;
border: 1px solid $secondary-1;
text-transform: unset;
width: auto;
background: transparent;
}
.radio-group {
margin: 20px auto;
}
&__advanced-button {
display: block;
margin: 0 auto;
background: transparent;
color: $primary-1;
font-weight: bold;
}
.advanced-gas-controls {
margin-top: 20px;
}
&__education {
margin-top: 20px;
button {
display: block;
margin: 0 auto;
background: transparent;
color: $primary-1;
}
}
}