350 lines
11 KiB
SCSS
Vendored
350 lines
11 KiB
SCSS
Vendored
.content.kitchenside {
|
|
max-width: inherit !important;
|
|
background-image: url('~@/images/recette/bg-recette-video.jpg');
|
|
background-repeat: no-repeat;
|
|
background-position: center bottom;
|
|
background-size: 100% auto;
|
|
position: relative;
|
|
|
|
#kitchensideHeader {
|
|
width:100%;
|
|
position:absolute;
|
|
|
|
img {
|
|
width:100%;
|
|
}
|
|
}
|
|
|
|
#starRecipes {
|
|
max-width: $big_screen;
|
|
margin: 2rem auto;
|
|
|
|
header {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: nowrap;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
position: relative;
|
|
padding-left: 1em;
|
|
padding-right: 1em;
|
|
|
|
a {
|
|
background: $color6;
|
|
font-size: 1rem;
|
|
color: #fff;
|
|
display: block;
|
|
line-height: 2.5em;
|
|
font-family: "Catamaran-Black";
|
|
padding: 0 1em;
|
|
text-transform: uppercase;
|
|
border-radius: 0.5em;
|
|
position: relative;
|
|
}
|
|
}
|
|
|
|
.list-wrapper {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
|
|
h3 {
|
|
font-size: 4.8em;
|
|
}
|
|
|
|
.list-recipe {
|
|
display: flex;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
|
|
.wrap_recipe {
|
|
text-align: center;
|
|
max-width: 37em;
|
|
margin-top: 2em;
|
|
margin-bottom: 2em;
|
|
|
|
figure {
|
|
height: 22em;
|
|
margin: 0 2em 2em;
|
|
border: 0.5em solid white;
|
|
padding: 0;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
|
|
.hoverFigure {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
background-color: rgba(247, 158, 21, 0.7);
|
|
z-index: 5;
|
|
opacity: 0;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
transition: opacity 500ms ease 0s;
|
|
|
|
&:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
h5 {
|
|
color: #ffffff;
|
|
font-size: 4em;
|
|
position: relative;
|
|
|
|
&:before {
|
|
background-image: url('~@/images/recette/hoverRecette.png');
|
|
display: inline-block;
|
|
content: "";
|
|
width: 2.5em;
|
|
height: 1em;
|
|
position: absolute;
|
|
top: -0.8em;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
}
|
|
&:after {
|
|
background-image: url('~@/images/recette/hoverRecette.png');
|
|
display: inline-block;
|
|
content: "";
|
|
width: 2.5em;
|
|
height: 1em;
|
|
transform: rotate(180deg) translateX(54%);
|
|
position: absolute;
|
|
top: 1em;
|
|
left: 50%;
|
|
}
|
|
}
|
|
}
|
|
img {
|
|
background: $color5;
|
|
min-height: 100%;
|
|
min-width: 100%;
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
}
|
|
p {
|
|
font-family: "Catamaran-Bold";
|
|
font-size: 1.8em;
|
|
padding: 0 1.2em;
|
|
text-transform: uppercase;
|
|
&:last-child {
|
|
color: $color6;
|
|
font-family: "CreamyScriptRegular";
|
|
font-size: 2.8em;
|
|
text-transform: none;
|
|
text-shadow: 0.05em 0 0 $color5, -0.05em 0 0 $color5,
|
|
0 0.05em 0 $color5, 0 -0.05em 0 $color5, 0.05em 0.05em $color5,
|
|
-0.05em -0.05em 0 $color5, 0.05em -0.05em 0 $color5,
|
|
-0.05em 0.05em 0 $color5;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// TODO: test and modify css rules here with video recipes (put size in em or rem)
|
|
#videoRecipes {
|
|
padding: 130px 0 130px;
|
|
|
|
h3 {
|
|
text-align: center;
|
|
padding: 0 15px;
|
|
|
|
&:before {
|
|
background-image: url('~@/images/recette/deco_title.png');
|
|
display: inline-block;
|
|
content: "";
|
|
width: 39px;
|
|
height: 46px;
|
|
position: relative;
|
|
top: 5px;
|
|
left: -10px;
|
|
}
|
|
|
|
&:after {
|
|
background-image: url('~@/images/recette/deco_title.png');
|
|
display: inline-block;
|
|
content: "";
|
|
width: 39px;
|
|
height: 46px;
|
|
-ms-transform: rotate(180deg);
|
|
-webkit-transform: rotate(180deg);
|
|
transform: rotate(180deg);
|
|
position: relative;
|
|
top: 5px;
|
|
left: 10px;
|
|
}
|
|
}
|
|
|
|
.videoRecipe {
|
|
background: none;
|
|
margin-top: 25px;
|
|
overflow: hidden;
|
|
display: flex;
|
|
justify-content: center;
|
|
|
|
.carousel-cell {
|
|
display: block;
|
|
background: none;
|
|
text-align: center;
|
|
width: 750px;
|
|
height: auto;
|
|
|
|
&.main-video {
|
|
display: block;
|
|
}
|
|
|
|
.fancybox-recipe {
|
|
width: 100%;
|
|
|
|
.wrap-video {
|
|
overflow: hidden;
|
|
background: $color5;
|
|
width: 750px;
|
|
height: 425px;
|
|
position: relative;
|
|
|
|
img {
|
|
min-width: 100%;
|
|
min-height: 100%;
|
|
width: auto;
|
|
height: auto;
|
|
}
|
|
|
|
&::before {
|
|
position: absolute;
|
|
content: "\f04b";
|
|
font-family: "FontAwesome";
|
|
text-shadow: 0px 0px 10px #000000;
|
|
color: $color1;
|
|
opacity: 0.8;
|
|
font-size: 8em;
|
|
top: 50%;
|
|
left: 50%;
|
|
z-index: 1;
|
|
transform: translate(-50%, -70%);
|
|
}
|
|
}
|
|
}
|
|
|
|
.caption {
|
|
color: $color5;
|
|
font-family: "CreamyScriptRegular";
|
|
font-size: 40px;
|
|
}
|
|
|
|
&:before {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
.videoRecipe {
|
|
width: 100%;
|
|
margin-top: 40px;
|
|
display: none;
|
|
@include max-width($tablet) {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
a {
|
|
background: $color8;
|
|
font-size: 15px;
|
|
color: #fff;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 40px;
|
|
line-height: 20px;
|
|
font-family: "Catamaran-Black";
|
|
padding: 0 20px 4px;
|
|
text-transform: uppercase;
|
|
-webkit-border-radius: 20px;
|
|
-moz-border-radius: 20px;
|
|
border-radius: 20px;
|
|
position: relative;
|
|
width: 60%;
|
|
}
|
|
}
|
|
}
|
|
|
|
#btnEnd {
|
|
max-width: $big_screen;
|
|
margin: 2rem auto;
|
|
|
|
.wrap_btn {
|
|
display: flex;
|
|
justify-content: space-around;
|
|
flex-wrap: wrap;
|
|
|
|
.shadow_btn {
|
|
background-image: url('~@/images/recette/shadow_btn.png');
|
|
background-position: center bottom;
|
|
background-repeat: no-repeat;
|
|
padding-bottom: 6rem;
|
|
width: auto;
|
|
}
|
|
.btn_inner {
|
|
background: $color6;
|
|
border-radius: 0.8em;
|
|
display: block;
|
|
width: 80vw;
|
|
height: 18rem;
|
|
padding: 4em 4em;
|
|
max-width: 34rem;
|
|
|
|
h4 {
|
|
font-family: "Veneer";
|
|
font-size: 6em;
|
|
line-height: 1em;
|
|
padding-bottom: 0;
|
|
text-align: right;
|
|
@include max-width($mobile) {
|
|
font-size: 4em;
|
|
}
|
|
}
|
|
|
|
.sub_title {
|
|
font-family: "CreamyScriptRegular";
|
|
font-size: 3.5em;
|
|
line-height: 0.9em;
|
|
padding-top: 0.5em;
|
|
text-align: right;
|
|
}
|
|
|
|
&.health-nutrition {
|
|
background-image: url('~@/images/recette/sante_nutrition.jpg');
|
|
background-size: cover;
|
|
position: relative;
|
|
overflow: hidden;
|
|
|
|
h4, .sub_title {
|
|
color: $color1;
|
|
position: relative;
|
|
text-shadow: 0 0 0.2rem rgba(0,0,0,0.8);
|
|
}
|
|
}
|
|
|
|
&.club-tips {
|
|
background-image: url('~@/images/recette/astuce.jpg');
|
|
background-size: cover;
|
|
position: relative;
|
|
overflow: hidden;
|
|
|
|
h4, .sub_title {
|
|
color: darken($color10, 40);
|
|
position: relative;
|
|
text-shadow: 0 0 0.2rem rgba(255,255,255,0.8);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|