ldc-bogt/resources/sass/front/pages/_sub-page.scss
Jérémy Munsch 8bff09b18e
Remove unused assets
Moved all images assets from used folder
2022-06-11 12:31:48 +02:00

561 lines
15 KiB
SCSS
Vendored

.sub-page {
&.blue {
& header {
background: url('~@/images/egg/blue_header.png') no-repeat center / cover;
}
& .bio {
display: none !important;
}
}
&.green {
& header {
background: url('~@/images/egg/green_header.png') no-repeat center / cover;
}
& .lr {
display: none !important;
}
}
&.elevage {
& header {
background: url('~@/images/egg/elevage_header.png') no-repeat center / cover;
}
}
&.yellow {
& header {
background: url('~@/images/egg/yellow_header.png') no-repeat center / cover;
}
}
&.emballage {
& header {
background: url('~@/images/egg/emballage_header.png') no-repeat center / cover;
}
}
& header {
& a {
display: flex;
align-items: center;
padding-left: 10px;
height: 50px;
color: white;
font-size: 15px;
font-family: MyriadProBold;
text-transform: uppercase;
text-decoration: none;
color: white;
&:visited {
color: white;
}
& .arrow {
font-size: 25px;
padding-right: 10px;
padding-left: 10px;
}
}
}
}
.labels-and-certifs {
& .menu {
display: flex;
flex-direction: column;
align-items: center;
& .title {
text-align: center;
margin-bottom: 20px;
margin-top: 20px;
color: $blue;
font-family: Arial;
font-weight: bold;
font-size: 18px;
}
& .item {
display: flex;
margin-bottom: 10px;
width: 100%;
justify-content: flex-start;
align-items: center;
position: relative;
text-decoration: none;
& img {
width: 100px;
margin: 0 10px 0 15px;
}
& p {
padding: 35px 20px 35px 20px;
background: url('~@/images/egg/brush_white.png') no-repeat center / 100% 100%;
color: $blue;
font-family: Arial;
font-weight: bold;
font-size: 15px;
line-height: 18px;
width: 60%;
}
.loupe {
width: 40px;
height: auto;
}
& a {
position: absolute;
top: 30px;
right: 10px;
& img {
width: 40px;
height: auto;
}
}
}
}
& .label-rouge, .label-bio, .label-igp, .label-nutriscore, .label-fermiers {
& .logo {
margin: 30px auto 0 auto;
width: 45%;
}
& .title {
margin-top: 20px;
color: $blue;
font-family: Arial;
font-weight: bold;
text-align: center;
font-size: 20px;
line-height: 22px;
}
& .box {
margin: 20px auto 0 auto;
width: 90%;
background-color: white;
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;
padding: 15px;
box-shadow: inset 0px 0px 5px 0px #656565;
& p {
color: #00245a;
line-height: 18px;
margin-bottom: 10px;
font-size: 15px;
&:nth-child(1) {
font-family: Arial;
}
&:nth-child(2) {
font-family: Arial;
font-weight: bold;
font-style: italic;
}
}
}
& .embed {
margin: 20px auto 0 auto;
position: relative;
padding: 56.25% 0 0 0;
width: 80%;
}
}
& .label-fermiers {
& .items {
display: flex;
flex-direction: column;
& .item {
display: flex;
margin-bottom: 15px;
align-items: center;
& img {
width: 50px;
}
& p {
font-family: Arial;
font-weight: bold;
font-style: unset;
padding-left: 20px;
}
}
}
}
}
.infos-elevages {
& .title {
text-align: center;
margin-bottom: 20px;
margin-top: 20px;
color: $blue;
font-family: Arial;
font-weight: bold;
font-size: 18px;
}
& .items {
& .item {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 35px;
& .top-img{
width: 75%;
border: 5px solid $elevage;
transform: rotate(-4deg);
filter: drop-shadow(2px 2px 5px black);
z-index: 1;
}
& .text {
position: relative;
top: -12px;
display: flex;
justify-content: center;
& p {
padding: 35px 45px 35px 45px;
background: url('~@/images/egg/brush_white.png') no-repeat center / 100% 100%;
color: $blue;
font-family: Arial;
font-weight: bold;
font-size: 15px;
line-height: 18px;
width: 90%;
}
& a {
position: absolute;
top: 70px;
right: 30px;
& img {
width: 40px;
height: auto;
}
}
}
}
}
}
.vs-oeufs {
& .title {
text-align: center;
margin-bottom: 20px;
margin-top: 20px;
color: $blue;
font-family: Arial;
font-weight: bold;
font-size: 18px;
}
& .items {
margin: 20px auto 0 auto;
width: 90%;
background-color: white;
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;
padding: 15px;
box-shadow: inset 0px 0px 5px 0px #656565;
& p {
color: #00245a;
line-height: 18px;
margin-bottom: 10px;
font-size: 13px;
font-family: Arial;
}
& .tables {
& .table {
& tr {
color: $blue;
font-family: Arial;
font-weight: bold;
font-size: 14px;
& th {
padding: 5px;
text-align: left;
color: white;
&:nth-child(2) {
border-top-left-radius: 15px;
background-color: #f4c600;
}
&:last-child {
border-top-right-radius: 15px;
background-color: #25b4b1;
}
}
& td {
padding: 5px;
text-align: left;
&:nth-child(2) {
background-color: #f9e27f;
}
&:last-child {
background-color: #92d9d8;
}
}
&:last-child {
& td {
&:nth-child(2) {
border-bottom-left-radius: 15px;
}
&:last-child {
border-bottom-right-radius: 15px;
}
}
}
}
}
}
}
}
.elevage-liberte {
& .title {
text-align: center;
margin-bottom: 20px;
margin-top: 20px;
color: $blue;
font-family: Arial;
font-weight: bold;
font-size: 18px;
}
& .img {
margin: 0 auto;
width: 90%;
}
& .items {
margin: 0 auto;
width: 90%;
background-color: white;
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;
padding: 15px;
box-shadow: inset 0px 0px 5px 0px #656565;
& p {
color: #00245a;
line-height: 18px;
margin-bottom: 10px;
font-size: 13px;
font-family: Arial;
}
& .tables {
& .table {
& tr {
color: $blue;
font-family: Arial;
font-weight: bold;
font-size: 14px;
& th {
padding: 5px;
text-align: left;
color: white;
&:nth-child(2) {
border-top-left-radius: 15px;
background-color: #f4c600;
}
&:last-child {
border-top-right-radius: 15px;
background-color: #25b4b1;
}
}
& td {
padding: 5px;
text-align: left;
&:nth-child(2) {
background-color: #f9e27f;
}
&:last-child {
background-color: #92d9d8;
}
}
&:last-child {
& td {
&:nth-child(2) {
border-bottom-left-radius: 15px;
}
&:last-child {
border-bottom-right-radius: 15px;
}
}
}
}
}
}
}
}
.portrait-eleveur {
& .green {
color: $elevage;
}
& .top {
width: 90%;
margin: 20px auto 0 auto;
display: flex;
justify-content: center;
align-items:center;
& img {
width: 45%;
height:auto;
border: 5px solid $elevage;
z-index: 1;
}
& .content {
padding: 40px 15px;
background: url('~@/images/egg/brush_white.png') no-repeat center / 100% 100%;
font-family: MyriadProSemiBold;
text-align: center;
font-size: 15px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
& p {
margin-bottom: 10px;
& .name {
font-family: MyriadProBold;
font-size: 18px;
}
}
}
}
& .pagination {
position: relative;
margin: 40px auto 0 auto;
background-color: $elevage;
color: white;
width: 80px;
text-align: center;
border-top-left-radius: 15px;
border-top-right-radius: 15px;
padding-top: 5px;
line-height: 20px;
font-family: MyriadProSemiBold;
& span {
font-size: 25px;
}
& .prev {
display: none;
position: absolute;
left: -60px;
width: 40px;
height: 40px;
background-color: $elevage;
clip-path: polygon(100% 0, 0 50%, 100% 100%);
cursor: pointer;
}
& .next {
position: absolute;
right: -60px;
width: 40px;
height: 40px;
background-color: $elevage;
clip-path: polygon(100% 50%, 0 0, 0 100%);
cursor: pointer;
}
}
& .slider {
& .item {
display: none;
animation-duration: 1s;
&.active{
display: block;
}
& .question {
margin: 0 auto;
width: 80%;
height: auto;
background-color: white;
background-color: #bfbfbf;
color: white;
box-shadow: inset 0px 0px 0px 0px #656565;
text-align: center;
font-family: MyriadProBold;
font-size: 18px;
line-height: 20px;
padding: 5px;
}
& .answer {
margin: 0 auto;
width: 80%;
background-color: white;
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;
padding: 15px;
box-shadow: inset 0px 0px 5px 0px #656565;
text-align: center;
font-family: MyriadProSemiBoldIt;
line-height: 10px;
color: #bfbfbf;
font-size: 35px;
& span {
font-size: 16px;
}
}
}
}
}
.details-alimentation {
& .title {
margin-top: 20px;
color: $blue;
font-family: Arial;
font-weight: bold;
text-align: center;
font-size: 20px;
line-height: 22px;
}
& .box {
margin: 20px auto 0 auto;
width: 90%;
background-color: white;
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;
padding: 15px;
box-shadow: inset 0px 0px 5px 0px #656565;
& img {
&.type {
display: none;
}
&.active {
display: block;
}
}
& .circuit {
width: 50%;
margin: 0 auto;
}
& p {
color: #00245a;
line-height: 18px;
margin-bottom: 10px;
font-size: 15px;
font-family: Arial;
}
}
}
.details-alimentation {
& .box {
margin: 20px auto 0 auto;
width: 90%;
background-color: white;
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;
padding: 15px;
box-shadow: inset 0px 0px 5px 0px #656565;
& .oeuf {
width: 50%;
margin: 0 auto 20px auto;
}
& p {
color: #00245a;
line-height: 18px;
margin-bottom: 10px;
font-size: 15px;
font-family: Arial;
}
}
}