1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-02 06:07:06 +01:00
metamask-extension/ui/components/app/edit-gas-fee-popover/edit-gas-item/index.scss

93 lines
1.6 KiB
SCSS
Raw Normal View History

.edit-gas-item {
border-radius: 24px;
background: var(--color-background-default);
color: var(--color-text-alternative);
cursor: pointer;
font-size: 12px;
display: flex;
align-items: center;
margin: 12px 0;
padding: 4px 12px;
height: 32px;
2021-11-23 19:18:44 +01:00
width: 100%;
2022-01-06 23:40:31 +01:00
&:hover:not([disabled]) {
background-color: var(--color-background-default-hover);
}
&--selected {
background-color: var(--color-primary-muted);
&:hover:not([disabled]) {
background-color: var(--color-primary-muted);
}
}
button.edit-gas-item--disabled[disabled] {
opacity: 0.25;
pointer-events: none;
}
&__name {
display: inline-flex;
align-items: center;
color: var(--color-text-default);
font-size: 12px;
font-weight: bold;
2021-12-12 00:26:28 +01:00
white-space: nowrap;
width: 36%;
&__sufix {
font-weight: 400;
margin-left: 4px;
}
}
&__icon {
font-size: 20px;
line-height: 1;
margin-right: 4px;
&-custom {
2022-01-06 23:40:31 +01:00
font-size: 22px;
line-height: 1;
}
}
&__maxfee {
position: relative;
}
&__time-estimate {
display: inline-block;
text-align: left;
width: 24%;
}
&__fee-estimate {
display: inline-block;
width: 30%;
white-space: nowrap;
}
&__tooltip {
display: inline-block;
text-align: right;
width: 10%;
.info-tooltip {
display: inline-block;
}
}
&__time-estimate-low,
&__fee-estimate-high {
color: var(--color-warning-default);
}
&__time-estimate-medium,
&__time-estimate-high {
2022-03-28 17:02:53 +02:00
color: var(--color-success-default);
}
}