123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497 |
- *{
- box-sizing: border-box;
- }
- #nos-packs, #nos-offres{
- .content{
- margin-top: 0;
- width: 70%;
- margin: auto;
- .section{
- .__intro{
- text-align: center;
- color: $light-blue;
- margin: 100px 0;
- p{
- font-family: $now_alt_bold;
- font-size: 1.2rem;
- }
- }
- .d-flex{
- display: inline-flex;
- flex-wrap: wrap;
- width: 100%;
- .__thumbnails{
- margin: 0 1rem;
- width: calc((100% / 4) - 2rem);
- display: flex;
- flex-direction: column;
- align-self: baseline;
- .__title{
- text-align: center;
- margin-bottom: 1rem;
- .__d-inline{
- display: inline-block;
- border-bottom: 3px solid #b5cb3a;
- width: max-content;
- max-width: 100%;
- padding-bottom: 0.5rem;
- span{
- display: block;
- text-align: center;
- padding: 0 1.5rem 0.2rem 1.5rem;
- font-size: 0.8rem;
- font-family: $now_alt_medium;
- }
- }
- }
- .__thumb{
- position: relative;
- .__images{
- position: relative;
- height: 100%;
- max-height: 500px;
- overflow: hidden;
- img{
- width: 100%;
- height: 100%;
- object-fit: cover;
- }
- }
- }
- }
- }
- .dl_brochure{
- width: 100%;
- margin: 100px 0;
- a{
- font-size: 1.5rem;
- font-family: $now_alt_medium;
- display: block;
- text-align: center;
- text-transform: uppercase;
- color: $light-blue;
- }
- }
- &.nos_pack,&.nos_lieux{
- .__thumbnails{
- .__thumb.__hover{
- transition: 0.3s transform ease;
- a{
- outline: none;
- border: 0;
- }
- &:hover{
- transform: scale(1.015);
- transition: 0.3s transform ease, 0.3s box-shadow ease;
- .__images, .__btn{
- box-shadow: 0 0px 10px rgba(0, 0, 0, 0.2);
- transition: 0.3s box-shadow ease;
- }
- .__images{
- transition: 0.5s filter ease;
- filter: grayscale(0%);
- img{
- filter: grayscale(100%);
- transition: 0.5s filter ease;
- }
- }
- }
- }
- .__images{
- .__sub-title{
- opacity: 0;
- position: absolute;
- top: 50%;
- left: 0;
- transform: translateY(-0%);
- text-align: center;
- color: white;
- padding: 1rem;
- transition: 0.5s transform ease, 1s opacity ease;
- p{
- font-size: 1rem;
- font-family: $now_alt_medium;
- }
- }
- }
- .__btn{
- color: white;
- display: block;
- padding: 0.7rem 0;
- margin-top: 1rem;
- font-size: 0.8rem;
- font-family: $now_alt_medium;
- text-align: center;
- .triangle{
- position: absolute;
- z-index: -1;
- bottom: 0;
- left: 50%;
- transform: translate(-50%,0%);
- display : inline-block;
- height : 0;
- width : 0;
- border-top : 20px solid;
- border-right : 15px solid transparent;
- border-left : 15px solid transparent;
- transition: 0.1s transform ease;
- &.visible{
- transform: translate(-50%,90%);
- transition: 0.1s transform ease;
- }
- &.__blue{
- border-top : 20px solid $light-blue;
- }
- &.__green{
- border-top : 20px solid $green;
- }
- &.__red{
- border-top : 20px solid $red;
- }
- }
- &.__blue{
- background: $light-blue;
- }
- &.__green{
- background: $green;
- }
- &.__red{
- background: $red;
- }
- &.__grey{
- background: $grey;
- }
- }
- &:hover{
- .__images{
- .__sub-title{
- opacity: 1;
- transform: translateY(-50%);
- transition: 0.5s transform ease, 1s opacity ease;
- }
- }
- }
- }
- }
- &:last-child{
- margin-bottom: 100px;
- }
- .__thumbnails{
- &:nth-child(1){
- .__more{
- width: calc(100% * 4 + 6rem);
- }
- }
- &:nth-child(2){
- .__more{
- width: calc(100% * 4 + 6rem);
- transform: translateX(calc((-100% / 4) - 0.5rem));
- }
- }
- &:nth-child(3){
- .__more{
- width: calc(100% * 4 + 6rem);
- transform: translateX(calc((-100% / 2) - 1rem));
- }
- }
- }
- .__more{
- display: none;
- position: relative;
- left: 0;
- right: 0;
- // width: calc(100% * 4 - 6rem);
- margin: 0;
- margin: 2rem 0rem;
- .__wrap-content{
- background-size: cover;
- }
- .__txt.black{
- p{
- color: black!important;
- }
- }
- &.__blue{
- .__title{
- color: $light-blue;
- }
- .__txt{
- p{
- color: $light-blue;
- }
- }
- }
- &.__green{
- .__title{
- color: $green;
- }
- .__txt{
- p{
- color: $green;
- }
- }
- }
- &.__red{
- .__title{
- color: $red;
- }
- .__txt{
- p{
- color: $red;
- }
- }
- }
- &.visible{
- display: block;
- }
- .__details{
- position: relative;
- }
- .__image-background{
- width: 100%;
- height: auto;
- img{
- width: 100%;
- height: 100%;
- object-fit: cover;
- }
- }
- .__wrap-content{
- z-index: 999;
- width: 100%;
- height: auto;
- padding: 2rem;
- display: flex;
- justify-content: flex-end;
- .__content{
- background: white;
- width: 50%;
- height: auto;
- padding: 2rem;
- position: relative;
- .close{
- position: absolute;
- top: 1rem;
- right: 1rem;
- cursor: pointer;
- }
- .__title{
- text-align: left;
- h6{
- margin:0;
- font-size: 1.3rem;
- font-family: $now_alt_medium;
- }
- }
- .__txt{
- p{
- font-size: 0.9rem;
- font-family: $now_alt_medium;
- }
- &.__color{
- color: $light-blue;
- margin-bottom: 1rem;
- }
- }
- .__btn{
- display: inline-flex;
- margin-top: 1rem;
- width: 100%;
- a{
- display: block;
- text-align: center;
- width: 50%;
- background: $light-blue;
- margin: 0;
- transition: 0.3s transform ease, 0.3s box-shadow ease;
- padding: 0.5rem 1.5rem;
- font-family: $now_alt_medium;
- font-size: 0.7rem;
- color: white;
- &:not(:first-child){
- margin-left: 1rem;
- }
- &:hover{
- transform: scale(1.015);
- box-shadow: 0 0px 10px rgba(0, 0, 0, 0.2);
- transition: 0.3s transform ease, 0.3s box-shadow ease;
- }
- &.__blue{
- background: $light-blue;
- }
- &.__green{
- background: $green;
- }
- &.__red{
- background: $red;
- }
- }
- }
- }
- }
- &.open{
- display: block;
- }
- }
- }
- }
- }
- @media screen and (max-width: 1200px) {
- #nos-packs, #nos-offres{
- .content{
- .section{
- .__intro{
- margin: 70px 0;
- p{
- padding: 0!important;
- }
- }
- .d-flex{
- .__thumbnails{
- width: calc((100% / 3) - 2rem);
- margin-bottom: 2rem;
- .__more{
- width: calc(100% * 3 + 4rem);
- .__content{
- width: 100%;
- }
- }
- &:nth-child(2){
- .__more{
- transform: translateX(calc((-100% / 3) - 0.5rem));
- }
- }
- &:nth-child(3){
- .__more{
- transform: translateX(calc((-100% / 1.5) - 1rem));
- }
- }
- }
- }
- }
- }
- }
- }
- @media screen and (max-width: 1024px) {
- #nos-packs, #nos-offres{
- .content{
- .section{
- .__intro{
- margin: 50px 0;
- }
- .d-flex{
- .__thumbnails{
- width: calc((100% / 2) - 2rem);
- margin-bottom: 2rem;
- .__more{
- width: calc(100% * 2 + 2rem);
- .__content{
- width: 100%;
- }
- }
- &:nth-child(2){
- .__more{
- transform: translateX(calc((-100% / 2) - 1rem));
- }
- }
- &:nth-child(3){
- .__more{
- transform: translateX(-0%);
- }
- }
- }
- }
- }
- }
- }
- }
- @media screen and (max-width: 750px) {
- .__details{
- .__content{
- p{
- padding: 0!important;
- }
- }
- }
- }
- @media screen and (max-width: 530px) {
- #nos-packs, #nos-offres{
- .content{
- .section{
- .__intro{
- margin: 20px 0;
- }
- .d-flex{
- .__thumbnails{
- width: calc((100%) - 2rem);
- margin-bottom: 2rem;
- .__title{
- margin-bottom: 0.5rem;
- .__d-inline{
- padding-bottom: 0.2rem;
- span{
- padding: 0 1.5rem;
- font-size: 1rem;
- }
- }
- }
- .__more{
- width: calc(100%);
- .__details{
- padding: 0rem;
- .__content{
- width: 100%;
- padding: 1rem;
- p{
- padding: 0!important;
- }
- .close{
- top: 0.5rem;
- right: 0.5rem;
- }
- }
- .__wrap-content{
- padding: 0.5rem;
- }
- }
- .__btn{
- flex-direction: column;
- & > a{
- margin: auto 0 1rem 0!important;
- width: 100%;
- }
- }
- }
- &:nth-child(2){
- .__more{
- transform: translateX(0%);
- }
- }
- &:nth-child(3){
- .__more{
- transform: translateX(-0%);
- }
- }
- }
- }
- }
- }
- }
- }
|