1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-12 12:47:14 +01:00
metamask-extension/ui/app/css/itcss/components/currency-display.scss

88 lines
1.6 KiB
SCSS
Raw Normal View History

2017-10-09 18:25:23 +02:00
.currency-display {
height: 54px;
border: 1px solid $alto;
border-radius: 4px;
background-color: $white;
2018-02-13 07:39:15 +01:00
color: $scorpion;
2017-10-09 18:25:23 +02:00
font-family: Roboto;
font-size: 16px;
padding: 8px 10px;
position: relative;
&__primary-row {
display: flex;
}
&__input {
color: $scorpion;
font-family: Roboto;
font-size: 16px;
line-height: 22px;
border: none;
outline: 0 !important;
max-width: 22ch;
2017-10-09 18:25:23 +02:00
}
&__primary-currency {
color: $scorpion;
font-weight: 400;
font-family: Roboto;
font-size: 16px;
line-height: 22px;
}
&__converted-row {
display: flex;
}
&__converted-value,
&__converted-currency {
color: $dusty-gray;
font-family: Roboto;
font-size: 12px;
line-height: 12px;
}
&__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;
2018-02-13 07:39:15 +01:00
color: $scorpion;
}
.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;
}
}
}