From 432f3ebaba93fbc2185367abc9511b13ba173e4f Mon Sep 17 00:00:00 2001 From: RealET <real3t@gmail.com> Date: Wed, 1 Mar 2023 19:12:41 +0100 Subject: [PATCH] =?UTF-8?q?fix=20:=20d=C3=A9tail=20de=20pr=C3=A9sentation?= =?UTF-8?q?=20du=20bouton=20Retour=20Top?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- noisettes/footer/footer.html | 4 +--- stylessoyezcreateurs.css.html | 9 ++++----- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/noisettes/footer/footer.html b/noisettes/footer/footer.html index b6a76916..b2974982 100644 --- a/noisettes/footer/footer.html +++ b/noisettes/footer/footer.html @@ -14,9 +14,7 @@ <//B_TheRub> </div><!-- id="contenu" --> <INCLURE{fond=noisettes/footer/footer_pied,env}> -<div class="retourtop"> - <a class="retourtop-link triadeA" href="[(#SELF|trim{'/'})]#[(#ENV{titretop}|sinon{<:soyezcreateurs:sommaire|sc_nettoyer_marqueur:>})]" title="<:soyezcreateurs:retourtop:>" aria-label="<:soyezcreateurs:retourtop:>"><svg class="svg-icon"><use xlink:href="#icon-chevron-thin-up"></use></svg><span class="hide"><:soyezcreateurs:retourtop:></span></a> -</div> +<a class="retourtop triadeA" href="[(#SELF|trim{'/'})]#[(#ENV{titretop}|sinon{<:soyezcreateurs:sommaire|sc_nettoyer_marqueur:>})]" title="<:soyezcreateurs:retourtop:>" aria-label="<:soyezcreateurs:retourtop:>"><svg class="svg-icon"><use xlink:href="#icon-chevron-thin-up"></use></svg><span class="hide"><:soyezcreateurs:retourtop:></span></a> [<script src="(#PRODUIRE{fond=javascripts.js})" type="text/javascript"></script>] [(#PLUGIN{SIDR}|oui) [<script src="(#CHEMIN{javascript/jquery.sidr.js}|timestamp)" type="text/javascript"></script>] diff --git a/stylessoyezcreateurs.css.html b/stylessoyezcreateurs.css.html index 2882d1d1..c7b620ac 100644 --- a/stylessoyezcreateurs.css.html +++ b/stylessoyezcreateurs.css.html @@ -474,11 +474,13 @@ a:active { color: #GET{c_active}; } .retourtop { display: none; clear: both; - position: sticky; + position: fixed; float: right; bottom: 2rem; right: 2rem; - width: fit-content; + width: 4rem; + height: 4rem; + line-height: 4rem; color: #ffffff; text-align: center; font-size: 2rem; @@ -489,10 +491,7 @@ a:active { color: #GET{c_active}; } filter: alpha(opacity=80); transition: opacity 500ms ease-out; z-index: 99999; -} -.retourtop a { display: inline-block; - padding: 1rem; border: 1px solid transparent; } .portailcognac .retourtop a[href]:focus { -- GitLab