|
1 | 1 | .state-container {
|
2 |
| - font-size: 10px; |
3 | 2 | overflow: auto;
|
4 |
| - background-color: $state-background; |
5 |
| -} |
6 |
| - |
7 |
| -.toggleAC { |
8 |
| - background: #ff0001; |
9 |
| - height: 50%; |
10 |
| - text-decoration: none; |
11 |
| - border: none; |
12 |
| -} |
13 |
| - |
14 |
| -.toggleAC:focus { |
15 |
| - outline: none; |
16 |
| - box-shadow: none; |
17 |
| -} |
18 |
| - |
19 |
| -.state-container .main-navbar { |
20 |
| - background-color: $state-background; |
21 |
| - color: #ff0000; |
22 |
| - display: flex; |
23 |
| - flex-direction: row; |
24 |
| - justify-content: flex-start; |
25 |
| - align-items: center; |
26 |
| - height: 35px; |
27 |
| - margin: 6px; |
28 | 3 | }
|
29 | 4 |
|
30 | 5 | .state-container .componentMapContainer {
|
31 | 6 | height: 95% !important;
|
32 | 7 | fill: $state-background;
|
33 | 8 | }
|
34 | 9 |
|
35 |
| -.state-container .main-navbar-container { |
36 |
| - position: sticky; |
37 |
| - top: 0px; |
38 |
| - left: 0px; |
39 |
| - z-index: 1; |
40 |
| - background-color: $state-background; |
41 |
| - |
42 |
| - display: flex; |
43 |
| - flex-direction: row; |
44 |
| - justify-content: space-between; |
45 |
| - align-items: center; |
46 |
| - height: 35px; |
47 |
| -} |
48 |
| - |
49 | 10 | .no-data-message {
|
50 | 11 | color: #ff0001;
|
51 | 12 | font: normal 13px $text-font-stack;
|
52 | 13 | padding: 10px;
|
53 | 14 | }
|
54 | 15 |
|
55 | 16 | .state-container {
|
56 |
| - .main-navbar-text { |
57 |
| - margin: 6px; |
58 |
| - } |
59 |
| - |
60 | 17 | .main-router-link {
|
| 18 | + //diff button |
61 | 19 | font-size: 14px;
|
62 | 20 | height: 75%;
|
63 | 21 | width: 75px;
|
|
66 | 24 | align-items: center;
|
67 | 25 | text-decoration: none;
|
68 | 26 | color: $header-button-inactive-text;
|
69 |
| - |
70 | 27 | background: $header-button-inactive;
|
71 | 28 | border-radius: 5px;
|
72 | 29 | border: 1px solid rgba(184, 196, 194, 0.25);
|
|
85 | 42 | }
|
86 | 43 |
|
87 | 44 | .router-link {
|
88 |
| - height: 100%; |
89 |
| - width: 10%; |
90 |
| - display: flex; |
91 |
| - justify-content: center; |
92 |
| - align-items: center; |
93 |
| - background-color: $navbar-unselected; |
| 45 | + padding: 8px 16px; |
| 46 | + font-size: 14px; |
| 47 | + font-weight: 500; |
| 48 | + border: none; |
| 49 | + border-bottom: 2px solid transparent; |
| 50 | + color: #4b5563; |
94 | 51 | text-decoration: none;
|
95 |
| - color: $navbar-unselected-text; |
96 |
| - font-size: 75%; |
97 |
| - overflow: hidden; |
98 |
| - } |
99 |
| - |
100 |
| - .map-tab1 { |
101 |
| - border-top-left-radius: 5px; |
102 |
| - border-bottom-left-radius: 5px; |
103 |
| - } |
104 |
| - |
105 |
| - .accessibility-tab { |
106 |
| - border-top-right-radius: 5px; |
107 |
| - border-bottom-right-radius: 5px; |
108 |
| - } |
109 |
| - |
110 |
| - .router-link:hover { |
111 |
| - background-color: $navbar-hover; |
112 |
| - } |
113 |
| - |
114 |
| - .router-link.is-active { |
115 |
| - background-color: $navbar-selected; |
116 |
| - color: $navbar-selected-text; |
| 52 | + background-color: transparent; |
| 53 | + cursor: pointer; |
| 54 | + transition: |
| 55 | + color 200ms ease, |
| 56 | + border-color 200ms ease; |
| 57 | + margin: 0; |
| 58 | + position: relative; |
| 59 | + |
| 60 | + &:hover { |
| 61 | + color: #1f2937; |
| 62 | + background-color: transparent; |
| 63 | + } |
| 64 | + |
| 65 | + &.is-active { |
| 66 | + border-bottom: 2px solid #0d9488; |
| 67 | + color: #0d9488; |
| 68 | + background-color: transparent; |
| 69 | + } |
117 | 70 | }
|
118 | 71 |
|
119 | 72 | .navbar {
|
120 | 73 | display: flex;
|
| 74 | + background-color: white; |
| 75 | + border-bottom: 1px solid #e5e7eb; |
121 | 76 | flex-direction: row;
|
122 | 77 | justify-content: center;
|
123 | 78 | align-items: center;
|
124 | 79 | height: 30px;
|
125 | 80 | position: fixed;
|
126 |
| - top: 4px; //should revisit to figure out a more dynamic way of sticking the navbar to the bottom of the main-navbar // <- tried placing the main nav on the same line to save space but ran into problems with the svg div of the tree + animation. Will need closer inspection |
| 81 | + top: 4px; |
127 | 82 | left: 50%;
|
128 | 83 | transform: translateX(-50%);
|
129 | 84 | width: 65vw;
|
130 | 85 | z-index: 1;
|
131 |
| - |
132 |
| - @extend %disable-highlight; |
133 | 86 | }
|
134 | 87 |
|
135 | 88 | .main-navbar {
|
136 |
| - background-color: $header-background; |
137 | 89 | display: flex;
|
138 | 90 | flex-direction: row;
|
139 | 91 | justify-content: flex-start;
|
|
143 | 95 | }
|
144 | 96 |
|
145 | 97 | .main-navbar-container {
|
146 |
| - top: 0px; |
147 |
| - left: 0px; |
148 |
| - z-index: 1; |
149 |
| - background-color: $header-background; |
150 | 98 | display: flex;
|
151 | 99 | flex-direction: row;
|
152 | 100 | justify-content: space-between;
|
153 | 101 | align-items: center;
|
154 |
| - height: 40px; |
155 | 102 | }
|
156 | 103 | }
|
157 | 104 |
|
|
162 | 109 | }
|
163 | 110 |
|
164 | 111 | .performance-nav-bar-container {
|
165 |
| - background-color: #ff0002; |
166 | 112 | display: flex;
|
167 | 113 | border: $performance-subtab-border;
|
168 | 114 | height: 30px;
|
|
236 | 182 | z-index: 2;
|
237 | 183 | }
|
238 | 184 |
|
239 |
| -// .state-container .router-link { |
240 |
| -// border: 0.5px solid rgba(0, 0, 0, 0.5); |
241 |
| -// border-bottom: none; |
242 |
| -// } |
243 |
| - |
244 | 185 | .tooltipData {
|
245 | 186 | background-color: #373737;
|
246 | 187 | margin-top: 4px;
|
|
276 | 217 | .app-content {
|
277 | 218 | height: 100%;
|
278 | 219 | }
|
279 |
| - |
280 |
| -.heat-map-legend-container { |
281 |
| - display: flex; |
282 |
| - height: 3px; |
283 |
| - width: 200px; |
284 |
| - background-image: linear-gradient( |
285 |
| - to right, |
286 |
| - $heat-level-1, |
287 |
| - $heat-level-2, |
288 |
| - $heat-level-3, |
289 |
| - $heat-level-4 |
290 |
| - ); |
291 |
| -} |
0 commit comments