app.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. /* Styles spécifiques à l'application */
  2. .main-content {
  3. margin-top: 3.25rem;
  4. padding: 0.5rem;
  5. }
  6. .icon-inner {
  7. padding: 0.5rem;
  8. }
  9. .small-icon-in-text {
  10. height: 1rem;
  11. }
  12. .text-limit-height {
  13. height: 5rem;
  14. overflow: hidden;
  15. text-overflow: ellipsis;
  16. }
  17. /* Styles pour les plannings */
  18. /* Style par défaut pour les cellules
  19. .planning-cell {
  20. display: flex;
  21. align-items: center;
  22. justify-content: center;
  23. height: 3rem;
  24. text-align: center;
  25. padding: 0.5rem;
  26. box-sizing: border-box;
  27. overflow: hidden;
  28. white-space: nowrap;
  29. text-overflow: ellipsis;
  30. }
  31. /* Style pour les cellules d'entête
  32. .planning-cell-heading {
  33. background: black;
  34. color: white;
  35. font-weight: bold;
  36. border-bottom: 1px solid white;
  37. }
  38. /* Style pour les cellules pleine largeur (ex. en-tête de périodes)
  39. .planning-cell-wide {
  40. background: lightgray;
  41. border-bottom: 1px solid white;
  42. }
  43. /* Style pour les cellules disponibles
  44. .planning-cell-free {
  45. border-bottom: 1px solid lightgray;
  46. }
  47. /* Style pour les cellules vérouillées
  48. .planning-cell-locked {
  49. background-color: gray;
  50. color: white;
  51. border-bottom: 1px solid lightgray;
  52. }
  53. /* Style pour les cellules masquées
  54. .planning-cell-hidden {
  55. background-color: none;
  56. border-bottom: 1px solid lightgray;
  57. }
  58. /* Base styles for all planning cells */
  59. body.is-dark-mode .planning-cell {
  60. background-color: #1e1e1e;
  61. color: #f5f5f5;
  62. }
  63. .planning-cell {
  64. display: flex;
  65. align-items: center;
  66. justify-content: center;
  67. height: 3rem;
  68. padding: 0.5rem;
  69. box-sizing: border-box;
  70. overflow: hidden;
  71. white-space: nowrap;
  72. text-overflow: ellipsis;
  73. text-align: center;
  74. border-bottom: 1px solid #dbdbdb;
  75. /*background-color: #ffffff;*/
  76. font-size: 0.95rem;
  77. transition: background-color 0.2s ease;
  78. }
  79. /* Header cells (e.g., "Espaces") */
  80. .planning-cell-heading {
  81. /* background-color: #00d1b2; /* Bulma primary */
  82. /* color: #ffffff;*/
  83. font-weight: 600;
  84. border-bottom: 1px solid #00b89c;
  85. }
  86. /* Wide header cells (e.g., time columns) */
  87. .planning-cell-wide {
  88. background-color: #f5f5f5; /* Bulma grey-light */
  89. color: #363636;
  90. font-weight: 500;
  91. border-bottom: 1px solid #ccc;
  92. }
  93. /* Free (available) slot */
  94. .planning-cell-free {
  95. background-color: #effaf5; /* Bulma success-light */
  96. color: #0f8763;
  97. border-bottom: 1px solid #ccc;
  98. }
  99. .planning-cell-free:hover {
  100. background-color: #d0f0e6;
  101. }
  102. /* Locked slot */
  103. .planning-cell-locked {
  104. background-color: #dbdbdb; /* Bulma gray */
  105. color: #7a7a7a;
  106. border-bottom: 1px solid #ccc;
  107. }
  108. /* Hidden slot */
  109. .planning-cell-hidden {
  110. background-color: transparent;
  111. color: transparent;
  112. border-bottom: 1px solid #ccc;
  113. }
  114. /* Optional: highlight on hover globally */
  115. .planning-cell:hover:not(.planning-cell-hidden):not(.planning-cell-heading):not(.planning-cell-wide) {
  116. filter: brightness(0.98);
  117. }