From 5efa2ea5c98e483218cef4a808b505283e603ffe 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. --- .../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.35.1