mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 22:30:31 +00:00
feat(server): styling financial reports pdf
This commit is contained in:
@@ -1,41 +1,57 @@
|
||||
@import "../base.scss";
|
||||
|
||||
.sheet{}
|
||||
html,
|
||||
body {
|
||||
font-size: 14px;
|
||||
}
|
||||
body{
|
||||
font-weight: 400;
|
||||
letter-spacing: 0;
|
||||
line-height: 1.28581;
|
||||
text-transform: none;
|
||||
color: #000;
|
||||
font-family: Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Open Sans, Helvetica Neue, Icons16, sans-serif;
|
||||
}
|
||||
.sheet{
|
||||
padding: 20px;
|
||||
}
|
||||
.sheet__company-name{
|
||||
margin: 0;
|
||||
font-size: 1.6rem;
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
.sheet__sheet-type {
|
||||
margin: 0
|
||||
}
|
||||
.sheet__sheet-date {
|
||||
margin-top: 0.5rem;
|
||||
margin-top: 0.35rem;
|
||||
}
|
||||
|
||||
.sheet__header {
|
||||
text-align: center;
|
||||
margin-bottom: 2rem;
|
||||
text-align: center;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.sheet__table {
|
||||
border-top: 1px solid #000;
|
||||
table-layout: fixed;
|
||||
border-spacing: 0;
|
||||
text-align: left;
|
||||
border-spacing: 0;
|
||||
text-align: left;
|
||||
font-size: inherit;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.sheet__table thead th {
|
||||
color: #000;
|
||||
border-bottom: 1px solid #000000;
|
||||
padding: 0.5rem;
|
||||
color: #000;
|
||||
border-bottom: 1px solid #000000;
|
||||
padding: 0.5rem;
|
||||
}
|
||||
|
||||
.sheet__table tbody td {
|
||||
border-bottom: 0;
|
||||
padding-top: 0.32rem;
|
||||
padding-bottom: 0.32rem;
|
||||
padding-top: 0.28rem;
|
||||
padding-bottom: 0.28rem;
|
||||
padding-left: 0.5rem;
|
||||
padding-right: 0.5rem;
|
||||
color: #252A31;
|
||||
border-bottom: 1px solid rgb(37, 42, 49);
|
||||
|
||||
border-bottom: 1px solid transparent;
|
||||
}
|
||||
@@ -1,6 +1,9 @@
|
||||
block head
|
||||
style
|
||||
//- include ../../css/modules/financial-sheet.css
|
||||
include ../../css/modules/financial-sheet.css
|
||||
|
||||
style.
|
||||
#{customCSS}
|
||||
|
||||
block content
|
||||
.sheet
|
||||
@@ -13,9 +16,9 @@ block content
|
||||
thead
|
||||
tr
|
||||
each column in table.columns
|
||||
th= column.label
|
||||
th(style=column.style)= column.label
|
||||
tbody
|
||||
each row in table.rows
|
||||
tr
|
||||
tr(class=row.classNames)
|
||||
each cell in row.cells
|
||||
td!= cell.value
|
||||
Reference in New Issue
Block a user