diff --git a/balint_options.php b/balint_options.php index b9f52f2..c77efa3 100644 --- a/balint_options.php +++ b/balint_options.php @@ -35,8 +35,6 @@ function debug_spip(){ } //debug_spip(); - - if (!isset($GLOBALS['z_blocs'])) $GLOBALS['z_blocs'] = array( 'content', @@ -60,3 +58,8 @@ function autoriser_ecrire($faire, $type, $id, $qui, $opt){ return in_array($qui['statut'], array('0minirezo')); } } + +/* +// On retire les boutons "Espace privé" et "Recalculer" pour les admins +$GLOBALS['flag_preserver'] = true; +*/ \ No newline at end of file diff --git a/css/_sq_balint.scss b/css/_sq_balint.scss index 6caf870..e24cc0f 100644 --- a/css/_sq_balint.scss +++ b/css/_sq_balint.scss @@ -45,6 +45,11 @@ textarea[name="texte"]{ border-radius: 0.5rem; } +.bordure-top{ + padding-top: 1.5rem; + border-top: solid 1px $couleur-liens; +} + // pour empêcher l'opacité à 0.5 pendant le chargement AJAX : .loading > * { opacity: 1 !important; @@ -434,7 +439,7 @@ body{ color: $titres-footer; font-weight: 600; } - .nav li a, .colophon a { + .colophon a { color: $light; padding: 10px 15px; } @@ -442,14 +447,59 @@ body{ .footer-options{ background:$fond-footer; padding: 2rem 0; - ul{ - justify-content: space-between; + .grille{ + display: flex; + flex-direction: column; align-items: center; } - } - - .footer-options .generator { - max-width: 300px; + li{ + text-align: center; + width: 100%; + margin-bottom: 0.5rem; + } + .generator{ + max-width: none; + } + a.btn:not(.bouton-login){ + border-radius: 0.2rem; + background: $dark; + color: $light; + &:hover{ + background: $gris-moyen; + } + } + a:not(.bouton-login){ + color: white; + } + @include media-breakpoint-up(sm){ + ul.nav{ + width: 100%; + justify-content: space-between; + align-items: center; + } + li{ + text-align: center; + width: auto; + } + } + @include media-breakpoint-up(lg){ + .grille{ + //flex-direction: row; + justify-content: space-between; + } + ul.nav{ + justify-content: flex-start; + li{ + margin-right: 1rem; + } + } + ul.nav.a-droite{ + justify-content: flex-end; + li{ + margin-left: 1rem; + } + } + } } .footer-options img{ @@ -473,7 +523,6 @@ body{ .nav li.separ { border: none; } //.nav li.separ:not(:first-of-type)::before { content: " | "; } .generator { /*position: absolute; top: 1rem; right: 0; max-width: 200px;*/ float: right; } - .nav li a .title { display: none; } } } @@ -483,8 +532,8 @@ body{ h4{ color: $fond-footer; } - a:not(.login_modal){ - color: black !important; + a, .grille a{ + color: black; } } diff --git a/css/mon_site.css b/css/mon_site.css index 16e422d..c2ddbd4 100644 --- a/css/mon_site.css +++ b/css/mon_site.css @@ -11909,6 +11909,11 @@ textarea[name="texte"] { border-radius: 0.5rem; } +.bordure-top { + padding-top: 1.5rem; + border-top: solid 1px #dd7f51; +} + .loading > * { opacity: 1 !important; } @@ -12353,7 +12358,7 @@ body { font-weight: 600; } -.footer .nav li a, .footer .colophon a { +.footer .colophon a { color: #f8f9fa; padding: 10px 15px; } @@ -12363,15 +12368,73 @@ body { padding: 2rem 0; } -.footer .footer-options ul { - -webkit-box-pack: justify; - justify-content: space-between; +.footer .footer-options .grille { + display: -webkit-box; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + flex-direction: column; -webkit-box-align: center; align-items: center; } +.footer .footer-options li { + text-align: center; + width: 100%; + margin-bottom: 0.5rem; +} + .footer .footer-options .generator { - max-width: 300px; + max-width: none; +} + +.footer .footer-options a.btn:not(.bouton-login) { + border-radius: 0.2rem; + background: #595959; + color: #f8f9fa; +} + +.footer .footer-options a.btn:not(.bouton-login):hover { + background: #7d7d7d; +} + +.footer .footer-options a:not(.bouton-login) { + color: white; +} + +@media (min-width: 576px) { + .footer .footer-options ul.nav { + width: 100%; + -webkit-box-pack: justify; + justify-content: space-between; + -webkit-box-align: center; + align-items: center; + } + .footer .footer-options li { + text-align: center; + width: auto; + } +} + +@media (min-width: 992px) { + .footer .footer-options .grille { + -webkit-box-pack: justify; + justify-content: space-between; + } + .footer .footer-options ul.nav { + -webkit-box-pack: start; + justify-content: flex-start; + } + .footer .footer-options ul.nav li { + margin-right: 1rem; + } + .footer .footer-options ul.nav.a-droite { + -webkit-box-pack: end; + justify-content: flex-end; + } + .footer .footer-options ul.nav.a-droite li { + margin-left: 1rem; + } } .footer .footer-options img { @@ -12412,9 +12475,6 @@ body { /*position: absolute; top: 1rem; right: 0; max-width: 200px;*/ float: right; } - .footer .nav li a .title { - display: none; - } } .page_sommaire .footer-options, .page_sommaire #footer-infos { @@ -12426,8 +12486,8 @@ body { color: #3E8050; } -.page_sommaire .footer-options a:not(.login_modal), .page_sommaire #footer-infos a:not(.login_modal) { - color: black !important; +.page_sommaire .footer-options a, .page_sommaire .footer-options .grille a, .page_sommaire #footer-infos a, .page_sommaire #footer-infos .grille a { + color: black; } /**********************************************************************/ diff --git a/footer/dist.html b/footer/dist.html index 13ee584..0554681 100644 --- a/footer/dist.html +++ b/footer/dist.html @@ -5,14 +5,14 @@
-

#TITRE

- #TEXTE +

[(#TITRE|sinon{Titre})]

+ [(#TEXTE|sinon{Texte})]
-

#TITRE

- #TEXTE +

[(#TITRE|sinon{Titre})]

+ [(#TEXTE|sinon{Texte})]
@@ -20,50 +20,8 @@