Skip to content

Commit

Permalink
Make sure button styles don't modify navbar button
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Darby committed Feb 5, 2020
1 parent 8db7e90 commit 974bdf1
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 21 deletions.
2 changes: 1 addition & 1 deletion wp-content/themes/ipbs-largo/css/child-style.css

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 21 additions & 19 deletions wp-content/themes/ipbs-largo/less/mixins.less
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,29 @@
box-shadow: 0px 0px 16px @box-shadow-black;
}
.btn {
background: @red;
color: @white;
font-weight: 600;
border-radius: 20px!important;
padding: 10px 50px!important;
text-transform: uppercase;
text-decoration: none;
box-shadow: 0px 0px 24px @box-shadow-black;
font-size: 14px!important;
letter-spacing: 0.7px;
&:hover {
&:not(&.btn-navbar) {
background: @red;
color: @white;
font-weight: 600;
border-radius: 20px!important;
padding: 10px 50px!important;
text-transform: uppercase;
text-decoration: none;
}
&:hover {
background: @darkred;
}
&.btn-blue {
background: @blue;
color: @white!important;
box-shadow: 0px 0px 24px @box-shadow-black;
font-size: 14px!important;
letter-spacing: 0.7px;
&:hover {
background: @darkblue;
text-decoration: none;
}
&:hover {
background: @darkred;
}
&.btn-blue {
background: @blue;
color: @white!important;
&:hover {
background: @darkblue;
}
}
}
}
Expand Down

0 comments on commit 974bdf1

Please sign in to comment.