Browse Source

Couleur de fond du footer dark/light

Sangfroid 1 month ago
parent
commit
49a58d0798
2 changed files with 7 additions and 2 deletions
  1. 6 1
      assets/styles/app.scss
  2. 1 1
      templates/footer.html.twig

+ 6 - 1
assets/styles/app.scss

@@ -34,16 +34,21 @@ body {
     right: 0;
     width: 100%;
     border-radius: 9px;
-    border-style: groove;
+    border-style: solid;
     border-top: none;
     list-style-type: none;
     padding-left: 0;
     cursor: pointer;
     z-index: 99;
     background-color: var(--bs-body-bg);
+    color: var(--bs-body-color);
 }
 
 .autocomplete-item:active, .selected {
     background-color: $primary;
 }
 
+#footer {
+    background-color: var(--bs-body-bg);
+    color: var(--bs-body-color);
+}

+ 1 - 1
templates/footer.html.twig

@@ -1,4 +1,4 @@
-<div class="text-center fixed-bottom bg-dark" data-bs-theme="dark">
+<div id="footer" class="text-center fixed-bottom">
     <span class="text-muted small">Certaines informations sont issues de l'API de <a href="https://www.themoviedb.org">TMDB</a></span>
     <br><span class="text-muted small">Code source disponible sur <a target="_blank" href="https://gogs.fdlibre.eu/sangfroid/films-symfony-4-2">Gogs</a> - Licence <a target="_blank" href="http://www.wtfpl.net">WTFLP</a></span>
 </div>