1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-12 12:47:14 +01:00
metamask-extension/ui/components/app/edit-gas-display/index.scss
Dan J Miller 29487ef277
Allow submission of transactions with dapp suggested gas fees, while estimates are loading (#11858)
* Allow submission of transactions with dapp suggested gas fees, while estimates are loading

* Allow editing of transactions with dapp suggested feeds, while estimates are still loading

* Ensure that advanced gas is always editible inline when gas is loading

* Ensure that insufficient balance error is shown when gas is loading if the user has customized the gas

* Only set gas price insufficient errors if the current network is non-eip-1559, or the txparams actually have a gas price

* Remove unnecessary param

* lint fix

* ensure insufficient balance warning is showing when loading

* Ensure that eip1559 network transactions do not combined eip1559 and non-eip1559 gas fee properties

* Lint fix
2021-08-17 17:38:13 -02:30

71 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;
}
}
}
&__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;
}
}
&__warning {
margin-bottom: 24px;
position: relative;
margin-top: 4px;
}
}