Skip to content

Commit

Permalink
Make the settings link a button
Browse files Browse the repository at this point in the history
  • Loading branch information
Radiokot committed Nov 25, 2023
1 parent b62271a commit a401200
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
<h3>Cloudflare Tunnel</h3>
<span id="connector-version">2023.10.0</span>
</div>
<div style="margin-left: auto;">
<a href="/settings">Settings</a>
<div style="margin-left: auto; margin-top: auto; margin-bottom: auto; display: flex;">
<a class="button button-secondary" href="/settings">Settings</a>
</div>
</div>
Expand Down Expand Up @@ -162,6 +162,26 @@
text-decoration: none;
}
.button {
border: 1px solid;
border-radius: 4px;
padding-top: 0.25em;
padding-bottom: 0.25em;
padding-left: 2.25em;
padding-right: 2.25em;
}
.button-secondary {
color: var(--secondary-text-color);
border-color: var(--secondary-text-color) !important;
transition: 150ms cubic-bezier(0.215, 0.610, 0.355, 1);
}
.button-secondary:hover {
background: var(--secondary-text-color);
color: #ffffff;
}
@media (prefers-color-scheme: dark) {
:root {
--card-shadow-color: rgba(16, 16, 17, 0.5);
Expand Down

0 comments on commit a401200

Please sign in to comment.