123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- /* 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;
-
- }
- /* 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: 3rem;
- padding: 0.5rem;
- box-sizing: border-box;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- text-align: center;
- border-bottom: 1px solid #dbdbdb;
- /*background-color: #ffffff;*/
- font-size: 0.95rem;
- transition: background-color 0.2s ease;
- }
- /* Header cells (e.g., "Espaces") */
- .planning-cell-heading {
- /* background-color: #00d1b2; /* Bulma primary */
- /* color: #ffffff;*/
- font-weight: 600;
- border-bottom: 1px solid #00b89c;
- }
- /* 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;
- }
- /* Free (available) slot */
- .planning-cell-free {
- background-color: #effaf5; /* Bulma success-light */
- color: #0f8763;
- border-bottom: 1px solid #ccc;
- }
- .planning-cell-free:hover {
- background-color: #d0f0e6;
- }
- /* Locked slot */
- .planning-cell-locked {
- background-color: #dbdbdb; /* Bulma gray */
- color: #7a7a7a;
- border-bottom: 1px solid #ccc;
- }
- /* Hidden slot */
- .planning-cell-hidden {
- background-color: transparent;
- color: transparent;
- border-bottom: 1px solid #ccc;
- }
- /* Optional: highlight on hover globally */
- .planning-cell:hover:not(.planning-cell-hidden):not(.planning-cell-heading):not(.planning-cell-wide) {
- filter: brightness(0.98);
- }
|