From cd7b4e7da82096d2b51fbd69ea09fb0e4ec9f5a3 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 8e0762e9eb..f1abc96239 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc @@ -218,6 +218,15 @@ $.widget.bridge('uitooltip', $.ui.tooltip); }); $("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.30.2