Skip to content

Commit

Permalink
chore: make it md-button manually
Browse files Browse the repository at this point in the history
  • Loading branch information
meysam81 committed Jan 5, 2025
1 parent c2bada4 commit 1c3df4e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
18 changes: 17 additions & 1 deletion docs/static/subscribe.css
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,29 @@
font-size: 0.9rem;
}

#subscribe-form-9b27c56e input {
#subscribe-form-9b27c56e input:not([type="submit"]) {
margin-bottom: 10px;
padding: 10px;
border: 1px solid var(--mg-primary-bg-color);
border-radius: 4px;
}

#subscribe-form-9b27c56e input[type="submit"] {
background-color: var(--md-primary-fg-color);
color: var(--md-default-bg-color);
padding: 10px;
margin: auto;
border-radius: 4px;
cursor: pointer;
border-color: var(--md-accent-fg-color);
}

#subscribe-form-9b27c56e input[type="submit"]:hover {
background-color: var(--md-accent-fg-color);
border-color: var(--md-accent-fg-color);
color: var(--md-accent-bg-color);
}

#subscribe-form-9b27c56e button {
border: none;
border-radius: 4px;
Expand Down
1 change: 0 additions & 1 deletion overrides/partials/subscription-form.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ <h3>Subscribe to Newsletter</h3>
data-sitekey="0de6fb2e-eb24-454a-8dfe-4f6c9670ab7e"
></div>
<input
class="md-button md-button--primary"
type="submit"
value="Submit"
/>
Expand Down

0 comments on commit 1c3df4e

Please sign in to comment.