body { background-color: #3e3e3e; font-family: Rubik, sans-serif; overflow: hidden; } #overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); display: none; z-index: 1; } #header { position: relative; z-index: 3; } #menu { position: fixed; top: 0; left: -300px; width: 300px; height: 100%; background-color: #b9b9b9; transition: left 0.3s ease-in-out; z-index: 2; } .hidden { right: -300px; } h1.welcome { padding-left: 25px; } h1 { color: white; } h2 { color: white; } h3 { color: white; } h4 { color: white; } header { background-color: #303030; width: 100%; height: 100px; display:flex; justify-content:left; border-radius: 10px; } nav.nav { margin-top: 150px; text-decoration: none; list-style-type: none; } nav.nav2 { margin-top: 80%; list-style-type: none; } li.nav { background-color: #939393; transition: 0.3s; margin: 20px; text-align: center; height: 70px; border-radius: 10px; display: flex; } li.nav:hover { background-color: #b9b9b9; transition: 0.3s; } a { text-decoration: none; margin: auto; color: black; font-size: 30px; } li.nav2 { background-color: #939393; transition: 0.3s; margin: 20px; text-align: center; height: 70px; border-radius: 10px; display: flex; } li.nav2:hover { background-color: #b9b9b9; transition: 0.3s; } .checkbox-wrapper input[type="checkbox"] { display: none; } .checkbox-wrapper .terms-label { cursor: pointer; display: flex; align-items: center; } .checkbox-wrapper .terms-label .label-text { margin-left: 10px; } .checkbox-wrapper .checkbox-svg { width: 30px; height: 30px; } .checkbox-wrapper .checkbox-box { fill: rgba(207, 205, 205, 0.425); stroke: #8c00ff; stroke-dasharray: 800; stroke-dashoffset: 800; transition: stroke-dashoffset 0.6s ease-in; } .checkbox-wrapper .checkbox-tick { stroke: #8c00ff; stroke-dasharray: 172; stroke-dashoffset: 172; transition: stroke-dashoffset 0.6s ease-in; } .checkbox-wrapper input[type="checkbox"]:checked + .terms-label .checkbox-box, .checkbox-wrapper input[type="checkbox"]:checked + .terms-label .checkbox-tick { stroke-dashoffset: 0; } /* Styles CSS pour le menu contextuel */ .task-menu { display: none; position: absolute; background-color: #282828; min-width: 150px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); padding: 12px; z-index: 1; color: white; } .task-menu-item { padding: 8px 12px; cursor: pointer; } .todo-list { color: white; font-size: 30px; }; /* Style pour le bouton "+" */ #add-task-button { position: fixed; bottom: 20px; right: 20px; width: 50px; height: 50px; background-color: #28a745; color: white; border-radius: 50%; font-size: 30px; text-align: center; line-height: 50px; cursor: pointer; } /* Style pour le menu latéral d'ajout de tâche */ #task-menu { position: fixed; top: 0; right: -300px; /* Menu caché au départ */ width: 300px; height: 100%; background-color: #f4f4f4; box-shadow: -2px 0 5px rgba(0,0,0,0.5); padding: 20px; transition: right 0.3s ease-in-out; } #task-menu.open { right: 0; /* Quand le menu est ouvert, il se déplace */ } #task-menu h2 { margin-top: 0; } /* Bouton de fermeture */ #close-menu { position: absolute; top: 10px; right: 10px; font-size: 20px; cursor: pointer; }