feat: drawer.

This commit is contained in:
elforjani3
2021-04-27 16:18:44 +02:00
parent 61e0ad969f
commit 3a9f3c0e04
6 changed files with 158 additions and 6 deletions

View File

@@ -0,0 +1,117 @@
.journal-drawer,
.expense-drawer {
background: #f5f5f5;
&__content {
display: flex;
flex-direction: column;
margin: 15px;
padding: 15px;
border: 1px solid #d2dce2;
box-shadow: 1px 1px #fbf8f8;
background-color: #ffffff;
min-height: 508px;
&--header {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
margin: 15px 0 20px;
font-size: 14px;
// color: #333333;
color: #666666;
> div {
flex-grow: 1;
span {
display: block;
color: #666666;
font-weight: 500;
margin: 10px 0;
}
}
.info {
flex: 0 1 25%;
padding-left: 2%;
margin: 10px 0;
}
.balance {
font-size: 26px;
font-weight: 500;
color: #0f1118;
}
}
&--table {
flex-grow: 1;
flex-shrink: 0;
.table {
color: #666666;
font-size: 14px;
.thead .tr .th .resizer {
display: none;
}
.thead .th {
color: #222222;
border-bottom: 1px solid #000000;
}
.thead .th,
.tbody .tr .td {
background: transparent;
padding: 0.8rem 0.5rem;
}
}
.desc {
margin: 20px 0 60px;
// margin: 20px 0;
> b {
color: #2f2f2f;
}
}
}
&--footer {
display: flex;
flex-direction: column;
align-items: flex-end;
color: #666666;
.wrapper > div {
display: flex;
border-top: 1px solid #000000;
border-bottom: 1px solid #000000;
padding: 0.2rem;
span,
p {
margin: 10px 50px 5px 0px;
}
span {
color: #333333;
flex-grow: 1;
font-weight: 500;
}
}
}
}
}
.bp3-drawer.bp3-position-right {
bottom: 0;
right: 0;
top: 0;
overflow: auto;
height: 100%;
scrollbar-width: none;
&::-webkit-scrollbar {
display: none;
}
.bp3-drawer-header {
margin-bottom: 2px;
box-shadow: (0, 0, 0);
background-color: #6a7993;
.bp3-heading,
.bp3-icon {
color: white;
}
}
}