-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move currency-display styles to where they are used (#9119)
- Loading branch information
1 parent
658e478
commit 723e478
Showing
4 changed files
with
84 additions
and
83 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
@import './send-content/send-gas-row/send-gas-row'; | ||
|
||
.send { | ||
&__header { | ||
position: relative; | ||
|