Can I customize the Scroll Export PDF button?

Robert Gunn
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 22, 2021

I'd at a minimum like to add a PDF icon and some color to the button which is currently suffering gray on gray violence (it's in a side bar).

Here's kind of what I'd like it to look like, but I cant get the icon and the button aligned (when I make the icon larger, it moves upward above the button).

 

image.png

 

It would be even better if the icon could be inside the button making it clickable.

Thanks.

bg

 

 

3 answers

4 votes
Thomas Rough _K15t_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 23, 2021

Hi @Robert Gunn  - I have added a screenshot of the response I wanted to add here as the Community comment section was not allowing me to publish due to an error - hopefully it helps.

Screen Shot 2021-07-23 at 17.38.46.png

You should be able to copy this example code that was cut from the screenshot above:

button.scroll-pdf-launcher:before {
content: " ";
display: inline-block;
width: 14px;
height: 14px;
background: url(data:image/gif;base64,R0lGODlhEAAQAMQAAORHHOVSKudfOulrSOp3WOyDZu6QdvCchPGolfO0o/XBs/fNwfjZ0frl3/zy7////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAkAABAALAAAAAAQABAAAAVVICSOZGlCQAosJ6mu7fiyZeKqNKToQGDsM8hBADgUXoGAiqhSvp5QAnQKGIgUhwFUYLCVDFCrKUE1lBavAViFIDlTImbKC5Gm2hB0SlBCBMQiB0UjIQA7)
}
button.scroll-pdf-launcher{
background-color: #4CAF50;
}

 Cheers, Thomas (K15t)

0 votes
Patrick Vanhoof
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 23, 2021

I think you should contact k15t support for that, the Scroll author. Maybe they can add the functionality to the macro.

0 votes
Dominic Lagger
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 22, 2021

Hi @Robert Gunn 

Short answer:

This is not possible within the PDF scroll macro.

Long answer:

In fact, you probably could write a user macro, which displays your customized button and by clicking the button, you have to call the javascript logic for the "normal export button". Calling the normal export button is the most difficult part. I do not know how to do that.

Regards, Dominic

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events