Bugzilla – Attachment 130903 Details for
Bug 30136
Add back to top button when scrolling
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30136: [DO NO PUSH] CSS styling for OPAC
Bug-30136-DO-NO-PUSH-CSS-styling-for-OPAC.patch (text/plain), 1.39 KB, created by
ByWater Sandboxes
on 2022-02-18 22:16:09 UTC
(
hide
)
Description:
Bug 30136: [DO NO PUSH] CSS styling for OPAC
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2022-02-18 22:16:09 UTC
Size:
1.39 KB
patch
obsolete
>From cd7b4e7da82096d2b51fbd69ea09fb0e4ec9f5a3 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >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 <barbara.johnson@bedfordtx.gov> >--- > .../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('<button id="backtotop" class="btn btn-primary"><i class="fa fa-arrow-up"></i></button>'); >+ $("#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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 30136
:
130896
|
130897
|
130898
|
130902
|
130903
|
133219
|
133220
|
133737
|
134011
|
134012
|
134063
|
134064