Skip to content

Instantly share code, notes, and snippets.

@jacobmc
Created March 14, 2018 05:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jacobmc/a32751a9a0ed67417c0bf71d00b051f7 to your computer and use it in GitHub Desktop.
Save jacobmc/a32751a9a0ed67417c0bf71d00b051f7 to your computer and use it in GitHub Desktop.
Woocommerce Button SASS
.woocommerce,
.woocommerce-page {
input.button,
input.button.alt,
a.button,
a.button.alt,
button.button,
button.button.alt {
background-color: $purple;
color: $white;
border: 1px solid $purple;
&:hover {
@include transition(all);
background-color: $white;
color: $purple;
}
}
#content {
input.button,
input.button.alt {
background-color: $purple;
color: $white;
border: 1px solid $purple;
&:hover {
@include transition(all);
background-color: $white;
color: $purple;
}
}
}
#respond {
input#submit,
input#submit.alt,
input.button {
background-color: $purple;
color: $white;
border: 1px solid $purple;
&:hover {
@include transition(all);
background-color: $white;
color: $purple;
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment