app.css 2.8 KB

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