ldc-bogt/resources/sass/front/pages/_index.scss
2022-06-11 12:34:13 +02:00

656 lines
20 KiB
SCSS
Vendored

header {
& .logo {
margin-top: 35px;
margin-bottom: 35px;
width: 100%;
}
}
.container {
.block {
margin: 0 auto;
width: 90%;
background-color: white;
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;
padding-bottom: 15px;
box-shadow: inset 0px 0px 5px 0px #656565;
&.green {
& .header {
background: url("~@/images/egg/green_block.png") center / cover;
}
& .body {
& .lr {
display: none;
}
}
& .footer {
& a {
background: url("~@/images/egg/green_more.png") no-repeat left / cover;
}
}
}
&.blue {
& .header {
background: url("~@/images/egg/blue_block.png") center / cover;
}
& .body {
& .bio {
display: none;
}
}
& .footer {
& a {
background: url("~@/images/egg/blue_more.png") no-repeat left / cover;
}
}
}
& .header {
min-height: 135px;
text-align: center;
color: white;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
& p {
&:nth-child(1) {
font-size: 15px;
font-family: MyriadProItalic;
}
&:nth-child(2) {
font-size: 20px;
font-family: MyriadProBlack;
}
&:nth-child(3) {
font-size: 20px;
font-family: MyriadProSemiBoldIt;
}
}
& h1 {
font-family: MyriadProBlack;
}
}
& .body {
display: flex;
flex-direction: column;
align-items: center;
background-color: white;
width: 90%;
margin: 0 auto;
& .box_img {
margin-top: 20px;
width: 75%;
}
& .date {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 20px;
& p {
color: $blue;
&:nth-child(1) {
font-family: MyriadProSemiBoldIt;
}
&:nth-child(2) {
font-family: MyriadProBold;
background-color: $yellow;
padding: 5px 15px 5px 15px;
border-radius: 20px;
margin-top: 10px;
font-size: 20px;
}
}
}
& .message {
margin-top: 20px;
text-align: center;
width: 95%;
line-height: 17px;
font-family: MyriadProSemiBoldIt;
& span {
font-family: MyriadProBold;
}
&.red {
color: $red;
}
&.blue {
color: $blue;
}
}
& .labels {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
margin-top: 30px;
& img {
display: block;
height: auto;
width: 63px;
}
}
&.legals {
margin-top: 10px;
margin-bottom: 10px;
color: $blue;
font-family: "MyriadProBoldIt", sans-serif;
& h2 {
text-transform: uppercase;
font-family: "MyriadProBlack", sans-serif;
&:not(:first-child) {
padding-top: 30px;
}
}
}
}
& .footer {
width: 90%;
margin: 20px auto 0 auto;
& a {
display: inline-block;
padding-left: 15px;
text-decoration: none;
color: white;
width: 200px;
font-family: MyriadProBold;
font-size: 22px;
}
& p {
color: $grey;
font-family: MyriadProSemiBoldIt;
font-size: 15px;
}
}
}
.block-fill {
margin: 0 auto;
width: 90%;
background-color: white;
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;
padding-bottom: 15px;
box-shadow: inset 0px 0px 5px 0px #656565;
& .header {
height: 135px;
text-align: center;
color: white;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background: url("~@/images/egg/blue_block.png") center / cover;
& p {
& span {
font-size: 35px;
}
font-size: 22px;
line-height: 25px;
font-family: MyriadProBlack;
}
}
& .body {
display: flex;
flex-direction: column;
align-items: center;
background-color: white;
width: 90%;
margin: 20px auto 0 auto;
& .message {
margin-top: 20px;
text-align: center;
width: 95%;
line-height: 17px;
font-family: MyriadProSemiBoldIt;
font-size: 18px;
color: $blue;
}
& form {
text-align: center;
& .item {
margin-top: 30px;
& label {
color: $blue;
font-family: MyriadProBoldIt;
& span {
color: white;
background-color: #00245a;
border-radius: 50%;
display: inline-block;
width: 25px;
height: 25px;
line-height: 25px;
}
}
& input {
margin-top: 10px;
background-color: $yellow;
color: white;
border: none;
border-radius: 25px;
text-align: center;
outline: none;
font-family: MyriadProItalic;
font-size: 20px;
&::placeholder {
color: white;
text-align: center;
}
}
}
& input[type="submit"] {
margin-top: 20px;
background-color: $blue;
color: white;
border: none;
border-radius: 25px;
text-align: center;
outline: none;
font-family: MyriadProItalic;
font-size: 20px;
width: 110px;
}
}
}
}
.btn-discover {
display: block;
margin: 10px auto 0 auto;
background-color: $yellow;
width: 75%;
height: 90px;
line-height: 20px;
padding-top: 5px;
clip-path: polygon(0 0, 100% 0, 80% 55%, 20% 55%);
text-align: center;
text-decoration: none;
color: white;
font-family: MyriadProBoldIt;
&:visited {
color: white;
}
}
/*
Elevage
*/
.elevage {
position: relative;
width: 85%;
margin: 50px auto;
border-left: 3px dotted $elevage;
&:before {
content: "";
background: url("~@/images/egg/picto_elevage.png") no-repeat center/cover;
width: 35px;
height: 50px;
position: absolute;
left: -19px;
top: 0;
}
& .title {
font-family: MyriadProBlack;
color: #00245a;
text-transform: uppercase;
padding-left: 30px;
padding-top: 10px;
font-size: 20px;
}
& .box {
background-color: white;
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;
padding: 15px;
box-shadow: inset 0px 0px 5px 0px #656565;
width: 90%;
margin-left: 30px;
& .date {
text-align: center;
& p {
&:nth-child(1) {
font-family: MyriadProItalic;
color: $grey;
}
&:nth-child(2) {
color: white;
background-color: #86ca3f;
font-family: MyriadProBold;
border-radius: 25px;
width: fit-content;
padding-left: 15px;
padding-right: 15px;
margin: 0 auto;
}
}
}
& .title {
display: flex;
flex-shrink: 0;
justify-content: space-around;
margin-top: 15px;
padding: unset;
& p {
color: black;
font-family: MyriadProBold;
text-transform: none;
font-size: 15px;
}
& a {
width: 45px;
flex-shrink: 0;
& img {
width: 45px;
height: auto;
}
}
}
& .details {
margin-top: 20px;
& .by {
color: $grey;
font-family: MyriadProItalic;
font-size: 12px;
& .green {
color: $elevage;
font-family: MyriadProBold;
text-transform: uppercase;
}
}
& img {
margin-top: 5px;
}
& .bottom {
margin-top: 10px;
&.one {
& a {
display: inline-block;
padding-left: 15px;
text-decoration: none;
color: white;
width: 200px;
font-family: MyriadProBold;
font-size: 22px;
background: url("~@/images/egg/elevage_more.png") no-repeat left / cover;
}
& p {
color: $grey;
font-family: MyriadProSemiBoldIt;
font-size: 15px;
}
}
&.multiple {
display: flex;
flex-direction: column;
& a,
& div {
color: white;
background-color: #86ca3f;
font-family: MyriadProSemiBoldIt;
border-radius: 25px;
width: 80%;
padding-left: 15px;
padding-right: 15px;
margin: 0 auto 10px auto;
text-decoration: none;
text-align: center;
font-size: 13px;
& .light {
font-family: MyriadProItalic;
}
&.disabled {
background-color: #777;
}
}
}
}
}
}
}
/*
Alimentation
*/
.alimentation {
position: relative;
width: 85%;
margin: 50px auto;
border-left: 3px dotted $yellow;
&:before {
content: "";
background: url("~@/images/egg/picto_alimentation.png") no-repeat center/cover;
width: 35px;
height: 50px;
position: absolute;
left: -19px;
top: 0;
}
& .title {
font-family: MyriadProBlack;
color: #00245a;
text-transform: uppercase;
padding-left: 30px;
padding-top: 10px;
font-size: 20px;
}
& .box {
background-color: white;
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;
padding: 15px;
box-shadow: inset 0px 0px 5px 0px #656565;
width: 90%;
margin-left: 30px;
& .title {
display: flex;
flex-shrink: 0;
justify-content: space-around;
padding: unset;
& p {
color: black;
font-family: MyriadProBold;
text-transform: none;
font-size: 15px;
}
& a {
width: 45px;
flex-shrink: 0;
& img {
width: 45px;
height: auto;
}
}
}
& .infos {
margin-top: 10px;
font-family: MyriadProItalic;
color: $grey;
& .yellow {
text-transform: uppercase;
color: $yellow;
font-family: MyriadProBold;
}
}
& .alifel {
margin-top: 20px;
margin-bottom: 20px;
}
& .bottom {
margin-top: 10px;
& a {
display: inline-block;
padding-left: 15px;
text-decoration: none;
color: white;
width: 200px;
font-family: MyriadProBold;
font-size: 22px;
background: url("~@/images/egg/yellow_more.png") no-repeat left / cover;
}
& p {
color: $grey;
font-family: MyriadProSemiBoldIt;
font-size: 15px;
}
}
}
}
/*
Emballage
*/
.emballage {
position: relative;
width: 85%;
margin: 50px auto;
border-left: 3px dotted $emballage;
&:before {
content: "";
background: url("~@/images/egg/picto_emballage.png") no-repeat center/cover;
width: 35px;
height: 50px;
position: absolute;
left: -19px;
top: 0;
}
& .title {
font-family: MyriadProBlack;
color: #00245a;
text-transform: uppercase;
padding-left: 30px;
padding-top: 10px;
font-size: 20px;
}
& .box {
background-color: white;
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;
padding: 15px;
box-shadow: inset 0px 0px 5px 0px #656565;
width: 90%;
margin-left: 30px;
& .date {
color: $grey;
font-family: MyriadProItalic;
}
& .lieu {
color: $grey;
font-family: MyriadProItalic;
font-size: 12px;
& .title {
color: $emballage;
font-family: MyriadProBold;
padding: 0;
font-size: 12px;
}
}
& .description {
margin-top: 20px;
color: black;
font-family: MyriadProItalic;
}
& img {
width: 100%;
margin: 0 auto 0 auto;
}
& .bottom {
margin-top: 20px;
& a {
display: inline-block;
padding-left: 15px;
text-decoration: none;
color: white;
width: 200px;
font-family: MyriadProBold;
font-size: 22px;
background: url("~@/images/egg/emballage_more.png") no-repeat left / cover;
}
& p {
color: $grey;
font-family: MyriadProSemiBoldIt;
font-size: 15px;
}
}
}
}
/*
Magasin
*/
.magasin {
position: relative;
width: 85%;
margin: 50px auto;
border-left: 3px dotted $magasin;
&:before {
content: "";
background: url("~@/images/egg/picto_magasin.png") no-repeat center/cover;
width: 35px;
height: 50px;
position: absolute;
left: -19px;
top: 0;
}
& .title {
font-family: MyriadProBlack;
color: #00245a;
text-transform: uppercase;
padding-left: 30px;
padding-top: 10px;
font-size: 20px;
}
& .box {
background-color: white;
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;
padding: 15px;
box-shadow: inset 0px 0px 5px 0px #656565;
width: 90%;
margin-left: 30px;
& .title {
font-family: MyriadProBold;
color: $magasin;
font-size: 20px;
text-transform: unset;
padding: 0;
}
& .description {
margin-top: 20px;
color: black;
font-family: MyriadProSemiBold;
text-align: center;
font-size: 17px;
}
& img {
width: 70%;
margin: 20px auto 0 auto;
}
& .bottom {
margin-top: 20px;
& a {
display: inline-block;
padding: 5px 0 5px 15px;
text-decoration: none;
color: white;
width: 200px;
font-family: MyriadProBold;
font-size: 22px;
background: url("~@/images/egg/magasin_more.png") no-repeat left / cover;
line-height: 18px;
}
}
}
}
}