zZzzZ.
home
/
rotary
/
public_html
/
wp-content
/
plugins
/
bearsthemes-addons
/
assets
/
css
New Folder
Editing: woocommerce.scss
Save
Cancel
@import "variables"; .elementor-products { &--default { .elementor-product { background: #FFFFFF; overflow: hidden; -webkit-transition: all .3s; transition: all .3s; &__header{ position: relative; overflow: hidden; margin-bottom: 20px; } &__overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba( #000000, 0.13); opacity: 0; z-index: 3; -webkit-transition: all .3s; transition: all .3s; } &__thumbnail { position: relative; padding-bottom: 100%; background: #e7e6e4; overflow: hidden; z-index: 1; -webkit-transition: all 1.5s cubic-bezier(0.11, 0.52, 0.53, 0.79) 0.2s; transition: all 1.5s cubic-bezier(0.11, 0.52, 0.53, 0.79) 0.2s; img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; object-fit: cover; -webkit-transition: all .3s; transition: all .3s; } } &__onsale { position: absolute; top: 10px; left: 10px; width: 50px; height: 50px; font-size: 12px; font-weight: 500; line-height: 50px; letter-spacing: 1px; text-align: center; color: #FFFFFF; background-color: $main-color; z-index: 5; border-radius: 50px; } .button { display: flex; align-items: center; justify-content: space-between; position: absolute; top: 50%; left: 50%; font-size: 14px; font-weight: 500; line-height: 20px; color: $main-color; background-color: #FFFFFF; margin: 0; padding: 0 15px 0 0; max-width: calc(100% - 30px); opacity: 0; z-index: 5; -webkit-transform: translateX(-50%) translateY( calc(-50% + 40px) ); transform: translateX(-50%) translateY( calc(-50% + 40px) ); .icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-width: 44px; background: $main-color; border-radius: 2px 0 0 2px; -webkit-transition: all .3s; transition: all .3s; svg { fill: #FFFFFF; margin-top: -2px; } } .text { display: inline-block; padding-left: 12px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } &.add_to_cart_button { padding: 0 15px 0 0; } &.loading:after { font-family: WooCommerce; content: "\e01c"; vertical-align: top; font-weight: 400; position: absolute; top: .618em; right: 1em; -webkit-animation: spin 2s linear infinite; animation: spin 2s linear infinite; } &.added:after { font-family: WooCommerce; content: "\e017"; margin-left: .53em; vertical-align: bottom; } } .added_to_cart { position: absolute; bottom: 0; left: 0; width: 100%; font-size: 13px; font-weight: 500; line-height: 20px; text-align: center; color: #FFFFFF; background: $main-color; padding: 8px 0; z-index: 5; opacity: 0; -webkit-transition: transform .4s ease .2s; transition: transform .4s ease .2s; -webkit-transform: translateY(100%); transform: translateY(100%); } &__title { font-size: 20px; font-weight: 500; line-height: 1.25; margin-bottom: 8px; a { color: inherit; } } &__price { display: block; font-size: 14px; font-weight: 500; line-height: 1.5; color: $main-color; margin-bottom: 0; del { color: #111111; } ins { font-weight: inherit; text-decoration: none; } } &:hover { .elementor-product { &__overlay { opacity: 1; } &__thumbnail { -webkit-transform: scale(1.1); transform: scale(1.1); } } .button { opacity: 1; -webkit-transform: translateX(-50%) translateY( -50% ); transform: translateX(-50%) translateY( -50% ); } .added_to_cart { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); } } } } &--skin-grid-andrus { .elementor-product { position: relative; background: #FFFFFF; overflow: hidden; border-radius: 5px; -webkit-box-shadow: 0 5px 35px rgba(0,0,0,.1); box-shadow: 0 5px 35px rgba(0,0,0,.1); -webkit-transition: all .3s; transition: all .3s; &__header{ position: relative; overflow: hidden; } &__overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba( #000000, 0.13); opacity: 0; z-index: 3; -webkit-transition: all .3s; transition: all .3s; } &__thumbnail { position: relative; padding-bottom: 100%; background: #e7e6e4; overflow: hidden; z-index: 1; -webkit-transition: all 1.5s cubic-bezier(0.11, 0.52, 0.53, 0.79) 0.2s; transition: all 1.5s cubic-bezier(0.11, 0.52, 0.53, 0.79) 0.2s; img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; object-fit: cover; -webkit-transition: all .3s; transition: all .3s; } } &__onsale { position: absolute; top: 10px; left: 10px; width: 50px; height: 50px; font-size: 14px; font-weight: 400; line-height: 50px; letter-spacing: 0.3px; text-align: center; color: #333; background-color: #fed700; z-index: 5; border-radius: 50px; } .button { display: flex; align-items: center; justify-content: space-between; position: absolute; top: 50%; left: 50%; font-size: 14px; font-weight: 700; line-height: 20px; color: #333333; background-color: #FFFFFF; margin: 0; padding: 0 15px 0 0; max-width: calc(100% - 30px); opacity: 0; z-index: 5; -webkit-transform: translateX(-50%) translateY( calc(-50% + 40px) ); transform: translateX(-50%) translateY( calc(-50% + 40px) ); .icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-width: 44px; background: #fed700; border-radius: 2px 0 0 2px; -webkit-transition: all .3s; transition: all .3s; svg { fill: currentColor; margin-top: -2px; } } .text { display: inline-block; padding-left: 12px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } &.add_to_cart_button { padding: 0 15px 0 0; } &.loading:after { font-family: WooCommerce; content: "\e01c"; vertical-align: top; font-weight: 400; position: absolute; top: .618em; right: 1em; -webkit-animation: spin 2s linear infinite; animation: spin 2s linear infinite; } &.added:after { font-family: WooCommerce; content: "\e017"; margin-left: .53em; vertical-align: bottom; } } .added_to_cart { position: absolute; bottom: 0; left: 0; width: 100%; font-size: 14px; font-weight: 700; line-height: 20px; text-align: center; color: #333333; background: #fed700; padding: 8px 0; z-index: 5; opacity: 0; -webkit-transition: transform .4s ease .2s; transition: transform .4s ease .2s; -webkit-transform: translateY(100%); transform: translateY(100%); } &__content { min-height: 115px; padding: 20px; } &__title { font-size: 18px; font-weight: 700; line-height: 1.25; color: #333333; margin-bottom: 8px; a { color: inherit; } } &__price { display: block; font-size: 14px; font-weight: 700; line-height: 1.5; color: #fed700; margin-bottom: 0; del { color: #111111; } ins { font-weight: inherit; text-decoration: none; } } &__category { font-size: 14px; font-weight: 400; line-height: 1.5; color: #333333; padding: 10px 20px; border-top: 1px solid #e7e5e4; a { color: inherit; } } &:hover { .elementor-product { &__overlay { opacity: 1; } &__thumbnail { -webkit-transform: scale(1.1); transform: scale(1.1); } } .button { opacity: 1; -webkit-transform: translateX(-50%) translateY( -50% ); transform: translateX(-50%) translateY( -50% ); } .added_to_cart { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); } } } } &--skin-grid-havsula { .elementor-product { position: relative; background: #FFFFFF; overflow: hidden; border-radius: 5px; -webkit-box-shadow: 0 5px 35px rgba(0,0,0,.1); box-shadow: 0 5px 35px rgba(0,0,0,.1); -webkit-transition: all .3s; transition: all .3s; &.has-thumbnail { .elementor-product { &__content { position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(#FFFFFF, 0.93); z-index: 5; } } &:hover { .elementor-product { &__content { opacity: 0; -webkit-transform: translateY(100%); transform: translateY(100%); } } } } &__header{ position: relative; overflow: hidden; } &__overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba( #000000, 0.13); opacity: 0; z-index: 3; -webkit-transition: all .3s; transition: all .3s; } &__thumbnail { position: relative; padding-bottom: 110%; background: #e7e6e4; overflow: hidden; z-index: 1; -webkit-transition: all 1.5s cubic-bezier(0.11, 0.52, 0.53, 0.79) 0.2s; transition: all 1.5s cubic-bezier(0.11, 0.52, 0.53, 0.79) 0.2s; img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; object-fit: cover; -webkit-transition: all .3s; transition: all .3s; } } &__onsale { position: absolute; top: 10px; left: 10px; width: 50px; height: 30px; font-size: 13px; font-weight: 700; line-height: 30px; letter-spacing: 1px; text-align: center; color: #FFFFFF; background-color: #ec2127; z-index: 5; border-radius: 3px; } .button { display: flex; align-items: center; justify-content: space-between; position: absolute; top: 50%; left: 50%; font-size: 13px; font-weight: 700; line-height: 20px; text-transform: uppercase; color: #ec2127; background-color: #FFFFFF; margin: 0; padding: 0 15px 0 0; max-width: calc(100% - 30px); opacity: 0; z-index: 5; -webkit-transform: translateX(-50%) translateY( calc(-50% + 40px) ); transform: translateX(-50%) translateY( calc(-50% + 40px) ); .icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-width: 44px; background: #ec2127; border-radius: 2px 0 0 2px; -webkit-transition: all .3s; transition: all .3s; svg { fill: #FFFFFF; margin-top: -2px; } } .text { display: inline-block; padding-left: 12px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } &.add_to_cart_button { padding: 0 15px 0 0; } &.loading:after { font-family: WooCommerce; content: "\e01c"; vertical-align: top; font-weight: 400; position: absolute; top: .618em; right: 1em; -webkit-animation: spin 2s linear infinite; animation: spin 2s linear infinite; } &.added:after { font-family: WooCommerce; content: "\e017"; margin-left: .53em; vertical-align: bottom; } } .added_to_cart { position: absolute; bottom: 0; left: 0; width: 100%; font-size: 13px; font-weight: 700; line-height: 20px; text-transform: uppercase; text-align: center; color: #FFFFFF; background: #ec2127; padding: 8px 0; z-index: 5; opacity: 0; -webkit-transition: transform .4s ease .2s; transition: transform .4s ease .2s; -webkit-transform: translateY(100%); transform: translateY(100%); } &__content { display: flex; align-items: center; justify-content: space-between; background: #FFFFFF; padding: 20px 15px; -webkit-transition: all .3s; transition: all .3s; } &__title { font-size: 16px; font-weight: 700; line-height: 1.25; color: #1f1f1f; margin-bottom: 0; a { color: inherit; } } &__price { display: block; font-size: 14px; font-weight: 700; line-height: 1.5; white-space: nowrap; color: #ec2127; margin-bottom: 0; padding-left: 10px; del { color: #111111; } ins { font-weight: inherit; text-decoration: none; } } &:hover { .elementor-product { &__overlay { opacity: 1; } &__thumbnail { -webkit-transform: scale(1.1); transform: scale(1.1); } } .button { opacity: 1; -webkit-transform: translateX(-50%) translateY( -50% ); transform: translateX(-50%) translateY( -50% ); } .added_to_cart { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); } } } } }