aboutsummaryrefslogblamecommitdiffstats
path: root/ui/app/css/itcss/components/currency-display.scss
blob: 5f380475a76b5ebbad3cbf6b4dbf054b76cefd4b (plain) (tree)
1
2
3
4
5
6
7
8

                   


                           
                   

                      






                     






                          
                    




















                         



                       

                    









                                                           



                      
                     
   











                                                           
 
.currency-display {
  height: 54px;
  border: 1px solid $alto;
  border-radius: 4px;
  background-color: $white;
  color: $scorpion;
  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;
  }

  &__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"]::-webkit-inner-spin-button {
      -webkit-appearance: none;
      display: none;
    }

    input[type="number"]:hover::-webkit-inner-spin-button {
      -webkit-appearance: none;
      display: none;
    }
  }

  &__currency-symbol {
    margin-top: 1px;
    color: $scorpion;
  }

  .react-numeric-input {
    input[type="number"]::-webkit-inner-spin-button {
      -webkit-appearance: none;
      display: none;
    }

    input[type="number"]:hover::-webkit-inner-spin-button {
      -webkit-appearance: none;
      display: none;
    }
  }
}