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

89 lines
1.4 KiB
SCSS
Raw Normal View History

.edit-gas-item {
border-radius: 24px;
2021-11-23 19:18:44 +01:00
background: white;
color: var(--ui-4);
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(--primary-2);
}
&--selected {
background-color: var(--ui-1);
}
button.edit-gas-item--disabled[disabled] {
opacity: 0.25;
pointer-events: none;
}
&__name {
display: inline-flex;
align-items: center;
color: var(--ui-black);
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(--secondary-1);
}
&__time-estimate-medium,
&__time-estimate-high {
color: var(--success-3);
}
}