Skip to content

Instantly share code, notes, and snippets.

@artlipsky
Created April 8, 2019 14:13
Show Gist options
  • Save artlipsky/aea91db1c18913d0f800bbdb0cf4be2a to your computer and use it in GitHub Desktop.
Save artlipsky/aea91db1c18913d0f800bbdb0cf4be2a to your computer and use it in GitHub Desktop.
/* This CSS aplies to «Woo Variation Swatches» Plugin only https://wordpress.org/plugins/woo-variation-swatches/ */
/*--------------------------Default Styles----------------------------*/
.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-squared .variable-items-wrapper .variable-item {
overflow: hidden;
}
/*--------------------------Custom Styles-----------------------------*/
/* Original */
.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-squared .variable-items-wrapper .variable-item {
border-radius: default;
border: default;
padding: default;
color: default;
font-weight: default;
text-transform: default;
letter-spacing: default;
background: default;
box-shadow: default;
}
/* Hover */
.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item):hover {
border: default;
box-shadow: default;
font-weight: default;
color: default;
background: default;
}
/* Selected */
.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item).selected {;
border: default;
box-shadow: default;
font-weight: default;
color: default;
background: default;
}
/* Disabled */
.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled {;
opacity: default;
border: default;
box-shadow: default;
font-weight: default;
color: default;
background: default;
}
/* Disabled Cross Icon */
.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled::before, .woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled::after {;
visibility: hidden;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment