diff --git a/resources/sass/front/pages/health-nutrition/_health_nutrition.scss b/resources/sass/front/pages/health-nutrition/_health_nutrition.scss new file mode 100644 index 00000000..9a67c3b1 --- /dev/null +++ b/resources/sass/front/pages/health-nutrition/_health_nutrition.scss @@ -0,0 +1,123 @@ +.health-nutrition { + & .content { + max-width: 1200px; + margin: 0 auto; + + &>h1 { + margin: 20px; + color: #4e3238; + font-family: "Veneer"; + font-size: 4.2em; + text-decoration: none; + text-align: center; + } + + &>p { + color: black; + width: 60%; + font-size: 1.5em; + margin: 0 auto; + font-family: 'Catamaran-Regular'; + text-align: center; + } + + &>div { + position: relative; + display: grid; + grid-template-columns: 50% 50%; + margin-bottom: 10px; + + &>a { + position: relative; + margin: 10px 10px; + overflow: hidden; + border-radius: 5px; + + &>img { + object-fit: cover; + width: 100%; + height: auto; + filter: brightness(0.6); + transition: all 1s; + } + + &>span { + position: absolute; + top: 50%; + left: 50%; + transform: translateX(-50%) translateY(-50%); + width: 80%; + font-family: 'Veneer'; + font-size: 4em; + color: white; + text-align: center; + } + + &:hover { + &>img { + transform: scale(1.1); + filter: brightness(0.5); + } + } + } + } + } +} + +.nutrition-nav { + position: absolute; + left: 0; + right: 0; + top: -100px; + max-width: 1200px; + width: 100%; + margin-left: auto; + margin-right: auto; + + &>ul { + display: flex; + justify-content: center; + flex-direction: row; + z-index: 20; + list-style: none; + margin-left: 0.5%; + + &>li { + background-color: white; + z-index: 21; + width: 33%; + height: 70px; + box-sizing: border-box; + border-bottom: 5px solid transparent; + border-right: 1px solid #e5d5c7; + + &>a { + display: flex; + align-items: center; + justify-content: center; + text-align: center; + font-family: 'Catamaran-Bold'; + color: #4e3238; + font-size: 1.4em; + font-weight: 700; + text-transform: uppercase; + padding: 10px; + width: 100%; + height: 65px; + margin-top: 5px; + } + + &:hover { + border-bottom: 5px solid #abccb7; + } + + &:nth-last-child(1) { + border-right: 0; + } + } + } + + & .active { + border-bottom: 5px solid #abccb7 !important; + } +} diff --git a/resources/sass/front/pages/health-nutrition/_nutrition.scss b/resources/sass/front/pages/health-nutrition/_nutrition.scss new file mode 100644 index 00000000..0d973dd2 --- /dev/null +++ b/resources/sass/front/pages/health-nutrition/_nutrition.scss @@ -0,0 +1,398 @@ +.nutrition { + position: relative; + justify-content: center; + + & .title { + color: #4e3238; + font-size: 40px; + font-family: "CreamyScriptRegular"; + line-height: 30px; + padding: 0 0 40px; + } + + & .content-nutrition { + position: relative; + color: #4e3238; + max-width: 1200px; + margin: 0 auto; + + &>h1 { + font-size: 6em; + font-family: 'Veneer'; + padding-bottom: 47px; + text-align: center; + text-decoration: underline; + } + + &>div { + display: flex; + + & .bloc-left { + width: 40%; + margin-right: 60px; + + &>img { + width: 100%; + height: auto; + } + } + + & .bloc-right { + width: 60%; + + .tabs { + overflow: hidden; + margin: 20px 0; + } + + .tab { + width: 100%; + overflow: hidden; + margin-bottom: 10px; + + &-label { + position: relative; + display: flex; + justify-content: space-between; + padding: 20px; + background-color: white; + color: #4e3238; + font-size: 4em; + font-family: "CreamyScriptRegular"; + cursor: pointer; + transition: all 0.35s; + + &:hover { + background-color: #abccb7; + color: white; + } + &::after { + position: absolute; + top: 45%; + right: 10px; + font-family: 'icomoon'; + content: "\e91b"; + transform: rotate(-90deg); + font-size: 0.3em; + text-align: center; + transition: transform 0.35s + } + } + &-content { + max-height: 0; + color: white; + background-color: #abccb7; + transition: all .35s; + font-size: 15px; + padding: 0; + } + input { + position: absolute; + opacity: 0; + z-index: -1; + } + input:checked { + + .tab-label { + background-color: #abccb7; + color: white; + &::after { + transform: rotate(0deg); + color: white; + } + } + ~ .tab-content { + max-height: none; + padding: 20px 40px 40px; + } + } + } + + & .bloc-text { + display: flex; + flex-direction: row; + + & .img-bloc { + flex-basis: 20%; + } + + &>div { + flex-basis: 80%; + + &>p { + font-size: 1.6em; + } + + &>ul { + list-style: none; + &>li { + @extend p; + font-size: 1.6em !important; + + &>a { + text-decoration: underline; + font-weight: bold; + color: #0f437e; + } + } + } + } + } + } + } + } + + & .content-menus { + position: relative; + background-color: #b4d1be; + + & .content { + max-width: 1200px; + margin: 75px auto; + padding: 60px 0; + + &>h3 { + color: white; + font-size: 5em; + font-family: 'Veneer'; + padding-bottom: 45px; + text-align: center; + } + + & .bloc-menus { + display: flex; + flex-direction: row; + + &>a { + display: flex; + flex-direction: column; + background-color: white; + width: 33%; + margin: 0 10px; + height: 100%; + text-align: center; + align-items: center; + + &>img { + width: 100%; + height: auto; + } + + &>h4 { + font-size: 1.6em; + font-family: 'Catamaran-Bold'; + line-height: 20px; + padding: 20px 10px; + text-transform: uppercase; + height: 85px; + color: #4e3238; + } + + & .btn-bloc { + border: 2px solid #999595; + color: #999595; + display: inline-block; + font-family: 'Catamaran-Black'; + text-transform: uppercase; + padding: 5px 20px 5px; + margin: 0 10px 20px; + font-size: 15px; + border-radius: 50px; + width: fit-content; + } + } + } + } + } + + & .content-sport { + position: relative; + margin-bottom: 50px; + + & .content { + max-width: 1148px; + margin: 0 auto; + + & .bloc-head { + display: flex; + flex-direction: row; + + & .text-head { + width: 60%; + + &>h5 { + color: #4e3238; + font-family: 'Veneer'; + font-size: 40px; + margin-bottom: 15px; + text-align: left; + } + + &>p { + font-size: 1.4em; + } + } + + & .img-head { + text-align: center; + width: 40%; + + &>img { + margin: 0 20px; + } + } + } + + &>h6 { + font-family: 'Veneer'; + padding: 50px 0; + text-align: center; + font-size: 5.5em; + color: #4e3238; + } + + & .sport-fields { + display: flex; + flex-direction: row; + + & .column { + display: flex; + flex-direction: column; + flex-wrap: wrap; + flex-basis: 50%; + + & .row { + display: flex; + flex-direction: row; + + & .img-cell { + position: relative; + margin: 5px; + border-radius: 5px; + overflow: hidden; + flex-basis: 100%; + + &>img { + width: 100%; + height: 100%; + min-height: 282px; + max-height: 564px; + } + + &-text-right { + right: -5px; + } + + &-text-left { + left: -10px; + + &>p { + padding-left: 35px; + } + } + + &-text { + position: absolute; + bottom: 10%; + transform: rotate(-5deg); + + &>p { + font-family: 'Veneer'; + font-size: 50px; + color: white; + margin-bottom: 15px; + } + + &>div { + font-family: 'CreamyScriptRegular'; + color: white; + padding: 10px 35px; + font-size: 40px; + } + } + } + + & .cell { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + margin: 5px; + border-radius: 5px; + flex-basis: 50%; + height: 280px; + background-color: white; + + &>p { + font-size: 50px; + color: #4e3238; + font-family: 'Veneer'; + text-transform: uppercase; + margin-top: 38px; + } + + &>span { + font-size: 40px; + color: #4e3238; + font-family: 'CreamyScriptRegular'; + } + } + + & .icon { + font-family: 'icomoon'; + font-size: 55px; + font-style: normal; + } + + & .icon-training { + color: #ea7c2c; + + &:before { + content: "\e92d"; + } + } + + & .icon-shopping { + color: #ffbd18; + + &:before { + content: "\e92a"; + } + } + + & .icon-stairs { + color: #ffbd18; + + &:before { + content: "\e92b"; + } + } + + & .icon-smile { + color: #d93a4c; + + &:before { + content: "\e92e"; + } + } + + & .icon-cleaning { + color: #ffbd18; + + &:before { + content: "\e92c"; + } + } + + & .icon-jumping { + color: #d93a4c; + + &:before { + content: "\e92f"; + } + } + } + } + } + } + } +} diff --git a/resources/sass/front/pages/health-nutrition/_nutritional_values.scss b/resources/sass/front/pages/health-nutrition/_nutritional_values.scss new file mode 100644 index 00000000..75492e7e --- /dev/null +++ b/resources/sass/front/pages/health-nutrition/_nutritional_values.scss @@ -0,0 +1,341 @@ +.nutrional-values-head { + position: relative; + + & .content { + max-width: 1200px; + margin: 0 auto; + + &>h1 { + color: #4e3238; + font-size: 5.6em; + font-family: 'Veneer'; + padding-bottom: 47px; + text-align: center; + text-decoration: underline; + padding-top: 30px; + } + + &>h2 { + font-size: 4.2em; + font-family: 'Veneer'; + color: #4e3238; + text-align: center; + } + + & .item { + display: flex; + padding-top: 30px; + + &>figure { + width: 40%; + height: auto; + text-align: center; + + &>picture { + &>img { + margin: 0 50px 45px 0; + max-width: 100%; + } + } + } + + &>div { + width: 60%; + + &>h3 { + font-size: 4.2em; + font-family: 'Veneer'; + color: #4e3238; + padding-bottom: 30px; + } + + &>ul { + list-style: none; + + &>li { + position: relative; + color: #4e3238; + margin-bottom: 20px; + padding-left: 20px; + font-size: 1.5em; + overflow: hidden; + + &:before { + position: absolute; + top: 0; + left: 0; + color: #abccb7; + display: block; + float: left; + content: "\e91c"; + font-family: "icomoon"; + } + } + } + + &>h4 { + color: #4e3238; + font-family: 'CreamyScriptRegular'; + line-height: 86%; + margin-bottom: 18px; + font-size: 28px; + } + + &>p { + padding-bottom: 20px; + } + } + } + } +} + +.nutritional-values { + background-color: #abccb7; + + & .content { + display: flex; + max-width: 1200px; + margin: 0 auto; + + & .left { + position: relative; + width: 50%; + color: #4e3238; + + &>div { + position:absolute; + padding: 30px; + top: 55px; + background-color: white; + margin-bottom:55px; + height:auto; + width:100%; + } + + & .triangle { + position: absolute; + top: 0; + transform: scale(1.5); + color: white; + background-color: transparent; + padding: 0; + right: 2%; + font-size: 4em; + } + + & .energy { + display: none; + } + + & .fat { + display: none; + } + + & .fatty-acids { + display: none; + } + + & .carbohydrates { + display: none; + } + + & .dietary-fiber { + display: none; + } + + & .protein { + display: none; + } + + & .salt { + display: none; + } + } + + & .right { + width: 50%; + + &>h5 { + font-family: 'CreamyScriptRegular'; + color: white; + font-size: 3.5em; + margin-bottom: 20px; + } + + &>p { + color: #749981; + font-size: 1.5em; + margin: 20px 0; + } + + &>table { + color: white; + width: 100%; + + &>thead { + &>tr { + &>th { + font-family: 'Catamaran-Regular'; + text-align: center; + color: white; + font-weight: bold; + font-size: 1.5em; + padding: 10px 15px; + } + } + } + + &>tbody { + + &>tr { + position: relative; + + &:nth-child(odd) { + background-color: #b9d6c4; + } + + &:hover { + background-color: white; + color: black; + cursor: pointer; + } + + &>td { + position: relative; + font-family: 'Catamaran-Regular'; + font-size: 1.5em; + padding: 10px 15px; + text-align: center; + + &:first-child { + font-weight: bold; + text-align: left; + } + + & .tooltip { + visibility: hidden; + width: 550px; + background-color: white; + color: #4e3238; + text-align: left; + border-radius: 2px; + padding: 30px; + + /* Position the tooltip */ + position: absolute; + top: 0; + right: 120%; + z-index: 1; + + &>h3 { + font-family: 'Veneer'; + font-size: 3em; + } + + &>p { + position: absolute; + left: 99%; + top: 1px; + font-size: 35px; + color: white; + transform: scaleY(1.5); + } + + &>div { + font-size: 13px; + + &>p { + font-size: 1em !important; + padding-bottom: 10px; + + &:first-child { + font-weight: bold; + padding-top: 10px; + } + } + + &>ul { + list-style: none; + + &>li { + position: relative; + font-family: "Catamaran-Regular"; + margin-left: 20px; + margin-bottom: 10px; + + &:before { + content: "• "; + color: #abccb7; + font-size: 2.9em; + left: -17px; + line-height: 1em; + position: absolute; + top: -10px; + } + } + } + } + } + } + + &:hover { + &>td .tooltip { + visibility: visible; + } + } + + &:hover[data-hover="carbohydrates"] { + &>td .tooltip { + top: -73px; + } + + &>td .tooltip>p { + top: 26%; + } + } + + &:hover[data-hover="carbohydrates-sugar"] { + &>td .tooltip { + top: -118px; + } + + &>td .tooltip>p { + top: 42%; + } + } + + &:hover[data-hover="dietary-fiber"] { + &>td .tooltip { + top: -17px; + } + + &>td .tooltip>p { + top: 15%; + } + } + + &:hover[data-hover="protein"] { + &>td .tooltip { + top: -94px; + } + + &>td .tooltip>p { + top: 54%; + } + } + + &:hover[data-hover="salt"] { + &>td .tooltip { + top: -211px; + } + + &>td .tooltip>p { + top: 84%; + } + } + } + } + } + } + } +} diff --git a/resources/sass/front/pages/health-nutrition/_pleasure_balance.scss b/resources/sass/front/pages/health-nutrition/_pleasure_balance.scss new file mode 100644 index 00000000..36256dfe --- /dev/null +++ b/resources/sass/front/pages/health-nutrition/_pleasure_balance.scss @@ -0,0 +1,103 @@ +.pleasure-balance { + position: relative; + + & .content { + max-width: 1200px; + margin: 0 auto; + + &>h1 { + color: #4e3238; + font-size: 5.6em; + font-family: 'Veneer'; + padding-bottom: 47px; + text-align: center; + text-decoration: underline; + padding-top: 30px; + } + + &>h2 { + color: #4e3238; + font-size: 34px; + font-family: "CreamyScriptRegular"; + line-height: 32px; + text-align: center; + padding-bottom: 30px; + } + + & .items { + width: 955px; + margin: 0 auto 50px auto; + + & .item { + display: inline-block; + padding-top: 30px; + border-bottom: 1px solid #dfd2c7; + + &:nth-last-child(1) { + border-bottom: 0; + } + + &>figure { + width: 372px; + height: auto; + text-align: center; + + &>picture { + &>img { + margin: 0 50px 45px 0; + max-width: 100%; + float: left; + } + } + } + + &>h3 { + font-size: 4.2em; + font-family: 'Veneer'; + color: #4e3238; + padding-bottom: 30px; + } + + &>ul { + list-style: none; + + &>li { + position: relative; + color: #4e3238; + margin-bottom: 20px; + padding-left: 20px; + font-size: 1.5em; + overflow: hidden; + + &:before { + position: absolute; + top: 0; + left: 0; + color: #ffb400; + display: block; + float: left; + content: "\e91c"; + font-family: "icomoon"; + } + } + } + + &>h4 { + color: #4e3238; + font-family: 'CreamyScriptRegular'; + line-height: 86%; + margin-bottom: 18px; + font-size: 28px; + } + + &>p { + &>a { + font-weight: bold; + color: #4e3238; + text-decoration: underline; + } + } + } + } + } +}