Marthee commited on
Commit
d7d4ddb
·
verified ·
1 Parent(s): 04361d6

Update static/MenuStyle.css

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