re-structure to monorepo.

This commit is contained in:
a.bouhuolia
2023-02-03 01:02:31 +02:00
parent 8242ec64ba
commit 7a0a13f9d5
10400 changed files with 46966 additions and 17223 deletions

View File

@@ -0,0 +1,44 @@
// Accountant.
// ---------------------------------
.preferences-page__inside-content--accountant {
.card {
padding: 25px;
.card__footer {
padding-top: 16px;
border-top: 1px solid #e0e7ea;
margin-top: 30px;
.bp3-button {
min-width: 65px;
+ .bp3-button {
margin-left: 10px;
}
}
}
}
.form-group--select-list {
button {
min-width: 250px;
}
}
.bp3-form-group {
.bp3-form-helper-text {
margin-top: 7px;
}
label.bp3-label {
margin-bottom: 7px;
}
}
.bp3-form-group.accounts-checkbox {
.bp3-form-group.bp3-inline {
margin-bottom: 7px;
}
.bp3-control.bp3-inline {
margin-bottom: 0;
}
}
}

View File

@@ -0,0 +1,11 @@
// Currencies List.
// ---------------------------------
.preferences-page__inside-content--currencies{
.bigcapital-datatable {
.tr:last-child .td{
border-bottom: 0;
}
}
}

View File

@@ -0,0 +1,21 @@
// General page
//---------------------------------
.preferences-page__inside-content--general {
.bp3-form-group {
max-width: 650px;
margin-bottom: 24px;
.bp3-label {
min-width: 190px;
font-weight: 600;
color: #38414e;
}
.bp3-form-content {
width: 100%;
}
}
}

View File

@@ -0,0 +1,72 @@
@import '../../Base.scss';
.dashboard-content--preferences {
flex-direction: row;
flex: 1 0 0;
min-width: auto;
background-color: #fbfbfb;
}
.dashboard {
&__preferences-content {
flex: 1 0 0;
display: flex;
flex-direction: column;
}
}
.preferences-page {
&__inside-content {
display: flex;
flex-direction: column;
&--tabable {
margin-left: -25px;
margin-right: -25px;
}
.card{
margin: 15px;
}
.bigcapital-datatable{
.table .tbody .tbody-inner > .loading{
padding: 30px 0;
}
}
}
&__inside-content {
overflow: auto;
.#{$ns}-tab-list {
border-bottom: 1px solid #e5e5e5;
padding-left: 15px;
padding-right: 15px;
align-items: baseline;
.#{$ns}-tab {
font-weight: 400;
line-height: 44px;
font-size: 15px;
}
}
}
&__tabs-extra-actions {
margin-left: auto;
}
}
.preferences-page {
display: flex;
flex: 1 0 0;
&__content {
flex: 1 0 0;
display: flex;
flex-direction: column;
margin-left: 220px;
.dashboard__card {
margin: 15px;
flex: 1 0 0;
}
}
}

View File

@@ -0,0 +1,48 @@
// Roles Form page
//---------------------------------
.preferences-page__inside-content--roles-form {
padding-bottom: 60px;
.card {
padding: 25px;
.card__footer {
padding-top: 16px;
border-top: 1px solid #e0e7ea;
margin-top: 30px;
.bp3-button {
min-width: 65px;
+ .bp3-button {
margin-left: 10px;
}
}
}
}
.bp3-form-group {
max-width: 600px;
margin-bottom: 14px;
&.bp3-inline {
.bp3-label {
min-width: 150px;
}
}
.bp3-form-content {
width: 100%;
}
&:last-of-type{
margin-bottom: 0;
}
}
.form-group--description {
textarea {
width: 100%;
min-width: 100%;
font-size: 14px;
}
}
}

View File

@@ -0,0 +1,38 @@
// SMS Integration.
// ---------------------------------
.preferences-page__inside-content--sms-integration {
.bigcapital-datatable {
.table {
.tbody {
.notification {
&__label {
font-weight: 500;
}
&__desc {
font-size: 13px;
margin-top: 3px;
line-height: 1.25;
display: block;
}
}
.sms_message.td {
.edit-text {
display: inline-block;
font-size: 11.5px;
color: #1652c8;
margin-left: 2px;
text-decoration: underline;
}
}
}
}
}
.bp3-tabs {
.bp3-tab-panel {
margin-top: 0;
}
}
}

View File

@@ -0,0 +1,76 @@
@import '../../Base.scss';
// Preferences sidebar.
// -----------------------------
.preferences-sidebar {
background: #eaeef6;
border-right: 1px solid #c6d0d9;
min-width: 220px;
max-width: 220px;
height: 100%;
position: fixed;
&__wrapper {
height: 100%;
}
.ScrollbarsCustom-Track {
&.ScrollbarsCustom-TrackY,
&.ScrollbarsCustom-TrackX {
background: rgba(0, 0, 0, 0);
}
}
.ScrollbarsCustom-Thumb {
&.ScrollbarsCustom-ThumbX,
&.ScrollbarsCustom-ThumbY {
background: rgba(0, 0, 0, 0);
}
}
&:hover {
.ScrollbarsCustom-Thumb {
&.ScrollbarsCustom-ThumbX,
&.ScrollbarsCustom-ThumbY {
background: rgba(0, 0, 0, 0.15);
}
}
}
&__head {
display: flex;
flex-direction: row;
align-items: center;
height: 60px;
padding: 0 22px;
border-bottom: 1px solid #bbcbd0;
h2 {
font-size: 22px;
color: #3b3b4c;
font-weight: 400;
margin: 0;
}
}
&__menu {
padding: 0;
background: transparent;
.#{$ns}-menu-item {
padding: 8px 18px;
font-size: 15px;
font-weight: 400;
color: #333;
&:hover,
&.#{$ns}-active {
background-color: rgba(255, 255, 255, 0.6);
color: #333;
}
}
}
}

View File

@@ -0,0 +1,62 @@
@import '../../Base.scss';
// Preferences topbar.
// -----------------------------
.preferences-topbar {
border-bottom: 1px solid #d2dde2;
min-height: 60px;
flex: 60px 0 0;
padding: 0 0 0 22px;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
background-color: #fff;
&__title {
h2 {
font-size: 22px;
font-weight: 400;
margin: 0;
color: #48485b;
}
}
&__user {
display: flex;
align-items: center;
margin-right: 14px;
.bp3-button:not([class*='bp3-intent-']):not(.bp3-minimal) {
padding: 0;
background-size: contain;
background-color: #eed1f2;
border-radius: 50%;
height: 32px;
width: 32px;
.user-text {
font-size: 12px;
color: #fff;
}
&,
&:hover,
&:focus {
background-color: #cb20e5;
border: 0;
box-shadow: none;
}
}
}
&__actions {
margin-left: auto;
padding-right: 15px;
margin-right: 15px;
border-right: 1px solid #e5e5e5;
.bp3-button + .bp3-button {
margin-left: 10px;
}
}
}

View File

@@ -0,0 +1,32 @@
// Users/Roles List.
// ---------------------------------
.preferences-page__inside-content--users {
.bigcapital-datatable {
.td {
.avatar {
display: block;
height: 28px;
width: 28px;
text-align: center;
background: #b7bfc6;
border-radius: 50%;
line-height: 28px;
color: #fff;
text-transform: uppercase;
margin-left: 10px;
}
}
.td.status {
text-transform: uppercase;
}
.tr:last-child .td {
border-bottom: 0;
}
}
.bp3-tabs {
.bp3-tab-panel {
margin-top: 0;
}
}
}

View File

@@ -0,0 +1,6 @@
// Branches List.
// ---------------------------------
.preferences-page__inside-content--branches {
height: 100%;
}

View File

@@ -0,0 +1,5 @@
// warehouses List.
// ---------------------------------
.preferences-page__inside-content--warehouses {
height: 100%;
}