init crater

This commit is contained in:
Mohit Panjwani
2019-11-11 12:16:00 +05:30
commit bdf2ba51d6
668 changed files with 158503 additions and 0 deletions

View File

@ -0,0 +1,591 @@
// Invoices - Create
// -------------------------
.invoice-create-page {
position: relative;
.page-header {
margin: 0 0 40px 0;
.page-title {
font-size: 24.5px;
margin: 0 0 15px 0;
}
.breadcrumb {
.breadcrumb-item {
font-size: 14px;
}
}
.page-actions {
.btn-crater {
margin: 0 0 0 14px;
}
}
}
.invoice-input {
padding-left: 40px;
}
.show-customer {
background: #FFFFFF;
padding: 0 10px 0 10px;
min-height: 170px;
border: 1px solid $ls-color-gray--light;
label {
font-size: 14px;
margin: 0 0 0 0;
padding: 0 0 0 0;
}
}
.address-menu {
display: flex;
flex-direction: column;
.title {
font-size: 15px;
white-space: nowrap;
color: $ls-color-gray;
font-weight: 500;
}
.content {
display: flex;
flex-direction: column;
label {
position: relative;
white-space: nowrap;
width: 90%;
font-size: 14px;
overflow: hidden;
text-overflow: ellipsis;
}
}
}
.customer-content {
display: flex;
justify-content: space-between;
.email {
flex: 8;
}
.action {
cursor: pointer;
flex: 1;
font-size: 14px;
font-weight: 500;
color: $ls-color-primary;
margin: 0 0 0 0;
position: relative;
}
}
.add-customer {
padding: 0 0 0 0;
.add-customer-action {
position: relative;
display: flex;
justify-content: center;
background: #ffffff;
border: 1px solid $ls-color-gray--light;
min-height: 170px;
border-radius: 5px;
padding: 64px 0;
.customer-icon {
display: flex;
justify-content: center;
background: $ls-color-gray--light;
width: 40px;
color: white;
height: 40px;
font-size: 14px;
font-family: Poppins;
padding: 11px 14px 11px 13px;
border-radius: 50%;
margin: 0 15px 0 0;
}
label {
font-size: 17.5px;
margin: 7px 0 0 0;
}
}
}
.customer-required {
border: 1px solid $ls-color-red;
border-radius: 5px;
}
.offset-md-1 {
margin-left: 5%;
}
.invoice-input-group {
margin-bottom: 41px;
margin-right: 0;
.invoice-input {
padding-right: 0;
label {
font-family: Poppins;
font-style: normal;
font-weight: 500;
font-size: 14px;
color: $ls-color-black--light;
margin: 0 0 10px 0;
}
}
}
.item-table {
width: 100%;
text-align: center;
.item-table-header {
border: 1px solid $ls-color-gray--light;
background: white;
th {
padding: 10px 20px;
font-style: normal;
font-weight: 500;
font-size: 15px;
line-height: 21px;
color: #55547A;
border-top: 1px solid $ls-color-gray--light;
border-bottom: 1px solid $ls-color-gray--light;
}
.item-heading {
padding-left: 50px;
}
.amount-heading {
padding-right: 50px;
}
th:first-child {
padding-left: 0 !important;
border-left: 1px solid $ls-color-gray--light;
}
th:last-child {
padding-right: 0 !important;
border-right: 1px solid $ls-color-gray--light;
}
}
.item-body {
td:first-child {
padding-left: 0 !important;
}
td:last-child {
padding-right: 0 !important;
}
.item-row {
background: #FFFFFF;
border: 1px solid $ls-color-gray--light;
box-sizing: border-box;
border-radius: 0px 0px 5px 5px;
td {
padding: 15px 20px;
text-align: left;
vertical-align: top;
}
> td {
padding: 0;
}
.item-select {
font-style: normal;
font-weight: normal;
font-size: 14px;
line-height: 20px;
color: $ls-color-gray--dark;
overflow: auto !important;
max-height: 250px !important;
}
.search-select .selector-menu {
top: 45px !important;
}
.main {
padding: 0 !important;
}
.item-amount {
display: flex;
align-items: center;
justify-content: flex-end;
}
.item-select-wrapper {
display: flex;
justify-content: flex-start;
}
.item-selector {
flex: 1;
}
.selected-item {
display: flex;
align-items: center;
height: 40px;
padding-left: 10px;
border: 1px solid $ls-color-gray--light;
background: $ls-color-gray--very-light;
border-radius: 5px;
position: relative;
}
.deselect-icon {
color: $ls-color-gray;
position: absolute;
top: 10px;
right: 10px;
cursor: pointer;
}
.sort-icon-wrapper,
.remove-icon-wrapper {
display: flex;
justify-content: center;
align-items: center;
margin: 0 15px;
height: 40px;
width: 20px;
cursor: pointer;
}
.sort-icon-wrapper {
color: $ls-color-gray;
height: 20px;
margin-top: 8px;
cursor: move;
}
.remove-icon {
color: $ls-color-secondary;
}
}
}
}
.tax-row {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 10px;
.tax-amount {
flex: 3;
}
.tax-select {
flex: 4;
}
}
.tax-tr td {
padding: 0 21px;
}
.multi-select-item {
.multiselect,
.multiselect__input,
.multiselect__single {
border: none;
display: flex;
align-items: center;
}
.multiselect:focus {
outline: none;
}
.multiselect__input,
.multiselect__single {
min-height: 40px;
padding-left: 10px;
border: 1px solid rgb(234, 241, 251);
}
.multiselect__tags {
// margin-bottom: 8px;
min-height: 30px;
padding: 0;
border: 0px ;
}
.multiselect__select {
line-height: 16px;
width: 40px;
height: 38px;
transition: transform 0.2s ease;
}
.multiselect__content-wrapper {
overflow: hidden;
border: 1px solid $ls-color-gray--light;
box-shadow: $shadow-md;
border-radius: 0px 0px 5px 5px;
}
.multiselect__content {
max-height: 240px;
overflow: auto;
}
}
.add-item-action {
display: flex;
justify-content: center;
align-items: center;
color: $ls-color-primary--light;
padding: 13px 23px;
width: 100%;
font-size: 15px;
border-bottom: 1px solid $ls-color-gray--light;
cursor: pointer;
&:hover {
background: $ls-color-gray--light;
}
.icon-fa {
margin: 2px 11px 0 0;
}
}
.invoice-foot {
display: flex;
justify-content: space-between;
margin: 35px 0;
.btn-template {
background: $ls-color-gray--light;
border: 1px solid $ls-color-gray--light;
color: $ls-color-black;
font-size: 14px;
}
.icon-button {
color: $ls-color-gray--dark;
}
label {
font-size: 14px;
margin: 0 0 0 0;
}
.invoice-notes {
display: flex;
flex-direction: column;
margin: 5px 0 0 0;
textarea {
border: 1px solid $ls-color-gray--light;
border-radius: 5px;
width: 100%;
min-height: 100px;
padding: 0 0 0 0;
}
}
.invoice-total {
display: flex;
flex-direction: column;
background: #ffffff;
min-width: 390px;
padding: 15px 20px;
border: 1px solid $ls-color-gray--light;
border-radius: 5px;
&> label {
text-transform: uppercase;
}
.section {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
margin: 0 0 7px 0;
.invoice-label {
font-size: 14px;
font-weight: 600;
text-transform: uppercase;
line-height: 21px;
color:$ls-color-gray--dark;
}
.invoice-amount {
font-size: 18px;
color: #55547A;
}
.total {
color: $ls-color-primary--light;
}
.discount-drop-down {
width: 105px;
}
.item-dropdown {
font-family: Arial, Helvetica, sans-serif !important;
font-size: 16px;
}
}
.border-top {
margin: 0;
padding-top: 7px;
border-top: 1px solid $ls-color-gray--light;
}
.tax-selector {
font-weight: 600;
font-size: 14px;
margin-top: 12px;
line-height: 21px;
color: $ls-color-primary--light;
}
}
}
.item-row {
.item-name {
font-weight: 500;
text-align: left;
font-size: 14px;
}
.item-description {
width: 100%;
font-weight: 300;
font-size: 12px;
padding-top: 2px;
padding-left: 10px;
textarea {
&::placeholder {
font-family: Poppins;
font-style: normal;
font-size: 12px;
color: $ls-color-gray;
}
border: none;
resize: none;
width: 100%;
color: $ls-color-gray--very-dark;
}
}
.action {
font-weight: 500;
font-size: 14px;
color: $ls-color-primary;
cursor: pointer;
}
.activator {
label {
color: $ls-color-gray--dark;
font-size: 14px;
}
}
}
.item-dropdown {
display: flex;
border: 1px solid $ls-color-gray--light !important;
background-color: #fff !important;
border-radius: 0px 5px 5px 0px !important;
justify-content: center;
align-items: center;
height: 40px;
&:focus {
box-shadow: none !important;
}
}
.item-discount {
border-radius: 5px 0px 0px 5px !important;
height: 40px;
// border-right: 0px !important;
}
@media (max-width: $x-small-breakpoint) {
.page-actions {
position: relative;
-webkit-transform: none;
-ms-transform: none;
-o-transform: none;
transform: none;
display: flex;
flex-wrap: wrap;
button {
margin-bottom: 10px;
}
}
.invoice-input-group {
.invoice-input {
padding-right: 15px;
padding-left: 20px;
margin-top: 1.5rem;
}
}
.invoice-foot {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
.btn-template {
width: 100%;
display: flex;
justify-content: center;
}
.invoice-total {
margin-top: 25px;
}
}
}
}

View File

@ -0,0 +1,93 @@
// Invoices - Index
// -------------------------
.invoice-index-page {
.table-actions {
position: relative;
border: none;
.table-actions-button {
position: absolute;
right: 0px;
top: -15px;
}
.table-stats {
margin: 0;
position: absolute;
right: 0px;
top: 40px;
}
}
.filter-container {
display: flex;
justify-content: space-between;
}
.filter-customer, .filter-status {
margin-right: 40px;
flex: 1;
}
.filter-date {
flex: 1;
display: flex;
margin-right: 40px;
align-items: center;
.from {
flex: 1;
}
.to {
flex: 1;
}
}
.filter-invoice {
flex: 1;
}
.dashed {
border: 1px solid #B9C1D1;
width: 10px;
margin-top: 28px;
}
@media(max-width: $medium-breakpoint ) {
.filter-container {
flex-direction: column;
}
.filter-invoice {
margin-right: 40px;
}
.filter-customer,
.filter-status,
.filter-date,
.filter-invoice {
margin-bottom: 10px;
margin-right: 0px;
}
}
@media(max-width: $x-small-breakpoint) {
.page-actions {
position: relative;
-webkit-transform: none;
-ms-transform: none;
-o-transform: none;
transform: none;
display: flex;
flex-wrap: wrap;
button {
margin-bottom: 10px;
}
}
}
}

View File

@ -0,0 +1,227 @@
// Invoices - View
// -------------------------
.invoice-view-page {
padding-left: 570px !important;
.invoice-sidebar {
width: 300px;
height: 100vh;
height: 100%;
left: 240px;
padding: 60px 0 10px;
position: fixed;
top: 0;
width: 300px;
z-index: 30;
background: #FFFFFF;
}
.inv-search {
background: $ls-color-gray--very-light !important;
}
.side-invoice {
padding: 12px 16px;
display: flex;
justify-content: space-between;
border-bottom: 1px solid rgba(185, 193, 209, 0.41);
cursor: pointer;
&:last-child {
margin-bottom: 98px;
}
&:hover {
background-color: $ls-color-gray--very-light;
}
.left {
.inv-name {
font-style: normal;
font-weight: normal;
font-size: 14px;
line-height: 21px;
text-transform: capitalize;
color: $ls-color-black;
margin-bottom: 6px;
}
.inv-number {
font-style: normal;
font-weight: 500;
font-size: 12px;
line-height: 18px;
color: $ls-color-gray--dark;
margin-bottom: 6px;
}
.inv-status {
font-style: normal;
font-weight: normal;
font-size: 10px;
line-height: 15px;
padding: 2px 10px;
display: inline-block;
}
}
.right {
.inv-amount {
font-style: normal;
font-weight: 600;
font-size: 20px;
line-height: 30px;
text-align: right;
color: $ls-color-black--light;
}
.inv-date {
font-style: normal;
font-weight: normal;
font-size: 14px;
line-height: 21px;
text-align: right;
color: $ls-color-gray--dark;
}
}
}
.no-result {
color: $ls-color-gray;
display: flex;
justify-content: center;
margin-top: 20px;
}
.side-header {
height: 100px;
display: flex;
justify-content: space-between;
align-items: center;
padding: 30px 15px;
border-bottom: 1px solid rgba(185, 193, 209, 0.41);
.inv-button {
background: $ls-color-gray--very-light;
border: 1px solid $ls-color-gray--light;
box-sizing: border-box;
color: $ls-color-gray;
}
}
.side-content {
overflow-y: scroll;
height: 100%;
}
.invoice-view-page-container {
display: flex;
flex-direction: column;
height: 75vh;
min-height: 0;
overflow:hidden;
}
.frame-style {
flex: 1 1 auto;
border: 1px solid $ls-color-gray;
border-radius: 7px;
}
.inv-filter-fields-btn, .inv-filter-sorting-btn {
&:focus {
border-color: inherit;
box-shadow: none;
outline: none !important;
}
}
.filter-container {
margin-left: 12px;
.filter-items {
// margin-top: 10px;
display: flex;
&:first-child {
margin-top: auto;
}
}
.inv-label {
font-style: normal;
font-weight: normal;
font-size: 14px;
line-height: 18px;
text-transform: capitalize;
color: $ls-color-black;
margin-bottom: 6px;
margin-left: 10px;
}
.base-input {
width: 20%;
}
.dropdown-container {
padding: 11px;
left: auto;
right: 0px;
width: 155px;
}
}
.filter-invoice-date {
.vdp-datepicker {
div {
.vdp-datepicker__clear-button {
margin-left: -21px;
margin-top: 2px;
font-size: 20px;
font-weight: 800;
}
}
}
}
.date-group {
display: flex
}
.to-text {
padding: 8px;
}
}
@media (max-width: $small-breakpoint) {
.invoice-view-page {
padding-left: 310px !important;
}
.invoice-sidebar {
transition: .2s all;
left: 0px !important;
}
}