1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-12 12:47:14 +01:00
metamask-extension/ui/pages/send/send-content/send-gas-row/send-gas-row.scss

84 lines
1.5 KiB
SCSS
Raw Normal View History

.currency-display {
2020-10-29 17:31:48 +01:00
@include Paragraph;
height: 54px;
2022-03-24 15:45:00 +01:00
border: 1px solid var(--color-border-default);
border-radius: 4px;
2022-03-24 15:45:00 +01:00
background-color: var(--color-background-default);
color: var(--color-text-muted);
padding: 8px 10px;
position: relative;
&__primary-row {
display: flex;
}
&__input {
2020-10-29 17:31:48 +01:00
@include Paragraph;
2022-03-24 15:45:00 +01:00
color: var(--color-text-muted);
border: none;
max-width: 22ch;
}
&__primary-currency {
2020-10-29 17:31:48 +01:00
@include Paragraph;
2022-03-24 15:45:00 +01:00
color: var(--color-text-muted);
font-weight: 400;
}
&__converted-row {
display: flex;
}
&__converted-value,
&__converted-currency {
2020-10-29 17:31:48 +01:00
@include H7;
2022-03-24 15:45:00 +01:00
color: var(--color-text-muted);
}
&__input-wrapper {
position: relative;
display: flex;
flex: 1;
max-width: 100%;
input[type="number"] {
-moz-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;
}
}
&__currency-symbol {
margin-top: 1px;
2022-03-24 15:45:00 +01:00
color: var(--color-text-muted);
}
.react-numeric-input {
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;
}
}
}