aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/css/itcss/components/currency-display.scss
blob: 3560b0b0c5993c428e34f10f5b3e83a36e40ebb1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
.currency-display {
  height: 54px;
  width: 100%ß;
  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: 100%;
  }

  &__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;

    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;
    }
  }
}