Marthee commited on
Commit
cf4099a
·
verified ·
1 Parent(s): b17f4a0

Update static/MenuStyle.css

Browse files
Files changed (1) hide show
  1. static/MenuStyle.css +119 -10
static/MenuStyle.css CHANGED
@@ -1,12 +1,18 @@
1
 
 
 
 
 
 
2
  /********************************************************************/
3
  /* Style the tab */
4
 
5
  .tab {
6
  display: flex;
7
  align-items: center;
 
8
  justify-content: flex-start;
9
- gap: 10px; /* Adds spacing between elements */
10
  overflow: hidden;
11
  /* border: 1px solid black; */
12
  background-color:black;
@@ -14,10 +20,13 @@
14
  }
15
 
16
  .tablinks {
 
 
 
17
  color:white;
18
- font-size: 18px;
19
  text-decoration: none;
20
- padding: 10px;
21
  /* font-weight: bold; */
22
  /* color: #000; */
23
  /* background-color: #f0f0f0; */
@@ -25,6 +34,10 @@
25
  cursor: pointer;
26
  font-family: Arial, sans-serif;
27
  }
 
 
 
 
28
  /* Style the buttons that are used to open the tab content */
29
  .tab button {
30
  background-color: inherit;
@@ -32,14 +45,11 @@
32
  border: none;
33
  outline: none;
34
  cursor: pointer;
35
- padding: 14px 16px;
36
  transition: 0.3s;
37
  }
38
 
39
  /* Change background color of buttons on hover */
40
- .tab button:hover {
41
- background-color: rgb(0, 60, 255);
42
- }
43
 
44
  /* Create an active/current tablink class */
45
  .tab button.active {
@@ -205,9 +215,108 @@ cursor: pointer;
205
 
206
  /* i info button*/
207
  #infoImg{
208
- width:30px;
209
  margin-top: -5px;
210
- margin-bottom: -10px;
211
 
212
  /* margin-left: -200px; */
213
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
 
2
+
3
+ #LegendHist {
4
+ margin-left: 2px;
5
+ }
6
+
7
  /********************************************************************/
8
  /* Style the tab */
9
 
10
  .tab {
11
  display: flex;
12
  align-items: center;
13
+ height: 47px;
14
  justify-content: flex-start;
15
+ gap: 0px; /* Adds spacing between elements */
16
  overflow: hidden;
17
  /* border: 1px solid black; */
18
  background-color:black;
 
20
  }
21
 
22
  .tablinks {
23
+ width: 135px; /* Sets the fixed width */
24
+ min-width: 135px; /* Prevents it from shrinking */
25
+ max-width: 135px; /* Prevents it from expanding */
26
  color:white;
27
+ font-size: 16px;
28
  text-decoration: none;
29
+ padding: 0px;
30
  /* font-weight: bold; */
31
  /* color: #000; */
32
  /* background-color: #f0f0f0; */
 
34
  cursor: pointer;
35
  font-family: Arial, sans-serif;
36
  }
37
+ .tablinks:hover{
38
+ color:#51c5eb;
39
+
40
+ }
41
  /* Style the buttons that are used to open the tab content */
42
  .tab button {
43
  background-color: inherit;
 
45
  border: none;
46
  outline: none;
47
  cursor: pointer;
48
+ padding: 14px 8px;
49
  transition: 0.3s;
50
  }
51
 
52
  /* Change background color of buttons on hover */
 
 
 
53
 
54
  /* Create an active/current tablink class */
55
  .tab button.active {
 
215
 
216
  /* i info button*/
217
  #infoImg{
218
+ width:20px;
219
  margin-top: -5px;
220
+ margin-bottom: -8px;
221
 
222
  /* margin-left: -200px; */
223
+ }
224
+
225
+
226
+
227
+ #dynamicTabs {
228
+ display: flex;
229
+ overflow-x: auto; /* Enables horizontal scrolling */
230
+ white-space: nowrap; /* Prevent line breaks inside the container */
231
+ gap: 1px; /* Optional: adds spacing between tabs */
232
+ width: 1100px;
233
+ margin-left:8px;
234
+ }
235
+
236
+ #dynamicTabs .tablinks {
237
+ background-color: #333; /* Background color for each tab */
238
+ color: white; /* Text color */
239
+ border: none;
240
+ padding: 10px 2px;
241
+ margin:3px;
242
+ cursor: pointer;
243
+ transition: background-color 0.3s ease;
244
+ }
245
+
246
+ #dynamicTabs .tablinks:hover {
247
+ background-color: rgb(0, 60, 255); /* Background color on hover */
248
+ color:#51c5eb;
249
+ }
250
+
251
+ #dynamicTabs .tablinks .fa-times {
252
+ cursor: pointer;
253
+ margin-left: 10px;
254
+ }
255
+
256
+ #dynamicTabs .tablinks .fa-times:hover {
257
+ color: red; /* Change color when hover over the close icon */
258
+ }
259
+
260
+
261
+ /* Customize the scrollbar */
262
+ #dynamicTabs::-webkit-scrollbar {
263
+ height: 3px; /* Adjust the height of the scrollbar */
264
+ }
265
+
266
+ #dynamicTabs::-webkit-scrollbar-track {
267
+ background: #f1f1f1; /* Set the track (background) color */
268
+ border-radius: 0px; /* Optional: round the corners of the scrollbar track */
269
+ }
270
+
271
+ #dynamicTabs::-webkit-scrollbar-thumb {
272
+ background: #888; /* Set the color of the scroll thumb */
273
+ border-radius: 2px; /* Optional: round the corners of the thumb */
274
+ transition: background-color 0.3s ease; /* Smooth transition on hover */
275
+ }
276
+
277
+ #dynamicTabs::-webkit-scrollbar-thumb:hover {
278
+ background: #555; /* Darker color when hovering over the scrollbar thumb */
279
+ }
280
+
281
+ #dynamicTabs::-webkit-scrollbar-button {
282
+ display: none; /* Hide the scrollbar buttons (arrows) */
283
+ }
284
+ /* Styling for the dynamic dropdown container */
285
+ .dynamicdropdownclass {
286
+ position: relative;
287
+ display: inline-block;
288
+ cursor: pointer; /* Indicates the container is interactive */
289
+ }
290
+
291
+ /* Styling for the dropdown content (FramestabsDropdown) */
292
+ #FramestabsDropdown {
293
+ display: none;
294
+ position:fixed;
295
+ background-color: #f1f1f1;
296
+ min-width: 160px;
297
+ box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
298
+ z-index: 1;
299
+ padding: 10px 0;
300
+ background-color:gray;
301
+ margin-left:65%;
302
+
303
+ }
304
+
305
+ /* Styling for the label (tab) links inside the dropdown */
306
+ #FramestabsDropdown .tabslabel {
307
+ color: black;
308
+ padding: 12px 16px;
309
+ text-decoration: none;
310
+ display: block;
311
+ background-color: #fff;
312
+ border: none;
313
+ text-align: left;
314
+ background-color:gray;
315
+
316
+ }
317
+
318
+ /* Hover effect for the label links inside the dropdown */
319
+ #FramestabsDropdown .tabslabel:hover {
320
+ background-color: #ddd;
321
+ }
322
+