Skip to content

Commit

Permalink
add hidden buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
couleurm committed Mar 29, 2024
1 parent a518fd1 commit 82c65e5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
7 changes: 7 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,13 @@ <h2>Parameters</h2>
<div id="parameters-pane"><!--automatically generated --></div>
</div>
</div>
<span id="hidden-buttons">
<a target="_blank" href='https://raw.githubusercontent.com/couleur-tweak-tips/TweakList/master/Manifests.json'>view manifest</a>
<button
onclick="if (confirm('you sure you wanna nuke all of your settings?\n\nthere is no coming back')){localStorage.clear(); location.reload();}"
>reset conf
</button>
</span>
<script>
loadList(tlui)
</script>
Expand Down
13 changes: 13 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,17 @@ button {
padding: 5px 5px 5px 15px;
color: #cccccc;
background-color: #1f1f1f
}

#hidden-buttons {
position: absolute;
bottom: 0;
right:0;

margin: 0 !important;
opacity: 0;
transition: opacity 0.5s cubic-bezier(.29, 1.01, 1, -0.68);
}
#hidden-buttons:hover {
opacity: 1
}

0 comments on commit 82c65e5

Please sign in to comment.