Skip to content

Commit

Permalink
Fix button states
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-sorrentino committed Jul 7, 2024
1 parent 901c363 commit 9ad6d52
Showing 1 changed file with 21 additions and 5 deletions.
26 changes: 21 additions & 5 deletions hushline/static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -472,12 +472,12 @@ button,
border: 0px;
background-color: var(--color-brand);
color: white;
padding: 0 1rem;
padding: .725rem;
margin: .5rem 0;
line-height: 1;
}

header .btn {
padding: .625rem .825rem;
font-size: var(--font-size-small);
margin-left: 1rem;
min-width: initial;
Expand All @@ -494,6 +494,22 @@ header .btn {
border: 1px solid var(--color-brand);
border-radius: 50vw;
font-family: var(--font-sans-bold);
text-decoration: none;
box-shadow: 0px 2px 0px 0px rgba(125,37,193,.25);
}

.formBody input[type="submit"]:hover,
.formBody button:hover,
.btn:hover {
box-shadow: none;
text-decoration: none;
}

.formBody input[type="submit"]:active,
.formBody button:active,
.btn:active {
box-shadow: inset 0px 2px 0px 0px rgba(125,37,193,.25);
text-decoration: none;
}

.formBody h3 + form button {
Expand Down Expand Up @@ -523,9 +539,9 @@ header .btn {
display: inline-flex;
}

input[type="submit"]:hover,
button:hover,
.btn:hover {
input[type="submit"],
button,
.btn {
cursor: pointer;
text-decoration: none;
box-shadow: 0px 2px 0px 0px rgba(125,37,193,.25);
Expand Down

0 comments on commit 9ad6d52

Please sign in to comment.