mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
move currency-display styles to where they are used (#9119)
This commit is contained in:
parent
658e478f29
commit
723e478689
@ -1,82 +0,0 @@
|
|||||||
.currency-display {
|
|
||||||
height: 54px;
|
|
||||||
border: 1px solid $alto;
|
|
||||||
border-radius: 4px;
|
|
||||||
background-color: $white;
|
|
||||||
color: $scorpion;
|
|
||||||
font-size: 16px;
|
|
||||||
padding: 8px 10px;
|
|
||||||
position: relative;
|
|
||||||
|
|
||||||
&__primary-row {
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
|
|
||||||
&__input {
|
|
||||||
color: $scorpion;
|
|
||||||
font-size: 16px;
|
|
||||||
line-height: 22px;
|
|
||||||
border: none;
|
|
||||||
max-width: 22ch;
|
|
||||||
}
|
|
||||||
|
|
||||||
&__primary-currency {
|
|
||||||
color: $scorpion;
|
|
||||||
font-weight: 400;
|
|
||||||
font-size: 16px;
|
|
||||||
line-height: 22px;
|
|
||||||
}
|
|
||||||
|
|
||||||
&__converted-row {
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
|
|
||||||
&__converted-value,
|
|
||||||
&__converted-currency {
|
|
||||||
color: $dusty-gray;
|
|
||||||
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;
|
|
||||||
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;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -15,7 +15,6 @@
|
|||||||
|
|
||||||
// Tx List and Sections
|
// Tx List and Sections
|
||||||
@import './sections';
|
@import './sections';
|
||||||
@import './currency-display';
|
|
||||||
@import './menu';
|
@import './menu';
|
||||||
@import './gas-slider';
|
@import './gas-slider';
|
||||||
@import './tab-bar';
|
@import './tab-bar';
|
||||||
|
@ -0,0 +1,82 @@
|
|||||||
|
.currency-display {
|
||||||
|
height: 54px;
|
||||||
|
border: 1px solid $alto;
|
||||||
|
border-radius: 4px;
|
||||||
|
background-color: $white;
|
||||||
|
color: $scorpion;
|
||||||
|
font-size: 16px;
|
||||||
|
padding: 8px 10px;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
&__primary-row {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
&__input {
|
||||||
|
color: $scorpion;
|
||||||
|
font-size: 16px;
|
||||||
|
line-height: 22px;
|
||||||
|
border: none;
|
||||||
|
max-width: 22ch;
|
||||||
|
}
|
||||||
|
|
||||||
|
&__primary-currency {
|
||||||
|
color: $scorpion;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 16px;
|
||||||
|
line-height: 22px;
|
||||||
|
}
|
||||||
|
|
||||||
|
&__converted-row {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
&__converted-value,
|
||||||
|
&__converted-currency {
|
||||||
|
color: $dusty-gray;
|
||||||
|
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;
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -1,3 +1,5 @@
|
|||||||
|
@import './send-content/send-gas-row/send-gas-row';
|
||||||
|
|
||||||
.send {
|
.send {
|
||||||
&__header {
|
&__header {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user