mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-04 23:14:56 +01:00
156 lines
2.7 KiB
SCSS
156 lines
2.7 KiB
SCSS
.advanced-gas-inputs {
|
|
&__gas-edit-rows {
|
|
display: flex;
|
|
flex-flow: row;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
&__gas-edit-row {
|
|
display: flex;
|
|
flex-flow: column;
|
|
width: 47.5%;
|
|
|
|
&__label {
|
|
@include H7;
|
|
|
|
color: #313b5e;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
|
|
@media screen and (max-width: $break-small) {
|
|
@include H8;
|
|
}
|
|
|
|
.fa-info-circle {
|
|
color: var(--silver);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.fa-info-circle:hover {
|
|
color: var(--mid-gray);
|
|
}
|
|
}
|
|
|
|
&__error-text {
|
|
@include H7;
|
|
|
|
color: red;
|
|
}
|
|
|
|
&__warning-text {
|
|
@include H7;
|
|
|
|
color: orange;
|
|
}
|
|
|
|
&__input-wrapper {
|
|
position: relative;
|
|
}
|
|
|
|
&__input {
|
|
/*rtl:ignore*/
|
|
@include Paragraph;
|
|
|
|
direction: ltr;
|
|
border: 1px solid var(--dusty-gray);
|
|
border-radius: 4px;
|
|
color: var(--mid-gray);
|
|
height: 24px;
|
|
width: 100%;
|
|
padding-left: 8px;
|
|
padding-top: 2px;
|
|
margin-top: 7px;
|
|
}
|
|
|
|
&__input--error {
|
|
border: 1px solid var(--red);
|
|
}
|
|
|
|
&__input--warning {
|
|
border: 1px solid var(--orange);
|
|
}
|
|
|
|
&__input-arrows {
|
|
@include H6;
|
|
|
|
position: absolute;
|
|
top: 7px;
|
|
|
|
/*rtl:ignore*/
|
|
right: 0;
|
|
width: 17px;
|
|
height: 24px;
|
|
border: 1px solid #dadada;
|
|
border-top-right-radius: 4px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
color: #9b9b9b;
|
|
border-bottom-right-radius: 4px;
|
|
cursor: pointer;
|
|
|
|
&__i-wrap {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
}
|
|
|
|
&__i-wrap:hover {
|
|
background: #4eade7;
|
|
color: var(--white);
|
|
}
|
|
|
|
i:hover {
|
|
background: #4eade7;
|
|
}
|
|
|
|
i {
|
|
font-size: $font-size-h8;
|
|
}
|
|
|
|
&--hidden {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
&__input-arrows--error {
|
|
border: 1px solid var(--red);
|
|
}
|
|
|
|
&__input-arrows--warning {
|
|
border: 1px solid var(--orange);
|
|
}
|
|
|
|
input[type="number"] {
|
|
-webkit-appearance: textfield;
|
|
-moz-appearance: textfield;
|
|
appearance: textfield;
|
|
}
|
|
|
|
input[type="number"]::-webkit-inner-spin-button {
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
display: none;
|
|
}
|
|
|
|
input[type="number"]:hover::-webkit-inner-spin-button {
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
display: none;
|
|
}
|
|
|
|
&__gwei-symbol {
|
|
position: absolute;
|
|
top: 8px;
|
|
right: 10px;
|
|
color: var(--dusty-gray);
|
|
}
|
|
|
|
&__custom-text {
|
|
@include H7;
|
|
}
|
|
}
|
|
}
|