Files
timelapse-frontend/css/style.css

247 lines
4.9 KiB
CSS

body::before {
content: "";
position: fixed; /* Use fixed positioning to keep the image in place */
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url("../image/camera-image");
background-position: center;
background-size: cover;
filter: blur(1px) brightness(0.3);
z-index: -100; /* Ensure the background image stays behind other content */
}
.container {
max-width: 1140px;
margin: auto;
padding: 15px;
}
.mt-5 {
margin-top: 5rem;
}
.mb-4 {
margin-bottom: 4rem;
}
.text-center {
text-align: center;
}
.modal,
.form-container {
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
justify-content: center;
align-items: center;
}
.modal-content,
.form-content {
background-color: #1e1e1e;
padding: 20px;
border-radius: 8px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
width: 80%;
max-width: 600px;
margin: auto;
color: #e0e0e0;
}
.form-content {
padding: 30px;
border-radius: 12px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
text-align: left;
display: flex;
flex-direction: column;
max-height: 90vh;
overflow-y: auto;
}
.modal-buttons {
text-align: center;
margin-top: 20px;
}
.default-button {
background-color: #248f99;
z-index: 15;
color: white;
border: none;
padding: 10px;
cursor: pointer;
border-radius: 5px;
font-size: 18px;
margin-bottom: 15px;
white-space: nowrap;
transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
}
.default-button:hover {
transform: translateY(-4px); /* Lift the button more on hover */
box-shadow: 0 6px 8px rgba(0, 0, 0, 1); /* Increase shadow on hover */
}
.default-button:active {
transform: translateY(0); /* Remove lift on click */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Reduce shadow on click */
}
.buttons-container {
display: flex;
gap: 10px; /* Space between buttons */
margin-bottom: 20px;
}
.form-content h1 {
margin-bottom: 20px;
font-size: 1.5rem;
color: #f0f0f0;
}
.form-content label {
margin-bottom: 10px;
font-weight: bold;
color: #cccccc;
}
.form-content input,
.form-content select {
margin-bottom: 20px;
padding: 12px;
font-size: 1rem;
border: 1px solid #555;
border-radius: 4px;
width: 100%;
box-sizing: border-box;
background-color: #333;
color: #e0e0e0;
}
.duration-input,
.fraction-input {
display: flex;
align-items: center;
justify-content: center;
}
.duration-input button,
.fraction-input button {
width: 40px;
height: 40px;
margin: 0 10px;
background-color: #007bff;
color: #fff;
border: none;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s;
}
.duration-input button:hover,
.fraction-input button:hover {
background-color: #0056b3;
}
.duration-input input {
width: 60px;
text-align: center;
}
.frequency-control {
display: flex;
align-items: center;
margin-bottom: 20px;
}
.frequency-control label {
margin-right: 10px;
color: #e0e0e0;
}
.frequency-control input[type="number"] {
width: 50px;
text-align: center;
background-color: #333;
border: 1px solid #555;
color: #e0e0e0;
}
.hiddenTable {
max-height: 65vh;
overflow-y: hidden;
}
.full-view {
max-height: none;
overflow-y: visible;
}
footer {
text-align: center;
position: fixed;
bottom: 0;
width: 100%;
background-color: #1e1e1e;
padding: 1.5vh;
border-top: 1px solid #333;
color: #e0e0e0;
}
#metric_viewer {
background-color: rgb(227, 216, 216);
}
.default-access-button {
background-color: #182b3f;
z-index: 15;
color: white;
border: 1px solid yellow;
padding: 10px;
cursor: pointer;
border-radius: 5px;
font-size: 18px;
margin-bottom: 15px;
transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
}
.default-access-button:hover {
transform: translateY(-4px); /* Lift the button more on hover */
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.8); /* Increase shadow on hover */
}
.default-access-button:active {
transform: translateY(0); /* Remove lift on click */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Reduce shadow on click */
}
.default-delete-button {
background-color: #7e2416;
z-index: 15;
color: white;
border: none;
padding: 10px;
cursor: pointer;
border-radius: 5px;
font-size: 18px;
transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
}
.default-delete-button:hover {
transform: translateY(-4px); /* Lift the button more on hover */
box-shadow: 0 6px 8px rgba(0, 0, 0, 1); /* Increase shadow on hover */
}
.default-delete-button:active {
transform: translateY(0); /* Remove lift on click */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Reduce shadow on click */
}