Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
srv
/
data
/
trash
/
vhost_www.traiteur-75.fr_1689065491
/
htdocs
/
assets
/
styles
/
front
/
//srv/data/trash/vhost_www.traiteur-75.fr_1689065491/htdocs/assets/styles/front/card.scss
/* * =================================================== * Products * =================================================== */ .product-grid-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 1rem; color: $gray-600; strong { color: $gray-700; } } .titleProduct{ font-size: 20px; } .product-grid-header-show { display: inline-block; padding: .3rem; color: $gray-700; margin-right: .5rem; &.active { border-bottom: solid 2px $gray-700; } &:hover, &:focus { text-decoration: none; border-bottom: solid 2px $gray-700; } } .product { margin-bottom: $grid-gutter-width; border-top-left-radius: 400px; border-top-right-radius: 400px; overflow: hidden; } .product-image { position: relative; border-top-left-radius: 400px; border-top-right-radius: 400px; max-height: 300px; /* border-bottom: 2px solid $gray-700; */ &:hover { .product-hover-overlay { opacity: 1; } .btn { transform: none !important; opacity: 1 !important; } /* border-bottom: 2px solid $primary; */ } } .product-hover-overlay { overflow: hidden; position: absolute; width: 100%; height: 100%; top: 0; left: 0; display: flex; align-items: center; justify-content: center; background: rgba($bg, 0.62); opacity: 0; transition: opacity 0.3s; .product-hover-overlay-buttons { z-index: 3; } .btn { width: 40px; height: 40px; text-align: center; line-height: 40px; padding: 0; transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, transform .15s ease-in-out, opacity .15s ease-in-out; &.btn-product-left { transform: translateX(-20px); opacity: 0; } &.btn-product-right { transform: translateX(20px); opacity: 0; } &.btn-buy { width: 180px; padding-left: 2rem; padding-right: 2rem; margin-left: .5rem; margin-right: .5rem; border-top-left-radius:40px; border-top-right-radius:40px; } } .product-hover-overlay-link { position: absolute; width: 100%; height: 100%; left: 0; top: 0; } } .product-columns { @include media-breakpoint-up(sm) { column-count: 2 !important; } @include media-breakpoint-up(md) { column-count: 3 !important; } } // card cart .card-cart-resume{ padding:14px; border-radius: 18px; box-shadow: 0px 5px 5px rgba(110, 110, 110, 0.639); border-top: 2px $default-color solid; } .card-delivery{ box-shadow: 0px 5px 5px rgba(223, 181, 169, 1); color:$default-color; padding-top: 50px; padding-left: 25px; padding-right: 25px; padding-bottom:10px; border-top-left-radius: 400px; border-top-right-radius: 400px; width:fit-content; &:hover{ color:white; background-color:$default-color; } } .card-choiceDate{ border-top: 1px solid $default-color; border-radius: 15px; box-shadow: 5px 5px 5px 5px rgba(223, 181, 169, 1); padding:18px; } .card-delivery.active{ color:white; background-color:$default-color; }