mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 23:00:34 +00:00
feat: craft the paper template style
This commit is contained in:
@@ -50,7 +50,11 @@ function InvoiceCustomizeFooterActionsRoot({ closeDrawer }) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Group spacing={10} className={styles.footerActions}>
|
<Group spacing={10} className={styles.footerActions}>
|
||||||
<Button onClick={handleSubmitBtnClick} intent={Intent.PRIMARY}>
|
<Button
|
||||||
|
onClick={handleSubmitBtnClick}
|
||||||
|
intent={Intent.PRIMARY}
|
||||||
|
style={{ minWidth: 75 }}
|
||||||
|
>
|
||||||
Save
|
Save
|
||||||
</Button>
|
</Button>
|
||||||
<Button onClick={handleCancelBtnClick}>Cancel</Button>
|
<Button onClick={handleCancelBtnClick}>Cancel</Button>
|
||||||
|
|||||||
@@ -16,4 +16,5 @@
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
color: #666;
|
||||||
}
|
}
|
||||||
@@ -2,9 +2,10 @@
|
|||||||
.root {
|
.root {
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
color: #000;
|
color: #111;
|
||||||
box-shadow: inset 0 4px 0px 0 #002762, 0 10px 15px rgba(0, 0, 0, 0.05);
|
box-shadow: inset 0 4px 0px 0 #002762, 0 10px 15px rgba(0, 0, 0, 0.05);
|
||||||
padding: 22px 30px;
|
padding: 24px 30px;
|
||||||
|
font-size: 12px;
|
||||||
position: relative;
|
position: relative;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
width: 794px;
|
width: 794px;
|
||||||
@@ -15,13 +16,13 @@
|
|||||||
font-size: 60px;
|
font-size: 60px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 25px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
.details {
|
.details {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 25px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 4px;
|
gap: 4px;
|
||||||
@@ -39,6 +40,7 @@
|
|||||||
.addressRoot{
|
.addressRoot{
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
margin-bottom: 25px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.addressBillTo{
|
.addressBillTo{
|
||||||
@@ -50,7 +52,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.table {
|
.table {
|
||||||
margin-top: 40px;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
@@ -58,7 +59,8 @@
|
|||||||
thead th{
|
thead th{
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
border-bottom: 1px solid #000;
|
border-bottom: 1px solid #000;
|
||||||
padding: 5px 10px;
|
padding: 2px 10px;
|
||||||
|
color: #333;
|
||||||
|
|
||||||
&.rate,
|
&.rate,
|
||||||
&.total{
|
&.total{
|
||||||
@@ -101,10 +103,11 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
margin-bottom: 40px;
|
margin-bottom: 40px;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
|
width: 300px;
|
||||||
}
|
}
|
||||||
.totalsItem{
|
.totalsItem{
|
||||||
display: flex;
|
display: flex;
|
||||||
padding: 6px 0;
|
padding: 4px 0;
|
||||||
}
|
}
|
||||||
.totalsItemLabel{
|
.totalsItemLabel{
|
||||||
min-width: 160px;
|
min-width: 160px;
|
||||||
@@ -116,13 +119,16 @@
|
|||||||
.totalBottomBordered {
|
.totalBottomBordered {
|
||||||
border-bottom: 1px solid #000;
|
border-bottom: 1px solid #000;
|
||||||
}
|
}
|
||||||
|
.totalBottomGrayBordered {
|
||||||
|
border-bottom: 1px solid #DADADA;
|
||||||
|
}
|
||||||
|
|
||||||
.logoWrap{
|
.logoWrap{
|
||||||
height: 120px;
|
height: 120px;
|
||||||
width: 120px;
|
width: 120px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 20px;
|
right: 26px;
|
||||||
top: 20px;
|
top: 26px;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
@@ -137,10 +143,7 @@
|
|||||||
|
|
||||||
.paragraph{
|
.paragraph{
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
font-size: 12px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.paragraphLabel{
|
.paragraphLabel{
|
||||||
margin-bottom: 2px;
|
|
||||||
color: #666;
|
color: #666;
|
||||||
}
|
}
|
||||||
@@ -83,7 +83,9 @@ export function PaperTemplate() {
|
|||||||
|
|
||||||
<div style={{ display: 'flex' }}>
|
<div style={{ display: 'flex' }}>
|
||||||
<div className={styles.totals}>
|
<div className={styles.totals}>
|
||||||
<div className={styles.totalsItem}>
|
<div
|
||||||
|
className={clsx(styles.totalsItem, styles.totalBottomGrayBordered)}
|
||||||
|
>
|
||||||
<div className={styles.totalsItemLabel}>Sub Total</div>
|
<div className={styles.totalsItemLabel}>Sub Total</div>
|
||||||
<div className={styles.totalsItemAmount}>630.00</div>
|
<div className={styles.totalsItemAmount}>630.00</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user