402 lines
6.8 KiB
CSS
402 lines
6.8 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
background-color: #fff;
|
|
color: #222;
|
|
}
|
|
|
|
.dark {
|
|
background-color: #1e1e1e;
|
|
color: #f5f5f5;
|
|
}
|
|
|
|
.dark header {
|
|
background-color: #333;
|
|
}
|
|
|
|
.dark .left-column,
|
|
.dark .right-column {
|
|
background-color: #2d2d2d;
|
|
color: #f5f5f5;
|
|
}
|
|
|
|
.dark .center-column {
|
|
background-color: #252525;
|
|
color: #f5f5f5;
|
|
}
|
|
|
|
.dark .trello,
|
|
.dark .planning,
|
|
.dark .user-info {
|
|
background: #333;
|
|
color: #f5f5f5;
|
|
}
|
|
|
|
.dark .dropdown-content,
|
|
.dark .nested-content {
|
|
background-color: #333;
|
|
color: #f5f5f5;
|
|
border: 1px solid #555;
|
|
}
|
|
|
|
.dark .dropdown-content a,
|
|
.dark .nested-content a {
|
|
color: #f5f5f5;
|
|
}
|
|
|
|
.dark .dropdown-content a:hover,
|
|
.dark .nested-content a:hover {
|
|
background-color: #444;
|
|
}
|
|
|
|
#toggle-darkmode {
|
|
position: fixed;
|
|
bottom: 20px;
|
|
right: 20px;
|
|
padding: 0.5rem;
|
|
border-radius: 50%;
|
|
border: none;
|
|
background-color: #444;
|
|
color: white;
|
|
cursor: pointer;
|
|
}
|
|
|
|
header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 1rem;
|
|
background-color: #222;
|
|
color: white;
|
|
position: relative;
|
|
}
|
|
|
|
.nav-link a, .nav-link span {
|
|
color: white;
|
|
text-decoration: none;
|
|
margin: 0 10px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* Menu Contacter */
|
|
.nav-link.dropdown {
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
|
|
.dropdown-content {
|
|
display: none;
|
|
position: absolute;
|
|
background-color: white;
|
|
color: #333;
|
|
min-width: 200px;
|
|
padding: 0.5rem;
|
|
box-shadow: 0 0 10px rgba(0,0,0,0.2);
|
|
border-radius: 5px;
|
|
z-index: 10;
|
|
top: 100%;
|
|
left: 0;
|
|
margin-top: 5px;
|
|
border: 1px solid #ddd;
|
|
}
|
|
|
|
.dropdown-content.show {
|
|
display: block;
|
|
}
|
|
|
|
.dropdown-content a {
|
|
color: #333;
|
|
padding: 8px 12px;
|
|
display: block;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.dropdown-content a:hover {
|
|
background-color: #f5f5f5;
|
|
}
|
|
|
|
/* Sous-menus */
|
|
.nested-dropdown {
|
|
position: relative;
|
|
}
|
|
|
|
.nested-content {
|
|
display: none;
|
|
position: absolute;
|
|
left: 100%;
|
|
top: 0;
|
|
background-color: white;
|
|
min-width: 160px;
|
|
border-radius: 5px;
|
|
z-index: 20;
|
|
margin-left: 5px;
|
|
border: 1px solid #ddd;
|
|
}
|
|
|
|
.nested-content.show {
|
|
display: block;
|
|
}
|
|
|
|
.expandable::after {
|
|
content: " ▼";
|
|
font-size: 0.8em;
|
|
}
|
|
|
|
.notification {
|
|
position: relative;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.notification .notification-dropdown {
|
|
display: none;
|
|
position: absolute;
|
|
right: 0;
|
|
top: 100%;
|
|
background-color: white;
|
|
color: black;
|
|
min-width: 200px;
|
|
padding: 0.5rem;
|
|
box-shadow: 0 0 10px rgba(0,0,0,0.2);
|
|
z-index: 10;
|
|
}
|
|
|
|
.notification.active .notification-dropdown {
|
|
display: block;
|
|
}
|
|
|
|
.profile-menu {
|
|
position: relative;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.profile-dropdown {
|
|
display: none;
|
|
position: absolute;
|
|
right: 0;
|
|
top: 100%;
|
|
background-color: white;
|
|
color: black;
|
|
min-width: 160px;
|
|
padding: 0.5rem;
|
|
box-shadow: 0 0 10px rgba(0,0,0,0.2);
|
|
z-index: 10;
|
|
}
|
|
|
|
.profile-menu.active .profile-dropdown {
|
|
display: block;
|
|
}
|
|
|
|
main {
|
|
display: flex;
|
|
flex-direction: row;
|
|
height: calc(100vh - 60px);
|
|
}
|
|
|
|
.left-column {
|
|
width: 20%;
|
|
padding: 1rem;
|
|
background-color: #f0f0f0;
|
|
}
|
|
|
|
.center-column {
|
|
width: 60%;
|
|
padding: 2rem;
|
|
background-color: #ffffff;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.right-column {
|
|
width: 20%;
|
|
padding: 1rem;
|
|
background-color: #f0f0f0;
|
|
}
|
|
|
|
.main-title {
|
|
text-align: center;
|
|
margin-bottom: 2rem;
|
|
font-size: 2.5rem;
|
|
}
|
|
|
|
.trello {
|
|
background: #ddd;
|
|
border-radius: 10px;
|
|
padding: 2rem;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.planning, .user-info {
|
|
background: #ddd;
|
|
border-radius: 10px;
|
|
padding: 1rem;
|
|
height: 100%;
|
|
}
|
|
|
|
/* Modal de contact */
|
|
.modal {
|
|
display: none;
|
|
position: fixed;
|
|
z-index: 100;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0,0,0,0.7);
|
|
}
|
|
|
|
.modal-content {
|
|
background-color: #fefefe;
|
|
margin: 10% auto;
|
|
padding: 20px;
|
|
border-radius: 10px;
|
|
width: 80%;
|
|
max-width: 500px;
|
|
}
|
|
|
|
.dark .modal-content {
|
|
background-color: #333;
|
|
color: white;
|
|
}
|
|
|
|
.close-modal {
|
|
color: #aaa;
|
|
float: right;
|
|
font-size: 28px;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.close-modal:hover {
|
|
color: black;
|
|
}
|
|
|
|
.dark .close-modal:hover {
|
|
color: white;
|
|
}
|
|
|
|
.modal-content textarea {
|
|
width: 100%;
|
|
height: 150px;
|
|
margin: 15px 0;
|
|
padding: 10px;
|
|
border-radius: 5px;
|
|
border: 1px solid #ddd;
|
|
resize: none;
|
|
}
|
|
|
|
.dark .modal-content textarea {
|
|
background-color: #444;
|
|
color: white;
|
|
border-color: #555;
|
|
}
|
|
|
|
.modal-buttons {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
}
|
|
|
|
.btn-cancel {
|
|
background-color: #ff4444 !important;
|
|
padding: 8px 20px;
|
|
}
|
|
|
|
.btn-send {
|
|
background-color: #4CAF50 !important;
|
|
padding: 8px 20px;
|
|
}
|
|
|
|
@media screen and (max-width: 768px) {
|
|
main {
|
|
flex-direction: column;
|
|
}
|
|
.left-column, .center-column, .right-column {
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
header {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.dropdown-content,
|
|
.nested-content {
|
|
position: relative;
|
|
width: 100%;
|
|
left: 0;
|
|
margin-left: 0;
|
|
}
|
|
|
|
.modal-content {
|
|
margin: 20% auto;
|
|
width: 90%;
|
|
}
|
|
}
|
|
|
|
/* Supprimer tous les styles .learn-more et les remplacer par : */
|
|
|
|
.button-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
padding: 1rem;
|
|
width: 100%;
|
|
}
|
|
|
|
.simple-btn {
|
|
width: 100%;
|
|
padding: 12px 0;
|
|
border: none;
|
|
border-radius: 6px;
|
|
background-color: #4CAF50;
|
|
color: white;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s;
|
|
text-align: center;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.simple-btn:hover {
|
|
background-color: #45a049;
|
|
}
|
|
|
|
.dark .simple-btn {
|
|
background-color: #282936;
|
|
}
|
|
|
|
.dark .simple-btn:hover {
|
|
background-color: #1e1e2a;
|
|
}
|
|
|
|
/* Adapter la colonne droite */
|
|
.right-column {
|
|
width: 20%;
|
|
padding: 1rem;
|
|
background-color: #f0f0f0;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.dark .right-column {
|
|
background-color: #2d2d2d;
|
|
}
|
|
|
|
.postit {
|
|
background-color: #fff475;
|
|
color: #333;
|
|
padding: 0.8rem;
|
|
margin-bottom: 0.8rem;
|
|
border-radius: 8px;
|
|
box-shadow: 2px 2px 6px rgba(0,0,0,0.15);
|
|
font-family: 'Comic Sans MS', sans-serif;
|
|
font-size: 0.95rem;
|
|
} |