Skip to content

Instantly share code, notes, and snippets.

@tiagofrancafernandes
Last active October 28, 2021 00:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tiagofrancafernandes/d5dc3ef10901b9b913612351d17782ed to your computer and use it in GitHub Desktop.
Save tiagofrancafernandes/d5dc3ef10901b9b913612351d17782ed to your computer and use it in GitHub Desktop.
CSS to use in stylus extension
button.js-add-gist-file, .form-actions{
position: fixed; /* Fixed/sticky position */
bottom: 60px; /* Place the button at the bottom of the page */
right: 30px; /* Place the button 30px from the right */
z-index: 99; /* Make sure it does not overlap */
border: none; /* Remove borders */
outline: none; /* Remove outline */
padding: 15px; /* Some padding */
}
.form-actions {
bottom: 60px; /* Place the button at the bottom of the page */
right: 30px; /* Place the button 30px from the right */
padding: 15px; /* Some padding */
}
button.js-add-gist-file {
bottom: 15px; /* Place the button at the bottom of the page */
right: 45px; /* Place the button 30px from the right */
padding: 10px; /* Some padding */
}
button.js-add-gist-file:after{
content: "[+]"
}
button.js-add-gist-file{
background: #52a2a5;
color: #12305c;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment