mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 22:30:31 +00:00
feat(FinancialSheet): add skeleton view.
This commit is contained in:
@@ -147,6 +147,19 @@
|
||||
width: 65%;
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
&.align-right {
|
||||
.skeleton {
|
||||
margin-left: auto;
|
||||
}
|
||||
}
|
||||
|
||||
&.align-center {
|
||||
.skeleton {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.th {
|
||||
@@ -363,13 +376,14 @@
|
||||
.table-constrant,
|
||||
.table--constrant {
|
||||
.table {
|
||||
.thead{
|
||||
.tr:first-of-type .th{
|
||||
.thead {
|
||||
.tr:first-of-type .th {
|
||||
border-top: 1px solid #000000;
|
||||
}
|
||||
}
|
||||
|
||||
.thead .th {
|
||||
background: transparent;
|
||||
background: #fff;
|
||||
color: #222222;
|
||||
border-bottom: 1px solid #000000;
|
||||
padding: 0.5rem;
|
||||
|
||||
@@ -1,118 +0,0 @@
|
||||
// Financial sheet.
|
||||
// -----------------------
|
||||
.financial-sheet {
|
||||
border: 2px solid #f0f0f0;
|
||||
border-radius: 10px;
|
||||
min-width: 640px;
|
||||
width: auto;
|
||||
padding: 30px 18px;
|
||||
max-width: 100%;
|
||||
margin: 35px auto;
|
||||
min-height: 400px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: #fff;
|
||||
|
||||
&__title {
|
||||
margin: 0;
|
||||
font-weight: 400;
|
||||
font-size: 20px;
|
||||
color: #464646;
|
||||
text-align: center;
|
||||
}
|
||||
&__sheet-type {
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
color: #666;
|
||||
margin-top: 6px;
|
||||
}
|
||||
&__date {
|
||||
text-align: center;
|
||||
color: #666;
|
||||
margin-top: 6px;
|
||||
}
|
||||
&__table {
|
||||
margin-top: 24px;
|
||||
|
||||
.table {
|
||||
.tbody,
|
||||
.thead {
|
||||
.tr .td,
|
||||
.tr .th {
|
||||
background: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
.tr.no-results {
|
||||
.td {
|
||||
flex-direction: column;
|
||||
padding: 20px;
|
||||
color: #666;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
&__inner {
|
||||
&.is-loading {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
&__footer {
|
||||
color: #888;
|
||||
text-align: center;
|
||||
margin-top: auto;
|
||||
padding-top: 18px;
|
||||
font-size: 13px;
|
||||
|
||||
|
||||
> span + span{
|
||||
padding-left: 10px;
|
||||
}
|
||||
}
|
||||
.dashboard__loading-indicator {
|
||||
margin: auto;
|
||||
padding: 0;
|
||||
}
|
||||
&--expended {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
&--minimal {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
margin-top: 20px;
|
||||
|
||||
.financial-sheet {
|
||||
&__title {
|
||||
font-size: 18px;
|
||||
color: #333;
|
||||
}
|
||||
&__title + .financial-sheet__date {
|
||||
margin-top: 8px;
|
||||
}
|
||||
&__table {
|
||||
margin-top: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.is-full-width {
|
||||
width: 100%;
|
||||
margin-top: 25px;
|
||||
}
|
||||
}
|
||||
|
||||
.financial-statement {
|
||||
&__header {
|
||||
}
|
||||
|
||||
&__body {
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user