From 5367fcd42e1430983825d1b40d21fa8895b2012f Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Fri, 18 Feb 2022 10:51:40 -1000 Subject: [PATCH] Bug 30136: [DO NO PUSH] CSS styling for OPAC This patch is for easy testing of the CSS to apply on button. If feature is validated this must be written in opac SCSS file. Maybe this sould only appear on large screens. Signed-off-by: Barbara Johnson --- .../opac-tmpl/bootstrap/en/includes/opac-bottom.inc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc index 9da60f8824..acefc3b885 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc @@ -214,6 +214,15 @@ }); $("body").append(''); + $("#backtotop").css({ + "display": "inline-block", + "text-align": "center", + "font-size": "120%", + "position": "fixed", + "bottom": "40px", + "right": "40px", + "z-index": "1000" + }); $("#backtotop").hide(); $(window).scroll(function(){ if ( $(window).scrollTop() < 300 ) { -- 2.35.1