Add .btn.cta link styles

This commit is contained in:
Matt Baer 2020-01-05 11:00:11 -05:00
parent 6429d495a2
commit 5249456ec6
1 changed files with 3 additions and 2 deletions

View File

@ -684,18 +684,19 @@ select.inputform, textarea.inputform {
border: 1px solid #999; border: 1px solid #999;
} }
input, button, select.inputform, textarea.inputform { input, button, select.inputform, textarea.inputform, a.btn {
padding: 0.5em; padding: 0.5em;
font-family: @serifFont; font-family: @serifFont;
font-size: 100%; font-size: 100%;
.rounded(.25em); .rounded(.25em);
&[type=submit], &.submit { &[type=submit], &.submit, &.cta {
border: 1px solid @primary; border: 1px solid @primary;
background: @primary; background: @primary;
color: white; color: white;
.transition(0.2s); .transition(0.2s);
&:hover { &:hover {
background-color: lighten(@primary, 3%); background-color: lighten(@primary, 3%);
text-decoration: none;
} }
&:disabled { &:disabled {
cursor: default; cursor: default;