File: /home/frenchy/refonte2023/wordpress/wp-content/themes/gimont/assets/scss/give/_custom.scss
/* button donate now insert in js*/
#give-donation-level-button-wrap {
position: relative;
&>li {
margin: 0 5px 5px 0;
}
.custom_give {
transition: .3s all ease;
padding: 10px 20px;
border: 1px solid var(--primary);
text-transform: capitalize;
font-size: 15px;
font-weight: 700;
line-height: 1.3;
color: #fff;
border: 1px solid var(--primary);
background-color: var(--primary);
cursor: pointer;
height: auto;
position: absolute;
left: 0;
bottom: -65px;
&:hover {
transition: .3s all ease;
background-color: #fff;
color: var(--primary);
}
}
}
/* hide purchase form give*/
#give-payment-mode-select,#give_purchase_form_wrap{
display: none;
}
/* give donations slide */
.ova-give-donations-slide {
.owl-dots {
margin: 30px 0 0 0;
display: flex;
justify-content: center;
list-style-type: none;
align-items: end;
@media (max-width: 1023px) {
margin: 15px 0 0 0;
}
.owl-dot {
outline: none;
margin: 0 3px;
span {
display: block;
width: 20px;
height: 2px;
padding: 0;
background-color: var(--primary);
opacity: 0.3;
border: none;
border-radius: 0px;
text-indent: -9999px;
}
&.active {
span {
opacity: 1;
width: 30px;
height: 4px;
}
}
}
}
}
/* give donations filter */
.ova-give-donations-filter {
.filter-btn-wrapper {
list-style-type: none;
text-align: center;
margin: 0 0 50px 0;
padding: 0;
li.filter-btn{
font-size: 18px;
font-weight: 700;
line-height: 23px;
text-transform: capitalize;
cursor: pointer;
display: inline-block;
border-radius: 5px;
padding: 11px 21px;
@include transaction( all, 0.3s, linear );
&.active-category, &:hover{
color: #fff;
background: var(--primary);
}
}
}
.ova-item-give {
&.two_column{
.ova_give_detail{
width: calc( 50% - 15px );
@media(max-width: 767px){
width: 100%;
}
}
}
&.three_column{
.ova_give_detail{
width: calc( 33.33% - 20px );
@media(max-width: 991px){
width: calc( 50% - 15px );
}
@media(max-width: 767px){
width: 100%;
}
}
}
&.four_column{
.ova_give_detail{
width: calc( 25% - 25px );
@media(max-width: 1024px){
width: calc( 33.33% - 20px );
}
@media(max-width: 991px){
width: calc( 50% - 15px );
}
@media(max-width: 767px){
width: 100%;
}
}
}
}
}
/* give donation shortcode */
.ova_shortcode_donation{
.give-form-wrap{
padding: 45px 40px;
background-color: #fff;
border-top: 5px solid var(--primary);
box-shadow: 0 5px 20px rgba(0,0,0,0.05);
@media (max-width: 767px) {
padding: 35px 25px;
}
.give_warning{
display: none;
}
.give-goal-progress{
display: none;
}
.give-form-title {
font-size: 27px;
}
.give-form{
margin-bottom: 0;
.give-donation-amount{
.give-currency-symbol {
color: #fff;
background-color: var(--primary);
border: 1px solid var(--primary);
}
.give-text-input {
font-size: 15px!important;
font-weight: 700;
color: var(--heading);
border: 1px solid rgba(5, 26, 83, 0.1)!important;
width: calc(50% - 44px);
@media (max-width: 767px) {
width: calc(100% - 37px);
}
}
}
#give-donation-level-button-wrap{
display: flex;
flex-wrap: wrap;
gap: 15px;
&:before, &:after {
content: none;
}
li{
margin: 0;
width: calc(25% - 11.5px);
@media (max-width: 767px) {
width: calc(50% - 8px);
}
&:last-child, &:nth-last-child(2){
width: calc(50% - 8px);
}
}
.give-donation-level-btn{
padding: 10px;
}
}
#give-payment-mode-select{
#give-payment-mode-wrap{
ul{
margin-bottom: 9px;
li{
display: inline-flex;
align-items: center;
.give-gateway{}
label.give-gateway-option{
}
}
}
}
}
#give_purchase_form_wrap{
#give_checkout_user_info{
.form-row{
&.form-row-first{
width: calc(50% - 20px);
margin-right: 20px;
@media( max-width: 767.98px ){
width: 100%;
}
}
.give-tooltip{
display: none;
}
}
}
}
.give-btn{
display: block;
width: 100%;
margin: 0;
padding: 22px 40px;
clear: both;
}
}
}
}