media.css 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. body {
  2. background-color: #f8f9fa;
  3. }
  4. .ariane {
  5. width: 1140px;
  6. margin-bottom: 10px;
  7. margin-right: auto;
  8. margin-left: auto;
  9. }
  10. .container {
  11. width: 1200px;
  12. margin-top: 30px;
  13. margin-bottom: 50px;
  14. padding: 30px;
  15. background-color: white;
  16. border-radius: 5px;
  17. box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  18. }
  19. h1 {
  20. color: #007bff;
  21. margin-bottom: 30px;
  22. }
  23. .form-group label {
  24. font-weight: bold;
  25. }
  26. .btn-primary {
  27. width: 100%;
  28. margin-top: 20px;
  29. }
  30. .video-container {
  31. border: 1px solid #ddd;
  32. border-radius: 5px;
  33. box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  34. background-color: #f9f9f9;
  35. margin-bottom: 10px;
  36. overflow: hidden;
  37. transition: max-height 0.3s ease;
  38. }
  39. .video-content {
  40. display: flex;
  41. justify-content: space-between;
  42. align-items: center;
  43. padding: 15px;
  44. }
  45. .video-details {
  46. display: flex;
  47. flex-direction: column;
  48. justify-content: flex-start;
  49. /* Aligne le contenu en haut */
  50. flex-grow: 1;
  51. }
  52. .video-info {
  53. font-size: 0.9em;
  54. color: #666;
  55. width: 100%;
  56. }
  57. .video-title {
  58. font-size: 1.2em;
  59. font-weight: bold;
  60. margin: 5px 0 10px 0;
  61. }
  62. .title-little {
  63. margin: 0 !important;
  64. }
  65. .actions {
  66. display: flex;
  67. flex-direction: row-reverse;
  68. margin-top: -5px;
  69. }
  70. .actions .btn {
  71. margin-left: 5px;
  72. }
  73. .video-preview {
  74. width: 200px;
  75. height: 113px;
  76. object-fit: cover;
  77. margin-right: 10px;
  78. }
  79. /*
  80. * Navbar
  81. */
  82. .navbar-brand {
  83. padding-top: .75rem;
  84. padding-bottom: .75rem;
  85. font-size: 1rem;
  86. background-color: rgba(0, 0, 0, .25);
  87. box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
  88. }
  89. .navbar .navbar-toggler {
  90. top: .25rem;
  91. right: 1rem;
  92. }
  93. .navbar .form-control {
  94. padding: .75rem 1rem;
  95. border-width: 0;
  96. border-radius: 0;
  97. }
  98. .big_topic {
  99. display: none;
  100. }
  101. .little_topic:hover {
  102. background-color: #dbf3fa;
  103. cursor: ns-resize;
  104. }
  105. /* Styles pour les alertes */
  106. .alert-container {
  107. position: fixed;
  108. bottom: 20px;
  109. right: 20px;
  110. z-index: 1000;
  111. max-width: 300px;
  112. }
  113. .alert {
  114. background-color: #fff;
  115. border-radius: 5px;
  116. padding: 15px;
  117. margin-bottom: 10px;
  118. box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  119. position: relative;
  120. opacity: 1;
  121. transition: opacity 0.3s ease;
  122. }
  123. .alert-error {
  124. background-color: #ffe6e6;
  125. /* rouge pâle */
  126. border-left: 5px solid #ff9999;
  127. }
  128. .alert-warning {
  129. background-color: #fff9e6;
  130. /* jaune pâle */
  131. border-left: 5px solid #ffcc99;
  132. }
  133. .alert-info {
  134. background-color: #e6f7ff;
  135. /* bleu pâle */
  136. border-left: 5px solid #99d6ff;
  137. }
  138. .alert-success {
  139. background-color: #e6ffe6;
  140. /* vert pâle */
  141. border-left: 5px solid #99ff99;
  142. }
  143. .alert-close {
  144. position: absolute;
  145. top: 5px;
  146. right: 10px;
  147. cursor: pointer;
  148. font-weight: bold;
  149. color: #666;
  150. }
  151. .alert-close:hover {
  152. color: #000;
  153. }