Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add button to hide awe-share #8

Open
pmaselkowski opened this issue Mar 2, 2018 · 1 comment
Open

Add button to hide awe-share #8

pmaselkowski opened this issue Mar 2, 2018 · 1 comment

Comments

@pmaselkowski
Copy link
Member

This button must be persistent, ie. use localstorage etc.

@pmaselkowski
Copy link
Member Author

Behavior:

  1. On load: When page is loaded for first time, show awe share for few seconds, then hide.
  2. When enabled: Awe share should stay visible until disabled, even on consecutive page reloads

The show button must be as inobtrusive as possible.

Conclusion:
Both sharer and button must be invisible in HTML, showing by JS only

Button should be something like this (when on left):

<div style="
    font-weight: bold;
    font-size: 1rem;
    line-height: 1rem;
    padding: .5rem;
    background: rgba(0,0,0,.7);
">
    <i class="fa fa-angle-right"></i><br>
<i class="fa fa-angle-right"></i><br>
<i class="fa fa-angle-right"></i><br>
<i class="fa fa-angle-right"></i><br>

        
    </div>

Which results in:

screenshot from 2018-07-21 11-11-04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant