File: /home/dermova/www/india/wp-content/themes/ri-colias/sass/theme/components/_buttons.scss
//button base
//button-variables-outline($color, $background, $border, $colorhover, $bghover, $borderhover )
/* btn 1 */
.btn-outline{
@include button-variables-outline($theme-color, transparent, $theme-color, $theme-color, transparent, $theme-color);
}
/* btn 2 */
.btn-inverse{
@include button-variables-outline($white, #A8BA1D , $theme-color , $white, $theme-color , $theme-color );
}
/* btn-3 */
.btn-variant{
@include button-variables-outline($white, $theme-color , $theme-color , $white, $theme-color , $theme-color);
}
.btn-black{
@include button-variables-outline($white, $black , transparent , $white, $theme-color , transparent);
padding: 10px 17px;
}
.btn-greed{
@include button-variables-outline($white, #A1A42E , transparent , $white, $theme-color , transparent);
padding: 10px 17px;
}
.btn-green{
@include button-variables-outline(#2FBFA2, transparent , #2FBFA2 , $white, #2FBFA2 , #2FBFA2);
padding: 15px 40px;
}
.btn-green-outline{
@include button-variables-outline($white, $theme-color , $theme-color , $white, darken($theme-color, 15%) , darken($theme-color, 15%));
padding: 15px 40px;
}
.btn-red{
@include button-variables-outline($white, #EA4848 , #EA4848 , $white, #000 , #000);
padding: 15px 25px;
}
.btn-danger{
@include button-variables-outline($white, $theme-color , transparent , $white, $theme-color , transparent);
padding: 10px 17px;
}
.btn-white {
@include button-variables-outline($white, transparent , $white , $white, $theme-color , $theme-color);
padding: 15px 40px;
}
.btn-lg{
border-radius: 0px;
padding: 12px 25px;
font-size: 14px;
border-width: 0;
font-weight: 400;
}
.btn-default {
@include button-variables-outline($white, $btn-default-bg, $btn-default-bg, $white, darken($btn-primary-bg, 10%), darken($btn-primary-bg, 10%));
}
.btn-primary {
@include button-variant($btn-primary-color, $btn-primary-bg, $btn-primary-bg);
}
.rit_ajax_load_more{
display: block;
text-align: center;
}
//button-variables-outline($color, $background, $border, $colorhover, $bghover, $borderhover )
.rit_ajax_load_more_button{
@include button-variables-outline(#4c4c4c, transparent , #eaeaea , $theme-color, transparent , $theme-color);
// @include button-variables-outline($white, $theme-color , $theme-color , $white, darken($theme-color, 15%) , darken($theme-color, 15%));
border-left:1px solid transparent ;
border-right:1px solid transparent ;
font-size: 14px;
padding: 20px 120px;
cursor: pointer;
letter-spacing: 1px;
&:hover{
border-left:1px solid transparent ;
border-right:1px solid transparent ;
}
&.loading {
opacity: 0.7;
position: relative;
&:after {
font-family: "fontawesome";
content: "\f110";
vertical-align: top;
-webkit-font-smoothing: antialiased;
font-size: 20px;
position: absolute;
right: 40px;
top:17px;
-webkit-animation: fa-spin 1s infinite steps(8);
animation: fa-spin 1s infinite steps(8);
}
}
}
//button woo
//ADD TO CART
.button,.add_to_cart_button,.single_add_to_cart_button{
@include rtl-float-left();
// @include button-variables-outline($white, $theme-base, $theme-color, $white, $theme-color, $theme-color);
@include button-variables-outline($btn-cart-color, $btn-cart-bg, $btn-cart-border, $btn-cart-colorhover, $btn-cart-bghover, $btn-cart-borderhover);
padding: 7px 8px;
font-size: 10px;
letter-spacing: 1px;
line-height: 20px;
font-weight: 700;
&.loading {
opacity: 0.7;
position: relative;
padding:7px 28px 7px 5px;
&:after {
font-family: "fontawesome";
content: "\f110";
vertical-align: top;
-webkit-font-smoothing: antialiased;
font-size: 14px;
position: absolute;
right: 10px;
-webkit-animation: fa-spin 1s infinite steps(8);
animation: fa-spin 1s infinite steps(8);
}
}
&.added{
display: none;
}
}
.added_to_cart{
@include rtl-float-left();
@include button-variables-outline($btn-cart-color, $btn-cart-bg, $btn-cart-border, $btn-cart-colorhover, $btn-cart-bghover, $btn-cart-borderhover);
padding: 7px 16px;
font-size: 10px;
letter-spacing: 1px;
font-weight: 700;
line-height: 20px;
&:after{
position: relative;
content: "\f090";
left: 5px;
margin: auto;
font-family: "fontawesome";
font-size: 14px;
}
}
//compare and wishlist
.add-links{
a{
i{
margin: 0;
padding: 0;
}
}
}
//wishlist
.yith-wcwl-add-to-wishlist{
a{
@include button-variables-outline($btn-inverse-color, $btn-inverse-bg , $btn-inverse-border , $btn-inverse-colorhover, $btn-inverse-bghover ,$btn-inverse-borderhover );
padding: 7px 12px;
}
@include rtl-float-right();
margin: 0;
position: relative;
@include size(40px,35px);
font-size: 0px;
.feedback{
display: none;
}
.ajax-loading{
left: 0;
margin: auto;
position: absolute;
right: 0;
top: 10px;
}
.add_to_wishlist{
@include size(40px,35px);
font-size: 0px;
border-radius: 0 !important;
&:after{
position: absolute;
content: "\f004";
left: 0;
right: 0;
margin: auto;
font-family: "fontawesome";
font-size: 14px;
line-height: 24px;
text-align: center;
}
&.added{
&:after{
content: "\f00c";
}
}
}
}
.yith-wcwl-wishlistexistsbrowse,.yith-wcwl-wishlistaddedbrowse{
a{
@include button-variables-outline($white, $theme-color , $theme-color , $white, $theme-base , transparent);
padding: 7px 12px;
}
@include rtl-float-right();
margin: 0;
a{
@include size(40px,35px);
font-size: 0px;
&:after{
position: absolute;
content: "\f00c";
left: 0;
right: 0;
margin: auto;
font-family: "fontawesome";
font-size: 14px;
text-align: center;
line-height: 20px;
}
}
}
//compare
.compare{
@include button-variables-outline($btn-outline-color, $btn-outline-bg , $btn-outline-border , $btn-outline-colorhover, $btn-outline-bghover , $btn-outline-borderhover);
padding: 7px 12px;
@include rtl-margin-right(7px);
position: relative;
@include size(40px,35px);
font-size: 0px;
@include rtl-float-right();
&:after{
position: absolute;
content: "\f0ec";
left: 0;
right: 0;
margin: auto;
font-family: "fontawesome";
font-size: 14px;
text-align: center;
line-height: 20px;
}
&.added{
display: block;
&:after{
content: "\f00c";
}
}
}
//quick view
.quick-view{
position: absolute;
top:50%;
left: 0;
right:0;
margin: -15px auto auto;
opacity: 0;
@include size(36px,36px);
background:$theme-base;
border-radius: 3px;
a{
color: $white;
width: 100%;
}
&:hover{
background: $theme-color;
opacity: 1;
}
}
.button-about{
padding-top: 10px;
.btn{
padding: 8px 12px;
}
i{
@include rtl-padding-left(10px);
}
}
.button-groups{
.yith-wcqv-button{
display: none;
}
}
.alert .button.wc-forward{
background: none;
color: $theme-color;
padding: 0;
border: 0;
}