Réorganisation de la structure des fichiers front-end
All checks were successful
SSH Frontend Deploy / ssh-deploy (push) Successful in 59s

Cette modification restructure l'architecture des fichiers du projet pour améliorer la maintenabilité:

- JavaScript: création d'une structure en sous-dossiers
  - core/ pour les utilitaires et fonctions essentielles
  - components/ pour les composants réutilisables
  - libs/ pour les bibliothèques externes (jQuery)
  - pages/ pour les scripts spécifiques aux pages

- CSS: séparation des styles en catégories
  - base/ pour les styles fondamentaux
  - components/ pour les styles des composants d'interface
  - pages/ pour les styles spécifiques aux pages

- HTML: création d'un dossier pages/ pour les templates HTML (hors index.html)

Tous les chemins dans les fichiers HTML ont été mis à jour pour refléter cette nouvelle structure.
Cette réorganisation n'apporte aucune modification fonctionnelle, uniquement une amélioration structurelle.
This commit is contained in:
2025-04-27 00:52:50 +02:00
parent 8c923c698e
commit e776d020a0
14 changed files with 16 additions and 16 deletions

166
css/pages/style_projet.css Normal file
View File

@@ -0,0 +1,166 @@
.nexter {
float: left;
display: inline;
width: 49%;
}
.picture_placeHolder {
width: 15.5vw;
height: 15.5vh;
display: block!important;
}
.picture_placeHolder img {
width: 100%;
height: 100%;
}
.video {
width: 100%;
}
.video_placeHolder {
margin-left: 3vw;
margin-top: 10px;
margin-bottom: 5vh;
width: 93%;
}
.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: 6vh; /* 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: rgb(231, 65, 65);
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: #ffffff;
font-size: 10vh;
text-align: center;
text-transform: uppercase;
}
@media (min-width: 480px) {
#name_project {
font-size: 2em;
}
}
#xyzv {
font-family: 'Cabin Condensed', sans-serif;
font-size: 10vh;
font-weight: bold;
color: #f6f6f6;
animation: none;
text-align: center;
text-transform: uppercase;
}
.frequency-control input{
width: 5vw;
}
.highlight{
background-color: red;
}