aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/gas-customization/gas-price-chart/index.scss
blob: 097543104cb4f7bab1e64a4c5d8a3f480ac5e1e7 (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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
.gas-price-chart {
  display: flex;
  position: relative;
  justify-content: center;

  &__root {
    max-height: 154px;
    max-width: 391px;
    position: relative;
    overflow: hidden;

    @media screen and (max-width: $break-small) {
      max-width: 326px;
    }
  }

  .tick text, .c3-axis-x-label, .c3-axis-y-label {
    font-family: Roboto;
    font-style: normal;
    font-weight: bold;
    line-height: normal;
    font-size: 8px;
    text-align: center;
    fill: #9A9CA6 !important;
  }

  .c3-tooltip-container {
    display: flex;
    justify-content: center !important;
    align-items: flex-end !important;
  }

  .custom-tooltip {
    background: rgba(0, 0, 0, 1);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 3px;
    opacity: 1 !important;
    height: 21px;
    z-index: 1;
  }

  .tooltip-arrow {
    background: black;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.5);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    opacity: 1 !important;
    width: 9px;
    height: 9px;
    margin-top: 4px;
  }

  .custom-tooltip th {
    font-family: Roboto;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    font-size: 10px;
    text-align: center;
    padding: 3px;
    color: #FFFFFF;
  }

  .c3-circle {
    visibility: hidden;
  }

  .c3-selected-circle, .c3-circle._expanded_ {
    fill: #FFFFFF !important;
    stroke-width: 2.4px !important;
    stroke: #2d9fd9 !important;
    /* visibility: visible; */
  }

  #set-circle {
    fill: #313A5E !important;
    stroke: #313A5E !important;
  }

  .c3-axis-x-label, .c3-axis-y-label {
    font-weight: normal;
  }

  .tick text tspan {
    visibility: hidden;
  }

  .c3-circle {
    fill: #2d9fd9 !important;
  }

  .c3-line-data1 {
    stroke: #2d9fd9 !important;
    background: rgba(0,0,0,0) !important;
    color: rgba(0,0,0,0) !important;
  }

  .c3 path {
    fill: none;
  }

  .c3 path.c3-area-data1 {
    opacity: 1;
    fill: #e9edf1 !important;
  }

  .c3-xgrid-line line {
    stroke: #B8B8B8 !important;
  }

  .c3-xgrid-focus {
    stroke: #aaa;
  }

  .c3-axis-x .domain {
    fill: none;
    stroke: none;
  }

  .c3-axis-y .domain {
    fill: none;
    stroke: #C8CCD6;
  }

  .c3-event-rect {
    cursor: pointer;
  }
}

#chart {
  background: #F8F9FB
}