Files
timelapse-frontend/css/style_projet.css
2025-03-23 10:27:41 +01:00

152 lines
2.7 KiB
CSS

.nexter {
float: left;
display: inline;
width: 49%;
margin-bottom: 10vh;
}
.picture_placeHolder {
width: 100%;
}
.video {
width: 100%;
}
.video_placeHolder {
width: 100%;
margin-top: 10px;
}
.box {
display: inline-block;
height: 45px;
}
.box select {
background-color: #248f99;
color: white;
padding: 10px;
width: 250px;
border: none;
font-size: 18px;
box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
-webkit-appearance: button;
appearance: button;
outline: none;
border-radius: 5px;
transition: transform 0.3s ease, box-shadow 0.3s ease; /* Ensure smooth transition */
}
.box:hover select {
transform: translateY(-4px); /* Lift the button more on hover */
box-shadow: 0 6px 8px rgba(0, 0, 0, 1); /* Increase shadow on hover */
}
.box:active select {
transform: translateY(0); /* Remove lift on click */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Reduce shadow on click */
}
.box select option {
padding: 30px;
}
.arrow-icon {
z-index: 15;
height: 3em;
width: 2.8em;
padding: 0.5em;
margin: 1em auto;
cursor: pointer;
padding-top: 1em;
border-radius: 4px;
bottom: 45px; /* Adjust as needed to position below the table */
left: 72%;
transform: translateX(-50%);
display: flex;
flex-direction: column;
align-items: center;
position: fixed;
transition: transform 0.3s ease, box-shadow 0.3s ease; /* Ensure smooth transition */
}
.arrow-icon:hover {
transform: translateX(-50%) translateY(-10px); /* Move the arrow up on hover */
}
.arrow-icon:active {
transform: translateX(-50%) translateY(0); /* Remove lift on click */
}
.left-bar, .right-bar {
z-index: 15;
position: absolute;
background-color: transparent;
width: 40px;
height: 10px;
display: block;
border-radius: 2px;
}
.left-bar {
top: 50%;
left: 0;
transform: rotate(35deg);
}
.right-bar {
top: 50%;
left: 26px;
transform: rotate(-35deg);
}
.left-bar:after, .right-bar:after {
content: "";
background-color: white;
width: 40px;
height: 10px;
display: block;
border-radius: 6px 10px 10px 6px;
transition: all 0.5s cubic-bezier(0.25, 1.7, 0.35, 0.8);
z-index: -1;
}
.right-bar:after {
border-radius: 10px 6px 6px 10px;
}
.open .left-bar:after {
transform-origin: center center;
transform: rotate(-70deg);
}
.open .right-bar:after {
transform-origin: center center;
transform: rotate(70deg);
}
#name_project {
animation: glitch 3s steps(100) infinite;
color: #151515;
font-size: 6em;
text-align: center;
text-transform: uppercase;
}
@media (min-width: 480px) {
#name_project {
font-size: 2em;
}
}
.form-header {
display: flex;
justify-content: right; /* Aligns items with space between them */
;
}
#close-form-button-project{
width: 35px;
}