/* Styles spécifiques à l'application */ .main-content { margin-top: 3.25rem; padding: 0.5rem; } .icon-inner { padding: 0.5rem; } .small-icon-in-text { height: 1rem; } .text-limit-height { height: 5rem; overflow: hidden; text-overflow: ellipsis; } .dropdown-menu { /* display: none; */ opacity: 0; transform: translateY(-10px); transition: opacity 0.2s ease, transform 0.2s ease; } .dropdown-menu.is-active { /* display: block; */ opacity: 1; transform: translateY(0); } /* Styles pour les plannings */ /* Style par défaut pour les cellules .planning-cell { display: flex; align-items: center; justify-content: center; height: 3rem; text-align: center; padding: 0.5rem; box-sizing: border-box; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } /* Style pour les cellules d'entête .planning-cell-heading { background: black; color: white; font-weight: bold; border-bottom: 1px solid white; } /* Style pour les cellules pleine largeur (ex. en-tête de périodes) .planning-cell-wide { background: lightgray; border-bottom: 1px solid white; } /* Style pour les cellules disponibles .planning-cell-free { border-bottom: 1px solid lightgray; } /* Style pour les cellules vérouillées .planning-cell-locked { background-color: gray; color: white; border-bottom: 1px solid lightgray; } /* Style pour les cellules masquées .planning-cell-hidden { background-color: none; border-bottom: 1px solid lightgray; } /* Base styles for all planning cells */ body.is-dark-mode .planning-cell { background-color: #1e1e1e; color: #f5f5f5; } .planning-cell { display: flex; align-items: center; /*justify-content: center;*/ height: 4rem; padding: 0.5rem; box-sizing: border-box; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; /*background-color: #ffffff;*/ font-size: 0.95rem; transition: background-color 0.2s ease; z-index: 0; } /* Header cells (e.g., "Espaces") */ .planning-cell-heading { /* background-color: #00d1b2; /* Bulma primary */ /* color: #ffffff;*/ font-weight: 600; border-bottom: 1px solid #00b89c; z-index: 0; } /* Wide header cells (e.g., time columns) */ .planning-cell-wide { background-color: #f5f5f5; /* Bulma grey-light */ color: #363636; font-weight: 500; border-bottom: 1px solid #ccc; z-index: 0; } /* Free (available) slot */ .planning-cell-free { background-color: #effaf5; /* Bulma success-light */ color: #0f8763; border-bottom: 1px solid #ccc; z-index: 0; } .planning-cell-free:hover { background-color: #d0f0e6; } /* Locked slot */ .planning-cell-locked { background-color: #dbdbdb; /* Bulma gray */ color: #7a7a7a; border-bottom: 1px solid #ccc; z-index: 0; } /* Hidden slot */ .planning-cell-hidden { background-color: transparent; color: transparent; border-bottom: 1px solid #ccc; z-index: 0; } .planning-cell-game-parent { position: relative; overflow: visible; border: none !important; z-index: 0 !important; } .planning-cell-game { border: solid 0.2rem transparent; background-color: transparent; width: 100%; color: black; position: absolute; top: 0rem; left: 0rem; z-index: 99 !important; white-space: normal; text-overflow: clip; overflow: hidden; } /* Optional: highlight on hover globally */ .planning-cell:hover:not(.planning-cell-hidden):not(.planning-cell-heading):not(.planning-cell-wide):not(.planning-cell-game):not(.planning-cell-game-parent) { filter: brightness(0.98); } .planning-cell-game .card { /*border-left: solid 0.2rem blue; border-top: solid 0.2rem blue;*/ background-color: hsl(204, 70%, 96%); padding: 0.2rem; overflow: hidden; } .planning-cell-game .card-header { border: none; box-shadow: none; } .planning-cell-game img { border: 1px solid white; }