Commit 2d6fc8fd authored by Rushikesh Padsala's avatar Rushikesh Padsala
Browse files

Upload New File

parent 8cfb7861
/* General Reset */
html, body, #cesiumContainer {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
font-family: "Fira Sans", sans-serif;
background: #000;
top: 0;
left: 0;
position: absolute;
z-index: -1;
}
/* Navbar */
#Navbar {
overflow: hidden;
}
/* Backdrop Styling */
.backdrop {
display: inline-block;
background: rgba(42, 42, 42, 0.7);
border-radius: 5px;
border: 1px solid #444;
color: #fff;
line-height: 150%;
font-size: small;
padding: 5px 10px;
box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.2); /* Standardized box-shadow */
}
/* HFT Stuttgart Credit Logo */
.credit1 {
width: 100px;
height: 100px;
overflow: hidden;
position: fixed;
z-index: 99999;
background: url(Images/hft.jpg) no-repeat;
background-size: 100px;
bottom: 70px;
left: 10px;
box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.2); /* Standardized box-shadow */
}
/* E-mail Logo */
.credit2 {
width: 100px;
height: 100px;
overflow: hidden;
position: fixed;
z-index: 99999;
background: url(Images/email.jpg) no-repeat;
background-size: 100px;
bottom: 70px;
left: 120px;
box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.2); /* Standardized box-shadow */
}
/* Cesium InfoBox */
.cesium-infoBox {
width: 80%;
height: auto;
right: 5px;
background: rgba(0, 0, 0, 0.65);
border-radius: 10px;
border: 1px solid #444;
padding: 5px 10px;
color: #fff;
font-size: 1em;
float: right;
}
.cesium-infoBox-title {
background: rgba(0, 0, 0, 0);
font-size: 1em;
}
.cesium-infoBox-close {
z-index: 99999;
}
button.cesium-infoBox-camera {
display: none;
}
/* Checkbox Container Styling */
#checkboxContainer {
position: absolute;
z-index: 1000;
background: rgba(42, 42, 42, 0.7);
padding: 8px;
color: white;
border-radius: 5px;
border: 1px solid #444;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Standardized box-shadow */
}
/* Chart Container Styling */
#chartContainer {
position: absolute;
background: rgba(42, 42, 42, 0.7); /* Same background as the legend box */
border: 1px solid #444; /* Same border as the legend box */
color: white;
border-radius: 5px; /* Rounded corners */
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Same box-shadow as the legend box */
padding: 10px;
display: none; /* Hidden by default */
overflow: hidden; /* Prevent scrollbar */
width: 100%;
height: 400px;
}
/* Edit Toggle Button */
#editToggle {
position: absolute;
top: 10px;
right: 10px;
padding: 5px 10px;
border: none;
border-radius: 5px;
cursor: pointer;
color: white;
font-size: 12px;
}
/* Optional Hover Effect */
#editToggle:hover {
opacity: 0.9;
}
/* Select Dropdown for Energy Demand */
#colorByEndUse {
margin-top: 10px;
margin-bottom: 10px;
font-size: 14px;
padding: 5px;
}
/* Nowrap class */
.nowrap {
white-space: nowrap;
}
/* Cover */
.cover {
display: none;
position: absolute;
background-color: rgba(0, 0, 0, 0.75);
top: 0;
left: 0;
right: 0;
bottom: 0;
}
/* Menu Positioning */
#menu {
position: absolute;
left: 10px;
top: 10px;
}
/* Media Queries for Responsiveness */
@media (max-width: 768px) {
#chartContainer {
height: 300px; /* Adjust chart height for smaller screens */
}
#checkboxContainer {
padding: 5px;
font-size: 12px;
}
#editToggle {
font-size: 10px; /* Smaller font for smaller screens */
}
}
/* Loading Indicator Styles */
#spinner {
width: 287px;
height: 141px;
overflow: hidden;
position: fixed;
z-index: 99999;
background-color: white;
top: 50%;
left: 50%;
margin-top: -50px;
margin-left: -100px;
box-shadow: 0 0 10px 1px #000;
}
/* Legend Box Styling */
.legend-box {
position: absolute; /* Make the legend box positioned absolutely */
top: 170px; /* Adjust the top position to shift it down */
left: 10px; /* Align it to the left by adjusting this value */
background: rgba(42, 42, 42, 0.7);
border: 1px solid #444;
color: #fff;
padding: 10px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
width: 250px;
font-size: 14px;
}
.legend-box h3 {
margin: 0;
padding-bottom: 10px;
font-size: 16px;
color: #f9d71c; /* Optional: Accent color */
}
.legend-box ul {
list-style: none;
padding: 0;
margin: 0;
}
.legend-box ul li {
display: flex;
align-items: center;
margin-bottom: 5px;
font-size: 12px;
}
.legend-color {
width: 20px;
height: 20px;
display: inline-block;
margin-right: 10px;
border: 1px solid #ccc;
}
.credit-bar {
position: fixed;
bottom: 35px;
left: 6px;
font-size: 14px;
color: white;
background: rgba(0, 0, 0, 0.7);
padding: 6px 12px;
border-radius: 5px;
z-index: 99999;
box-shadow: 0 0 10px #000;
font-family: sans-serif;
}
.credit-bar a {
color: #1DA1F2; /* LinkedIn blue */
text-decoration: none;
font-weight: bold;
}
.credit-bar a:hover {
text-decoration: underline;
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment