Addes style and offter amt
This commit is contained in:
parent
3baf411e36
commit
07eca9736b
|
|
@ -1,377 +1,227 @@
|
||||||
// .CTemplate4MasterDiv {
|
// Main container
|
||||||
// background-image: linear-gradient(to right, #252a69, #016ab6);
|
.catalogue-template-4 {
|
||||||
// height: 100vh;
|
background-image: linear-gradient(to right, #252a69, #016ab6);
|
||||||
// overflow: auto;
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Page structure
|
||||||
|
// .catalogue-page {
|
||||||
|
// // position: relative;
|
||||||
|
// // min-height: 297mm; // A4 height
|
||||||
|
// // width: 190mm; // A4 width
|
||||||
|
// // page-break-after: always;
|
||||||
|
// // display: flex;
|
||||||
|
// // flex-direction: column;
|
||||||
|
|
||||||
|
// // &:last-child {
|
||||||
|
// // page-break-after: auto;
|
||||||
|
// // }
|
||||||
// }
|
// }
|
||||||
|
|
||||||
// .CTemplate4Header {
|
// Header Section
|
||||||
// width: inherit;
|
.page-header {
|
||||||
// padding: 0rem 0rem 0rem 1rem;
|
position: relative;
|
||||||
// display: flex;
|
width: 100%;
|
||||||
// flex-direction: row;
|
// width: 85%;
|
||||||
// align-items: center;
|
height: 150px;
|
||||||
// }
|
background-image: linear-gradient(to right, #252a69, #016ab6);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
padding: 1rem;
|
||||||
|
|
||||||
// .CTemplate4SubHeader {
|
.header-image {
|
||||||
// display: flex;
|
width: 100%;
|
||||||
// flex-direction: row;
|
height: auto;
|
||||||
// align-items: center;
|
max-height: 120px;
|
||||||
// gap: '0.5rem'
|
object-fit: contain;
|
||||||
// }
|
}
|
||||||
|
|
||||||
// .CTemplate4Line {
|
.header-offer-text {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 10px;
|
||||||
|
color: #fce400;
|
||||||
|
font-size: 20px;
|
||||||
|
font-weight: 600;
|
||||||
|
text-align: center;
|
||||||
// width: 100%;
|
// width: 100%;
|
||||||
// background-color: #fce400;
|
|
||||||
// }
|
|
||||||
|
|
||||||
// .CTemplate4HeaderText1 {
|
.offer-percentage {
|
||||||
// color: #fce400;
|
background-color: #fce400;
|
||||||
// display: flex;
|
color: #184d90;
|
||||||
// flex-direction: row;
|
width: 60px;
|
||||||
// gap: 0.2rem;
|
height: 25px;
|
||||||
// }
|
padding: 0.3rem 0.8rem;
|
||||||
|
border-radius: 5px;
|
||||||
|
margin: 0 0.3rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// .CTemplate4HeaderText1sub {
|
// Content Section
|
||||||
// color: #fce400;
|
.content-section {
|
||||||
// width: 27%;
|
flex: 1;
|
||||||
// font-size: 20px;
|
padding: 1rem;
|
||||||
// display: flex;
|
background-image: linear-gradient(to right, #252a69, #016ab6);
|
||||||
// justify-content: center;
|
min-height: calc(297mm - 250px); // Total height minus header and footer
|
||||||
// text-align: center;
|
}
|
||||||
// }
|
|
||||||
|
|
||||||
// .CTemplate4HeaderText2 {
|
// Product Grid - 5x5
|
||||||
// color: #fce400;
|
.product-grid {
|
||||||
// margin: 0rem 0.5rem;
|
display: grid;
|
||||||
// font-size: 25px;
|
grid-template-columns: repeat(5, 1fr);
|
||||||
// font-weight: 600;
|
grid-template-rows: repeat(5, 1fr);
|
||||||
// }
|
gap: 0.5rem;
|
||||||
|
justify-items: center;
|
||||||
|
align-items: start;
|
||||||
|
// width: 84%;
|
||||||
|
}
|
||||||
|
|
||||||
// .CTemplate4persent {
|
// Product Card
|
||||||
// padding: 0.5rem;
|
.product-card {
|
||||||
// margin: 0rem 0.5rem;
|
position: relative;
|
||||||
// background-color: #fce400;
|
display: flex;
|
||||||
// border-radius: 10px;
|
flex-direction: column;
|
||||||
// color: #184d90;
|
align-items: center;
|
||||||
// }
|
width: 100px;
|
||||||
|
height: 140px;
|
||||||
|
background-color: #fff;
|
||||||
|
border-radius: 8px;
|
||||||
|
overflow: visible;
|
||||||
|
|
||||||
// .CTemplate4CardMasterDiv {
|
.product-image {
|
||||||
// width: 8rem;
|
width: 50px;
|
||||||
// height: 165px;
|
height: 40px;
|
||||||
// margin: 1rem 0rem;
|
object-fit: cover;
|
||||||
// border-radius: 10px;
|
margin-top: 10px;
|
||||||
// gap: '0.2rem';
|
}
|
||||||
// position: relative;
|
|
||||||
// }
|
|
||||||
|
|
||||||
// .CTemplate4CardContent {
|
.product-name {
|
||||||
// background-color: #fff;
|
font-size: 12px;
|
||||||
// color: #000;
|
font-weight: 600;
|
||||||
// font-size: 14px;
|
text-align: center;
|
||||||
// display: flex;
|
padding: 0 5px;
|
||||||
// justify-content: center;
|
margin-top: 5px;
|
||||||
// align-items: center;
|
color: #000;
|
||||||
// flex-direction: column;
|
line-height: 1.2;
|
||||||
// margin-bottom: 0.2rem;
|
max-height: 30px;
|
||||||
// border-radius: 10px;
|
overflow: hidden;
|
||||||
// padding: 5px;
|
}
|
||||||
// }
|
|
||||||
|
|
||||||
// .CTemplate4Pricing {
|
.product-price {
|
||||||
// display: flex;
|
position: absolute;
|
||||||
// flex-direction: column;
|
bottom: 0;
|
||||||
// width: 30%;
|
margin-right: -5px;
|
||||||
// background-color: #fce400;
|
width: 100%;
|
||||||
// border-radius: 0px 18px 0px 10px;
|
height: 2rem;
|
||||||
// padding: 5px;
|
background-color: #fce400;
|
||||||
// font-size: 14px;
|
display: flex;
|
||||||
// font-weight: 700;
|
align-items: center;
|
||||||
// text-align: center;
|
justify-content: center;
|
||||||
// padding-right: 6rem;
|
font-size: 12px;
|
||||||
// }
|
font-weight: 500;
|
||||||
|
border-radius: 0 0 8px 8px;
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
|
||||||
// .CTemplate4Offer {
|
.product-offer {
|
||||||
// background-color: #bf2523;
|
position: absolute;
|
||||||
// position: absolute;
|
top: -7px;
|
||||||
// width: 40px;
|
right: -7px;
|
||||||
// left: 4.5rem;
|
width: 3rem;
|
||||||
// height: 40px;
|
height: 3rem;
|
||||||
// text-align: center;
|
background-color: #bf2523;
|
||||||
// border-radius: 50%;
|
border-radius: 50%;
|
||||||
// padding: 0.6rem;
|
display: flex;
|
||||||
// font-weight: 700;
|
align-items: center;
|
||||||
// color: #fce400;
|
justify-content: center;
|
||||||
// display: flex;
|
text-align: center;
|
||||||
// flex-wrap: wrap;
|
font-size: 10px;
|
||||||
// align-items: center;
|
font-weight: 600;
|
||||||
// justify-content: center;
|
color: #fff;
|
||||||
// bottom: -9px;
|
padding: 3px;
|
||||||
// }
|
line-height: 1.1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// .CTemplate4ProductImage {
|
// Footer Section
|
||||||
// width: 90px;
|
.page-footer {
|
||||||
// height: 90px;
|
width: 100%;
|
||||||
// }
|
height: 100px;
|
||||||
|
background-image: linear-gradient(to right, #252a69, #016ab6);
|
||||||
|
border-top: 1px solid #1292EE;
|
||||||
|
padding: 1rem;
|
||||||
|
|
||||||
// .CTemplate4CardContainer {
|
.footer-content {
|
||||||
// display: flex;
|
display: flex;
|
||||||
// flex-wrap: wrap;
|
flex-direction: column;
|
||||||
// justify-content: center;
|
gap: 0.5rem;
|
||||||
// align-items: center;
|
height: 100%;
|
||||||
// gap: 1rem;
|
}
|
||||||
// }
|
|
||||||
|
|
||||||
// .CTemplate4Fotter {
|
.footer-branch-name {
|
||||||
// display: flex;
|
font-size: 16px;
|
||||||
// flex-direction: row;
|
font-weight: 700;
|
||||||
// justify-content: space-between;
|
color: #fff;
|
||||||
// align-items: center;
|
margin: 0;
|
||||||
// gap:0.5rem;
|
}
|
||||||
// width: 100%;
|
|
||||||
// height: 150px;
|
|
||||||
// background-color: #fff;
|
|
||||||
// }
|
|
||||||
|
|
||||||
// .CTemplate4FotterAddress {
|
.footer-info-container {
|
||||||
// padding: 1rem;
|
display: flex;
|
||||||
// display: flex;
|
flex-direction: column;
|
||||||
// justify-content: center;
|
gap: 0.5rem;
|
||||||
// align-items: center;
|
align-items: flex-end;
|
||||||
// background-image: linear-gradient(to right, #252a69, #016ab6);
|
width: 100%;
|
||||||
// width: 14rem;
|
}
|
||||||
// height: 2.5rem;
|
|
||||||
// border-radius: 0.2rem;
|
|
||||||
// }
|
|
||||||
|
|
||||||
// .CTemplate4Fotterphone {
|
.footer-address,
|
||||||
// background-color: #252a69;
|
.footer-phone {
|
||||||
// width: 12rem;
|
font-size: 9px;
|
||||||
// height: 2rem;
|
background-color: #252a69;
|
||||||
// border-radius: 0.2rem;
|
color: #fff;
|
||||||
// color: #fff;
|
padding: 0.5rem 1rem;
|
||||||
// display: flex;
|
border-radius: 4px;
|
||||||
// align-items: center;
|
text-align: center;
|
||||||
// justify-content: center;
|
}
|
||||||
// gap: 1rem;
|
|
||||||
// }
|
|
||||||
|
|
||||||
// .CTemplate4Fotterinfo
|
.footer-phone {
|
||||||
// {
|
font-weight: 600;
|
||||||
// display: flex;
|
}
|
||||||
// gap: 1rem;
|
}
|
||||||
// flex-direction: column;
|
|
||||||
// padding: 0.5rem;
|
|
||||||
// float: right;
|
|
||||||
// }
|
|
||||||
|
|
||||||
// .CTemplate4MasterDiv .PrintA4Style{
|
// Print Styles
|
||||||
// font-family: 'Inconsolata', monospace;
|
@media print {
|
||||||
// width: 100%;
|
.catalogue-template-4 {
|
||||||
// }
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
// .CTemplate4MasterDiv .page-footer{
|
.catalogue-page {
|
||||||
|
page-break-after: always;
|
||||||
|
|
||||||
// position: fixed;
|
&:last-child {
|
||||||
// bottom: 0;
|
page-break-after: auto;
|
||||||
// background: none !important;
|
}
|
||||||
// }
|
}
|
||||||
|
|
||||||
|
.page-header {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.page-footer {
|
.page-footer {
|
||||||
background-image: linear-gradient(to right, #252a69, #016ab6);
|
|
||||||
}
|
|
||||||
.CTemplate4Footer {
|
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
width: inherit;
|
|
||||||
background: rgb(223, 223, 223); /* for demo */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.CTemplate4MasterDiv {
|
.content-section {
|
||||||
background-image: linear-gradient(to right, #252a69, #016ab6);
|
margin-top: 150px;
|
||||||
// height: 100vh;
|
margin-bottom: 100px;
|
||||||
width: 100%;
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.CTemplate4Header {
|
// Page setup for printing
|
||||||
width: inherit;
|
@page {
|
||||||
padding: 0rem 0rem 0rem 1rem;
|
size: A4;
|
||||||
display: flex;
|
margin: 0;
|
||||||
flex-direction: row;
|
|
||||||
align-items: center;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
.CTemplate4SubHeader {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
align-items: center;
|
|
||||||
gap: '0.5rem';
|
|
||||||
}
|
|
||||||
|
|
||||||
.CTemplate4Line {
|
|
||||||
width: 100%;
|
|
||||||
background-color: #fce400;
|
|
||||||
}
|
|
||||||
|
|
||||||
.CTemplate4HeaderText1 {
|
|
||||||
color: #fce400;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
gap: 0.2rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.CTemplate4HeaderText1sub {
|
|
||||||
color: #fce400;
|
|
||||||
width: 27%;
|
|
||||||
font-size: 20px;
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.CTemplate4HeaderText2 {
|
|
||||||
color: #fce400;
|
|
||||||
margin: 0rem 0.5rem;
|
|
||||||
font-size: 25px;
|
|
||||||
font-weight: 600;
|
|
||||||
position: absolute;
|
|
||||||
top: 65px;
|
|
||||||
width: 100%;
|
|
||||||
margin: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.CTemplate4persent {
|
|
||||||
// padding: 0.5rem;
|
|
||||||
// margin: 0rem 0.5rem;
|
|
||||||
background-color: #fce400;
|
|
||||||
border-radius: 5px;
|
|
||||||
color: #184d90;
|
|
||||||
}
|
|
||||||
|
|
||||||
.CTemplate4CardMasterDiv {
|
|
||||||
width: 6rem;
|
|
||||||
height: 165px;
|
|
||||||
margin: 1rem 0rem;
|
|
||||||
border-radius: 10px;
|
|
||||||
gap: '0.2rem';
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
.CTemplate4CardContent {
|
|
||||||
background-color: #fff;
|
|
||||||
color: #000;
|
|
||||||
font-size: 14px;
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
flex-direction: column;
|
|
||||||
margin-bottom: 0.2rem;
|
|
||||||
border-radius: 10px;
|
|
||||||
padding: 5px;
|
|
||||||
// margin-bottom: 2rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.CTemplate4Pricing {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
width: 100%;
|
|
||||||
height: 35px;
|
|
||||||
background-color: #fce400;
|
|
||||||
border-radius: 0px 18px 0px 10px;
|
|
||||||
font-size: 12px;
|
|
||||||
padding: 5px;
|
|
||||||
font-weight: 700;
|
|
||||||
text-align: center;
|
|
||||||
padding-right: 6rem;
|
|
||||||
font-family: 'Montserrat', sans-serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
.CTemplate4Offer {
|
|
||||||
background-color: #bf2523;
|
|
||||||
position: absolute;
|
|
||||||
width: 60px;
|
|
||||||
left: 3rem;
|
|
||||||
height: 60px;
|
|
||||||
text-align: center;
|
|
||||||
border-radius: 50%;
|
|
||||||
padding: 0.6rem;
|
|
||||||
font-weight: 700;
|
|
||||||
color: #fce400;
|
|
||||||
display: flex;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
bottom: -44px;
|
|
||||||
font-family: 'Montserrat', sans-serif;
|
|
||||||
font-size: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.CTemplate4ProductImage {
|
|
||||||
width: 90px;
|
|
||||||
height: 90px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.CTemplate4CardContainer {
|
|
||||||
display: flex;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
gap: 1rem;
|
|
||||||
margin-bottom: 4rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.CTemplate4Fotter {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
justify-content: space-between;
|
|
||||||
align-items: center;
|
|
||||||
gap: 0.5rem;
|
|
||||||
width: 100%;
|
|
||||||
height: 120px;
|
|
||||||
background-color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
.CTemplate4FotterAddress {
|
|
||||||
padding: 1rem;
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
background-image: linear-gradient(to right, #252a69, #016ab6);
|
|
||||||
width: 14rem;
|
|
||||||
height: 2.5rem;
|
|
||||||
border-radius: 0.2rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.CTemplate4Fotterphone {
|
|
||||||
background-color: #252a69;
|
|
||||||
width: 12rem;
|
|
||||||
height: 2rem;
|
|
||||||
border-radius: 0.2rem;
|
|
||||||
color: #fff;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
gap: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.CTemplate4Fotterinfo {
|
|
||||||
font-family: 'Montserrat', sans-serif;
|
|
||||||
display: flex;
|
|
||||||
gap: 1rem;
|
|
||||||
flex-direction: column;
|
|
||||||
padding: 0.5rem;
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
.CTemplate4MasterDiv .PrintA4Style {
|
|
||||||
font-family: 'Inconsolata', monospace;
|
|
||||||
width: 100%;
|
|
||||||
|
|
||||||
background-color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container-main {
|
|
||||||
display: flex !important;
|
|
||||||
width: 100% !important;
|
|
||||||
flex-wrap: wrap !important;
|
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue