Measurement / static /MenuStyle.css
Marthee's picture
Update static/MenuStyle.css
53bd9ed verified
#LegendHist {
margin-left: 2px;
}
/********************************************************************/
/* Style the tab */
.tab {
display: flex;
align-items: center;
height: 47px;
justify-content: flex-start;
gap: 0px; /* Adds spacing between elements */
overflow: hidden;
/* border: 1px solid black; */
background-color:black;
/* font-family: "acumin-pro", sans-serif; */
}
.tablinks {
/* Sets the fixed width */
min-width: 135px; /* Prevents it from shrinking */
color:white;
font-size: 16px;
text-decoration: none;
padding: 0px;
/* font-weight: bold; */
/* color: #000; */
/* background-color: #f0f0f0; */
border: none;
cursor: pointer;
font-family: Arial, sans-serif;
}
.tablinks:hover{
color:#51c5eb;
}
/* Style the buttons that are used to open the tab content */
.tab button {
background-color: inherit;
/* float: left; */
border: none;
outline: none;
cursor: pointer;
padding: 14px 8px;
transition: 0.3s;
}
/* Change background color of buttons on hover */
/* Create an active/current tablink class */
.tab button.active {
background-color: rgb(0, 60, 255);
}
/* Style the tab content */
.tabcontent {
display: none;
/* padding: 6px 12px; */
/* border: 1px solid #ccc; */
border-top: none;
}
/*********************************************************************/
.tab .dropbtn{
/* float:right; */
margin-left: auto; /* Pushes the button to the right */
background-color: inherit;
border: none;
outline: none;
cursor: pointer;
padding: 14px 16px;
transition: 0.3s;
}
.container {
/* display: inline-block; */
cursor: pointer;
margin-top: 5px;
display: block;
float: left;
margin-right: 5px;
}
.bar1, .bar2, .bar3 {
width: 30px;
height: 5px;
background-color: #fcfcfc;
margin: 5px 0;
transition: 0.4s;
margin-left: 5px;
}
.change .bar1 {
transform: translate(0, 10px) rotate(-45deg);
}
.change .bar2 {opacity: 0;}
.change .bar3 {
transform: translate(0, -10px) rotate(45deg);
}
/*Dashed Lines on the left - Menu icon */
#mySidebar {
position: fixed;
width:450px;
height:900px;
background:rgb(179, 179, 179);
transform: translateX(-100%);
-webkit-transform: translateX(-100%);
z-index: 2;
}
.slide-in {
animation: slide-in 0.9s forwards;
-webkit-animation: slide-in 0.9s forwards;
}
.slide-out {
animation: slide-out 0.9s forwards;
-webkit-animation: slide-out 0.9s forwards;
}
@keyframes slide-in {
100% { transform: translateX(0%); }
}
@-webkit-keyframes slide-in {
100% { -webkit-transform: translateX(0%); }
}
@keyframes slide-out {
0% { transform: translateX(0%); }
100% { transform: translateX(-100%); }
}
@-webkit-keyframes slide-out {
0% { -webkit-transform: translateX(0%); }
100% { -webkit-transform: translateX(-100%); }
}
/*Menu options*/
#menuOptions , #menuOptions li a{
margin-left: 5px;
font-size: 25px;
margin-top: 8px;
color: white;
font-family: "acumin-pro", sans-serif;
font-weight: 400;
font-style: normal;
text-decoration: none;
}
#menuOptions li{
margin-bottom: 6px;
}
#menuOptions li:hover, #menuOptions li a:hover{
color: black;
cursor: pointer;
}
/* i info button*/
#infoImg{
width:20px;
margin-top: -5px;
margin-bottom: -8px;
/* margin-left: -200px; */
}
#dynamicTabs {
display: flex;
overflow-x: auto; /* Enables horizontal scrolling */
white-space: nowrap; /* Prevent line breaks inside the container */
gap: 1px; /* Optional: adds spacing between tabs */
width: 1100px;
margin-left:8px;
}
#dynamicTabs .tablinks {
background-color: #333; /* Background color for each tab */
min-width:500px;
color: white; /* Text color */
border: none;
padding: 10px 2px;
margin:3px;
cursor: pointer;
transition: background-color 0.3s ease;
}
#dynamicTabs .tablinks .fa-times {
cursor: pointer;
margin-left: 10px;
}
#dynamicTabs .tablinks .fa-times:hover {
color: red; /* Change color when hover over the close icon */
}
/* Customize the scrollbar */
#dynamicTabs::-webkit-scrollbar {
height: 3px; /* Adjust the height of the scrollbar */
}
#dynamicTabs::-webkit-scrollbar-track {
background: #f1f1f1; /* Set the track (background) color */
border-radius: 0px; /* Optional: round the corners of the scrollbar track */
}
#dynamicTabs::-webkit-scrollbar-thumb {
background: #888; /* Set the color of the scroll thumb */
border-radius: 2px; /* Optional: round the corners of the thumb */
transition: background-color 0.3s ease; /* Smooth transition on hover */
}
#dynamicTabs::-webkit-scrollbar-thumb:hover {
background: #555; /* Darker color when hovering over the scrollbar thumb */
}
#dynamicTabs::-webkit-scrollbar-button {
display: none; /* Hide the scrollbar buttons (arrows) */
}
/* Styling for the dynamic dropdown container */
.dynamicdropdownclass {
position: relative;
display: inline-block;
cursor: pointer; /* Indicates the container is interactive */
}
/* Styling for the dropdown content (FramestabsDropdown) */
#FramestabsDropdown {
display: none;
position:fixed;
background-color: #f1f1f1;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 1;
padding: 10px 0;
background-color:gray;
margin-left:65%;
}
/* Styling for the label (tab) links inside the dropdown */
#FramestabsDropdown .tabslabel {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
background-color: #fff;
border: none;
text-align: left;
background-color:gray;
}
/* Hover effect for the label links inside the dropdown */
#FramestabsDropdown .tabslabel:hover {
background-color: #ddd;
}