mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 20:30:33 +00:00
WIP
This commit is contained in:
@@ -22,12 +22,12 @@ export function MakeJournalFormFooterLeft() {
|
||||
}
|
||||
|
||||
const DescriptionFormGroup = styled(FFormGroup)`
|
||||
&.bp3-form-group {
|
||||
.bp3-label {
|
||||
&.bp4-form-group {
|
||||
.bp4-label {
|
||||
font-size: 12px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.bp3-form-content {
|
||||
.bp4-form-content {
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
import React from 'react';
|
||||
import styled from 'styled-components';
|
||||
import { Spinner } from '@blueprintjs/core';
|
||||
@@ -39,7 +40,7 @@ export const AuthInsiderCopyright = styled.div`
|
||||
color: #666;
|
||||
margin-top: 1.2rem;
|
||||
|
||||
.bp3-icon-bigcapital {
|
||||
.bp4-icon-bigcapital {
|
||||
svg {
|
||||
path {
|
||||
fill: #a3a3a3;
|
||||
@@ -65,11 +66,11 @@ export const AuthFooterLink = styled.p`
|
||||
export const AuthSubmitButton = styled(Button)`
|
||||
margin-top: 20px;
|
||||
|
||||
&.bp3-intent-primary {
|
||||
&.bp4-intent-primary {
|
||||
background-color: #0052cc;
|
||||
|
||||
&:disabled,
|
||||
&.bp3-disabled {
|
||||
&.bp4-disabled {
|
||||
background-color: rgba(0, 82, 204, 0.4);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -178,7 +178,7 @@ const AccountSwitchItemUpdatedAt = styled.div`
|
||||
`;
|
||||
|
||||
const AccountSwitchButtonBase = styled(Button)`
|
||||
.bp3-button-text {
|
||||
.bp4-button-text {
|
||||
margin-right: 5px;
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -53,7 +53,7 @@ export const ItemManuTransaction = ({ onChange }) => {
|
||||
};
|
||||
|
||||
const ItemSwitchButton = styled(Button)`
|
||||
.bp3-button-text {
|
||||
.bp4-button-text {
|
||||
display: flex;
|
||||
color: #727983;
|
||||
}
|
||||
|
||||
@@ -20,12 +20,12 @@ export function ExpenseFormFooterLeft() {
|
||||
);
|
||||
}
|
||||
const DescriptionFormGroup = styled(FFormGroup)`
|
||||
&.bp3-form-group {
|
||||
.bp3-label {
|
||||
&.bp4-form-group {
|
||||
.bp4-label {
|
||||
font-size: 12px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.bp3-form-content {
|
||||
.bp4-form-content {
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -110,7 +110,7 @@ export default compose(
|
||||
)(APAgingSummaryHeader);
|
||||
|
||||
const APAgingDrawerHeader = styled(FinancialStatementHeader)`
|
||||
.bp3-drawer {
|
||||
.bp4-drawer {
|
||||
max-height: 520px;
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -116,7 +116,7 @@ export default compose(
|
||||
)(ARAgingSummaryHeader);
|
||||
|
||||
const ARAgingDrawerHeader = styled(FinancialStatementHeader)`
|
||||
.bp3-drawer {
|
||||
.bp4-drawer {
|
||||
max-height: 520px;
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -125,7 +125,7 @@ export default compose(
|
||||
)(BalanceSheetHeader);
|
||||
|
||||
const BalanceSheetFinancialHeader = styled(FinancialStatementHeader)`
|
||||
.bp3-drawer {
|
||||
.bp4-drawer {
|
||||
max-height: 520px;
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -159,7 +159,7 @@ export default function BalanceSheetHeaderComparisonPanal() {
|
||||
}
|
||||
|
||||
const BalanceSheetComparisonWrap = styled.div`
|
||||
.bp3-form-group {
|
||||
.bp4-form-group {
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -100,7 +100,7 @@ export default compose(
|
||||
)(CustomersBalanceSummaryHeader);
|
||||
|
||||
const CustomerBalanceDrawerHeader = styled(FinancialStatementHeader)`
|
||||
.bp3-drawer {
|
||||
.bp4-drawer {
|
||||
max-height: 450px;
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -101,7 +101,7 @@ export default compose(
|
||||
)(CustomersTransactionsHeader);
|
||||
|
||||
const CustomerTransactionsDrawerHeader = styled(FinancialStatementHeader)`
|
||||
.bp3-drawer {
|
||||
.bp4-drawer {
|
||||
max-height: 450px;
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -47,7 +47,7 @@ export default function FinancialStatementsFilter({
|
||||
{({ form: { setFieldValue }, field: { value } }) => (
|
||||
<FormGroup
|
||||
label={label}
|
||||
className="form-group--select-list bp3-fill"
|
||||
className="form-group--select-list bp4-fill"
|
||||
inline={false}
|
||||
>
|
||||
<ListSelect
|
||||
|
||||
@@ -120,7 +120,7 @@ export default compose(
|
||||
)(GeneralLedgerHeader);
|
||||
|
||||
const GeneralLedgerDrawerHeader = styled(FinancialStatementHeader)`
|
||||
.bp3-drawer {
|
||||
.bp4-drawer {
|
||||
max-height: 520px;
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -119,7 +119,7 @@ export default compose(
|
||||
)(InventoryItemDetailsHeader);
|
||||
|
||||
const InventoryItemDetailsDrawerHeader = styled(FinancialStatementHeader)`
|
||||
.bp3-drawer {
|
||||
.bp4-drawer {
|
||||
max-height: 400px;
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -117,7 +117,7 @@ export default compose(
|
||||
)(InventoryValuationHeader);
|
||||
|
||||
const InventoryValuationDrawerHeader = styled(FinancialStatementHeader)`
|
||||
.bp3-drawer {
|
||||
.bp4-drawer {
|
||||
max-height: 450px;
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -98,7 +98,7 @@ export default compose(
|
||||
)(JournalHeader);
|
||||
|
||||
const JournalDrawerHeader = styled(FinancialStatementHeader)`
|
||||
.bp3-drawer {
|
||||
.bp4-drawer {
|
||||
max-height: 350px;
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -114,7 +114,7 @@ export default R.compose(
|
||||
)(ProfitLossHeader);
|
||||
|
||||
const ProfitLossSheetHeader = styled(FinancialStatementHeader)`
|
||||
.bp3-drawer {
|
||||
.bp4-drawer {
|
||||
max-height: 520px;
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -191,7 +191,7 @@ export default function ProfitLossSheetHeaderComparisonPanel() {
|
||||
}
|
||||
|
||||
const ProfitLossSheetComparisonWrap = styled.div`
|
||||
.bp3-form-group {
|
||||
.bp4-form-group {
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -109,7 +109,7 @@ export default compose(
|
||||
)(ProjectProfitabilitySummaryHeader);
|
||||
|
||||
const ProjectProfitabilityDrawerHeader = styled(FinancialStatementHeader)`
|
||||
.bp3-drawer {
|
||||
.bp4-drawer {
|
||||
max-height: 520px;
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -98,7 +98,7 @@ export default compose(
|
||||
)(PurchasesByItemsHeader);
|
||||
|
||||
const PurchasesByItemsDrawerHeader = styled(FinancialStatementHeader)`
|
||||
.bp3-drawer {
|
||||
.bp4-drawer {
|
||||
max-height: 450px;
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -105,7 +105,7 @@ export default compose(
|
||||
)(SalesByItemsHeader);
|
||||
|
||||
const SalesByItemsDrawerHeader = styled(FinancialStatementHeader)`
|
||||
.bp3-drawer {
|
||||
.bp4-drawer {
|
||||
max-height: 450px;
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -108,7 +108,7 @@ export default compose(
|
||||
)(SalesTaxLiabilitySummaryHeader);
|
||||
|
||||
const SalesTaxSummaryFinancialHeader = styled(FinancialStatementHeader)`
|
||||
.bp3-drawer {
|
||||
.bp4-drawer {
|
||||
max-height: 320px;
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -18,7 +18,7 @@ export default function SelectsListColumnsBy(props) {
|
||||
{({ form, field: { value }, meta: { error, touched } }) => (
|
||||
<FormGroup
|
||||
label={<T id={'display_report_columns'} />}
|
||||
className="form-group-display-columns-by form-group--select-list bp3-fill"
|
||||
className="form-group-display-columns-by form-group--select-list bp4-fill"
|
||||
inline={false}
|
||||
{...formGroupProps}
|
||||
>
|
||||
|
||||
@@ -127,7 +127,7 @@ export default compose(
|
||||
)(TrialBalanceSheetHeader);
|
||||
|
||||
const TrialBalanceSheetDrawerHeader = styled(FinancialStatementHeader)`
|
||||
.bp3-drawer {
|
||||
.bp4-drawer {
|
||||
max-height: 450px;
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -102,7 +102,7 @@ export default compose(
|
||||
)(VendorsBalanceSummaryHeader);
|
||||
|
||||
const VendorBalanceDrawerHeader = styled(FinancialStatementHeader)`
|
||||
.bp3-drawer {
|
||||
.bp4-drawer {
|
||||
max-height: 450px;
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -87,7 +87,7 @@ const BranchesTable = styled(DataTable)`
|
||||
min-height: 38px;
|
||||
|
||||
.td.td-name {
|
||||
.bp3-icon {
|
||||
.bp4-icon {
|
||||
margin: 0;
|
||||
margin-left: 2px;
|
||||
vertical-align: top;
|
||||
|
||||
@@ -221,10 +221,10 @@ const CardFooterActions = styled.div`
|
||||
border-top: 1px solid #e0e7ea;
|
||||
margin-top: 30px;
|
||||
|
||||
.bp3-button {
|
||||
.bp4-button {
|
||||
min-width: 70px;
|
||||
|
||||
+ .bp3-button {
|
||||
+ .bp4-button {
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ const RoleFormFloatingActionsRoot = styled.div`
|
||||
border-top: 1px solid #d2dde2;
|
||||
box-shadow: 0px -1px 4px 0px rgb(0 0 0 / 5%);
|
||||
|
||||
.bp3-button {
|
||||
.bp4-button {
|
||||
margin-right: 10px;
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -374,7 +374,7 @@ export const RolesPermissionList = () => {
|
||||
};
|
||||
|
||||
const PermissionCheckbox = styled(Checkbox)`
|
||||
&.bp3-control.bp3-checkbox .bp3-control-indicator {
|
||||
&.bp4-control.bp4-checkbox .bp4-control-indicator {
|
||||
border-radius: 2px;
|
||||
border-color: #555;
|
||||
|
||||
@@ -454,7 +454,7 @@ const ModulePermissionsTableRoot = styled.table`
|
||||
}
|
||||
|
||||
tr td {
|
||||
.bp3-control.bp3-inline {
|
||||
.bp4-control.bp4-inline {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -150,7 +150,7 @@ export const WarehouseTitle = styled.div`
|
||||
font-weight: 500;
|
||||
line-height: 1;
|
||||
|
||||
.bp3-icon {
|
||||
.bp4-icon {
|
||||
margin: 0;
|
||||
margin-left: 2px;
|
||||
vertical-align: top;
|
||||
|
||||
@@ -40,17 +40,17 @@ function EstimatedExpenseFormDialog({
|
||||
export default compose(withDialogRedux())(EstimatedExpenseFormDialog);
|
||||
|
||||
const EstimateExpenseFormDialogRoot = styled(Dialog)`
|
||||
.bp3-dialog-body {
|
||||
.bp3-form-group {
|
||||
.bp4-dialog-body {
|
||||
.bp4-form-group {
|
||||
margin-bottom: 15px;
|
||||
|
||||
label.bp3-label {
|
||||
label.bp4-label {
|
||||
margin-bottom: 3px;
|
||||
font-size: 13px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.bp3-dialog-footer {
|
||||
.bp4-dialog-footer {
|
||||
padding-top: 10px;
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -48,7 +48,7 @@ function ProjectEntriesFormFloatingActions({
|
||||
export default compose(withDialogActions)(ProjectEntriesFormFloatingActions);
|
||||
|
||||
const SaveButton = styled(Button)`
|
||||
&.bp3-button {
|
||||
&.bp4-button {
|
||||
margin-left: 0px;
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -102,8 +102,8 @@ const BillableEntryFooter = styled.div`
|
||||
`;
|
||||
|
||||
const BillableEntryButton = styled(Button)`
|
||||
&.bp3-button.bp3-small,
|
||||
&.bp3-button:not([class*='bp3-intent-']):not(.bp3-minimal).bp3-small {
|
||||
&.bp4-button.bp4-small,
|
||||
&.bp4-button:not([class*='bp4-intent-']):not(.bp4-minimal).bp4-small {
|
||||
font-size: 12px;
|
||||
color: #2172ed;
|
||||
background: transparent;
|
||||
|
||||
@@ -41,18 +41,18 @@ function ProjectBillableEntriesFormDialog({
|
||||
export default compose(withDialogRedux())(ProjectBillableEntriesFormDialog);
|
||||
|
||||
const ProjectBillableEntriesFormDialogRoot = styled(Dialog)`
|
||||
.bp3-dialog-body {
|
||||
.bp3-form-group {
|
||||
.bp4-dialog-body {
|
||||
.bp4-form-group {
|
||||
margin-bottom: 15px;
|
||||
|
||||
label.bp3-label {
|
||||
label.bp4-label {
|
||||
margin-bottom: 3px;
|
||||
font-size: 13px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.bp3-dialog-footer {
|
||||
.bp3-dialog-footer-actions {
|
||||
.bp4-dialog-footer {
|
||||
.bp4-dialog-footer-actions {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
@@ -48,8 +48,8 @@ export default function ProjectDetailTabs() {
|
||||
}
|
||||
|
||||
const ProjectTabsContent = styled.div`
|
||||
.bp3-tabs {
|
||||
.bp3-tab-list {
|
||||
.bp4-tabs {
|
||||
.bp4-tab-list {
|
||||
padding: 0 20px;
|
||||
background-color: #fff;
|
||||
border-bottom: 1px solid #d2dce2;
|
||||
@@ -58,7 +58,7 @@ const ProjectTabsContent = styled.div`
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
&.bp3-large > .bp3-tab {
|
||||
&.bp4-large > .bp4-tab {
|
||||
font-size: 15px;
|
||||
font-weight: 400;
|
||||
color: #7f8596;
|
||||
@@ -69,12 +69,12 @@ const ProjectTabsContent = styled.div`
|
||||
color: #0052cc;
|
||||
}
|
||||
}
|
||||
.bp3-tab-indicator-wrapper .bp3-tab-indicator {
|
||||
.bp4-tab-indicator-wrapper .bp4-tab-indicator {
|
||||
height: 2px;
|
||||
bottom: -2px;
|
||||
}
|
||||
}
|
||||
.bp3-tab-panel {
|
||||
.bp4-tab-panel {
|
||||
/* margin: 20px 32px; */
|
||||
/* margin: 20px; */
|
||||
/* margin-top: 20px;
|
||||
|
||||
@@ -109,13 +109,13 @@ const TaskTimeFull = styled.div`
|
||||
`;
|
||||
|
||||
const TaskProgressBar = styled(ProgressBar)`
|
||||
&.bp3-progress-bar {
|
||||
&.bp4-progress-bar {
|
||||
display: block;
|
||||
flex-shrink: 0;
|
||||
height: 4px;
|
||||
max-width: 150px;
|
||||
&,
|
||||
.bp3-progress-meter {
|
||||
.bp4-progress-meter {
|
||||
border-radius: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -76,10 +76,10 @@ export const FinancialCardText = styled.div`
|
||||
color: #7b8195;
|
||||
`;
|
||||
export const FinancialCardProgressBar = styled(ProgressBar)`
|
||||
&.bp3-progress-bar {
|
||||
&.bp4-progress-bar {
|
||||
height: 3px;
|
||||
&,
|
||||
.bp3-progress-meter {
|
||||
.bp4-progress-meter {
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -40,17 +40,17 @@ function ProjectExpenseFormDialog({
|
||||
export default compose(withDialogRedux())(ProjectExpenseFormDialog);
|
||||
|
||||
const ProjectExpenseFormDialogRoot = styled(Dialog)`
|
||||
.bp3-dialog-body {
|
||||
.bp3-form-group {
|
||||
.bp4-dialog-body {
|
||||
.bp4-form-group {
|
||||
margin-bottom: 15px;
|
||||
|
||||
label.bp3-label {
|
||||
label.bp4-label {
|
||||
margin-bottom: 3px;
|
||||
font-size: 13px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.bp3-dialog-footer {
|
||||
.bp4-dialog-footer {
|
||||
padding-top: 10px;
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -43,17 +43,17 @@ function ProjectFormDialog({
|
||||
export default compose(withDialogRedux())(ProjectFormDialog);
|
||||
|
||||
const ProjectFormDialogRoot = styled(Dialog)`
|
||||
.bp3-dialog-body {
|
||||
.bp3-form-group {
|
||||
.bp4-dialog-body {
|
||||
.bp4-form-group {
|
||||
margin-bottom: 0;
|
||||
|
||||
label.bp3-label {
|
||||
label.bp4-label {
|
||||
margin-bottom: 3px;
|
||||
font-size: 13px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.bp3-dialog-footer {
|
||||
.bp4-dialog-footer {
|
||||
padding-top: 10px;
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -34,22 +34,22 @@ function ProjectInvoicingFormDialog({ dialogName, payload: {}, isOpen }) {
|
||||
export default compose(withDialogRedux())(ProjectInvoicingFormDialog);
|
||||
|
||||
const ProjectInvoicingFormDialogRoot = styled(Dialog)`
|
||||
.bp3-dialog-body {
|
||||
.bp3-form-group {
|
||||
.bp4-dialog-body {
|
||||
.bp4-form-group {
|
||||
margin-bottom: 15px;
|
||||
margin-top: 15px;
|
||||
|
||||
label.bp3-label {
|
||||
label.bp4-label {
|
||||
margin-bottom: 3px;
|
||||
font-size: 13px;
|
||||
}
|
||||
}
|
||||
|
||||
label.bp3-control.bp3-checkbox {
|
||||
label.bp4-control.bp4-checkbox {
|
||||
margin-top: 15px;
|
||||
}
|
||||
}
|
||||
.bp3-dialog-footer {
|
||||
.bp4-dialog-footer {
|
||||
padding-top: 10px;
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -113,7 +113,7 @@ function ProjectTimeEntryFormFields() {
|
||||
export default ProjectTimeEntryFormFields;
|
||||
|
||||
const DurationInputGroup = styled(FInputGroup)`
|
||||
.bp3-input {
|
||||
.bp4-input {
|
||||
width: 150px;
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -47,18 +47,18 @@ function ProjectTimeEntryFormDialog({
|
||||
export default compose(withDialogRedux())(ProjectTimeEntryFormDialog);
|
||||
|
||||
const ProjectTimeEntryFormDialogRoot = styled(Dialog)`
|
||||
.bp3-dialog-body {
|
||||
.bp3-form-group {
|
||||
.bp4-dialog-body {
|
||||
.bp4-form-group {
|
||||
margin-bottom: 0;
|
||||
|
||||
label.bp3-label {
|
||||
label.bp4-label {
|
||||
margin-bottom: 3px;
|
||||
font-size: 13px;
|
||||
}
|
||||
}
|
||||
.form-group {
|
||||
&--description {
|
||||
.bp3-form-content {
|
||||
.bp4-form-content {
|
||||
textarea {
|
||||
width: 100%;
|
||||
min-width: 100%;
|
||||
@@ -68,7 +68,7 @@ const ProjectTimeEntryFormDialogRoot = styled(Dialog)`
|
||||
}
|
||||
}
|
||||
}
|
||||
.bp3-dialog-footer {
|
||||
.bp4-dialog-footer {
|
||||
padding-top: 10px;
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -195,13 +195,13 @@ const ProjectStatusTaskAmount = styled.div`
|
||||
`;
|
||||
|
||||
const ProjectProgressBar = styled(ProgressBar)`
|
||||
&.bp3-progress-bar {
|
||||
&.bp4-progress-bar {
|
||||
display: block;
|
||||
flex-shrink: 0;
|
||||
height: 3px;
|
||||
max-width: 110px;
|
||||
&,
|
||||
.bp3-progress-meter {
|
||||
.bp4-progress-meter {
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,12 +22,12 @@ export function BillFormFooterLeft() {
|
||||
}
|
||||
|
||||
const TermsConditsFormGroup = styled(FFormGroup)`
|
||||
&.bp3-form-group {
|
||||
.bp3-label {
|
||||
&.bp4-form-group {
|
||||
.bp4-label {
|
||||
font-size: 12px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.bp3-form-content {
|
||||
.bp4-form-content {
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -88,7 +88,7 @@ export function BillUniversalSearchItem(
|
||||
text={
|
||||
<div>
|
||||
<div>{item.text}</div>
|
||||
<span class="bp3-text-muted">
|
||||
<span class="bp4-text-muted">
|
||||
{item.reference.bill_number}{' '}
|
||||
<Icon icon={'caret-right-16'} iconSize={16} />
|
||||
{item.reference.formatted_bill_date}
|
||||
|
||||
@@ -22,12 +22,12 @@ export function VendorCreditNoteFormFooterLeft() {
|
||||
}
|
||||
|
||||
const TermsConditsFormGroup = styled(FFormGroup)`
|
||||
&.bp3-form-group {
|
||||
.bp3-label {
|
||||
&.bp4-form-group {
|
||||
.bp4-label {
|
||||
font-size: 12px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.bp3-form-content {
|
||||
.bp4-form-content {
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -74,7 +74,7 @@ export function VendorCreditUniversalSearchItem(
|
||||
text={
|
||||
<div>
|
||||
<div>{item.text}</div>
|
||||
<span class="bp3-text-muted">
|
||||
<span class="bp4-text-muted">
|
||||
{item.reference.vendor_credit_number}{' '}
|
||||
<Icon icon={'caret-right-16'} iconSize={16} />
|
||||
{item.reference.formatted_vendor_credit_date}
|
||||
|
||||
@@ -28,14 +28,14 @@ export function PaymentMadeFormFooterLeft() {
|
||||
}
|
||||
|
||||
const InternalNoteFormGroup = styled(FFormGroup)`
|
||||
&.bp3-form-group {
|
||||
&.bp4-form-group {
|
||||
margin-bottom: 40px;
|
||||
|
||||
.bp3-label {
|
||||
.bp4-label {
|
||||
font-size: 12px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.bp3-form-content {
|
||||
.bp4-form-content {
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ export function PaymentMadeUniversalSearchItem(
|
||||
<div>
|
||||
<div>{highlightText(text, query)}</div>
|
||||
|
||||
<span class="bp3-text-muted">
|
||||
<span class="bp4-text-muted">
|
||||
{reference.payment_number && (
|
||||
<>
|
||||
{highlightText(reference.payment_number, query)}
|
||||
|
||||
@@ -34,26 +34,26 @@ export function CreditNoteFormFooterLeft() {
|
||||
}
|
||||
|
||||
const CreditNoteMsgFormGroup = styled(FFormGroup)`
|
||||
&.bp3-form-group {
|
||||
&.bp4-form-group {
|
||||
margin-bottom: 40px;
|
||||
|
||||
.bp3-label {
|
||||
.bp4-label {
|
||||
font-size: 12px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.bp3-form-content {
|
||||
.bp4-form-content {
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
const TermsConditsFormGroup = styled(FFormGroup)`
|
||||
&.bp3-form-group {
|
||||
.bp3-label {
|
||||
&.bp4-form-group {
|
||||
.bp4-label {
|
||||
font-size: 12px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.bp3-form-content {
|
||||
.bp4-form-content {
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -73,7 +73,7 @@ export function CreditNoteUniversalSearchItem(
|
||||
text={
|
||||
<div>
|
||||
<div>{item.text}</div>
|
||||
<span class="bp3-text-muted">
|
||||
<span class="bp4-text-muted">
|
||||
{item.reference.credit_note_number}{' '}
|
||||
<Icon icon={'caret-right-16'} iconSize={16} />
|
||||
{item.reference.formatted_credit_note_date}
|
||||
|
||||
@@ -34,26 +34,26 @@ export function EstimateFormFooterLeft() {
|
||||
}
|
||||
|
||||
const EstimateMsgFormGroup = styled(FFormGroup)`
|
||||
&.bp3-form-group {
|
||||
&.bp4-form-group {
|
||||
margin-bottom: 40px;
|
||||
|
||||
.bp3-label {
|
||||
.bp4-label {
|
||||
font-size: 12px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.bp3-form-content {
|
||||
.bp4-form-content {
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
const TermsConditsFormGroup = styled(FFormGroup)`
|
||||
&.bp3-form-group {
|
||||
.bp3-label {
|
||||
&.bp4-form-group {
|
||||
.bp4-label {
|
||||
font-size: 12px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.bp3-form-content {
|
||||
.bp4-form-content {
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -76,7 +76,7 @@ export function EstimateUniversalSearchItem(
|
||||
text={
|
||||
<div>
|
||||
<div>{item.text}</div>
|
||||
<span class="bp3-text-muted">
|
||||
<span class="bp4-text-muted">
|
||||
{item.reference.estimate_number}{' '}
|
||||
<Icon icon={'caret-right-16'} iconSize={16} />
|
||||
{item.reference.formatted_estimate_date}
|
||||
|
||||
@@ -60,7 +60,7 @@ const InclusiveFormGroup = styled(FFormGroup)`
|
||||
margin-bottom: 0;
|
||||
margin-left: auto;
|
||||
|
||||
&.bp3-form-group.bp3-inline label.bp3-label {
|
||||
&.bp4-form-group.bp4-inline label.bp4-label {
|
||||
line-height: 1.25;
|
||||
opacity: 0.6;
|
||||
margin-right: 8px;
|
||||
@@ -68,7 +68,7 @@ const InclusiveFormGroup = styled(FFormGroup)`
|
||||
`;
|
||||
|
||||
const InclusiveSelect = styled(FSelect)`
|
||||
.bp3-button {
|
||||
.bp4-button {
|
||||
padding-right: 24px;
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -35,26 +35,26 @@ export function InvoiceFormFooterLeft() {
|
||||
}
|
||||
|
||||
const InvoiceMsgFormGroup = styled(FFormGroup)`
|
||||
&.bp3-form-group {
|
||||
&.bp4-form-group {
|
||||
margin-bottom: 40px;
|
||||
|
||||
.bp3-label {
|
||||
.bp4-label {
|
||||
font-size: 12px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.bp3-form-content {
|
||||
.bp4-form-content {
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
const TermsConditsFormGroup = styled(FFormGroup)`
|
||||
&.bp3-form-group {
|
||||
.bp3-label {
|
||||
&.bp4-form-group {
|
||||
.bp4-label {
|
||||
font-size: 12px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.bp3-form-content {
|
||||
.bp4-form-content {
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -80,7 +80,7 @@ export function InvoiceUniversalSearchItem(
|
||||
text={
|
||||
<div>
|
||||
<div>{highlightText(item.text, query)}</div>
|
||||
<span class="bp3-text-muted">
|
||||
<span class="bp4-text-muted">
|
||||
{highlightText(item.reference.invoice_no, query)}{' '}
|
||||
<Icon icon={'caret-right-16'} iconSize={16} />
|
||||
{item.reference.formatted_invoice_date}
|
||||
|
||||
@@ -26,12 +26,12 @@ export function PaymentReceiveFormFootetLeft() {
|
||||
}
|
||||
|
||||
const TermsConditsFormGroup = styled(FFormGroup)`
|
||||
&.bp3-form-group {
|
||||
.bp3-label {
|
||||
&.bp4-form-group {
|
||||
.bp4-label {
|
||||
font-size: 12px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.bp3-form-content {
|
||||
.bp4-form-content {
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ export function PaymentReceiveUniversalSearchItem(
|
||||
<div>
|
||||
<div>{highlightText(item.text, query)}</div>
|
||||
|
||||
<span class="bp3-text-muted">
|
||||
<span class="bp4-text-muted">
|
||||
{highlightText(item.reference.payment_receive_no, query)}{' '}
|
||||
<Icon icon={'caret-right-16'} iconSize={16} />
|
||||
{highlightText(item.reference.formatted_payment_date, query)}
|
||||
|
||||
@@ -36,26 +36,26 @@ export function ReceiptFormFooterLeft() {
|
||||
}
|
||||
|
||||
const ReceiptMsgFormGroup = styled(FFormGroup)`
|
||||
&.bp3-form-group {
|
||||
&.bp4-form-group {
|
||||
margin-bottom: 40px;
|
||||
|
||||
.bp3-label {
|
||||
.bp4-label {
|
||||
font-size: 12px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.bp3-form-content {
|
||||
.bp4-form-content {
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
const TermsConditsFormGroup = styled(FFormGroup)`
|
||||
&.bp3-form-group {
|
||||
.bp3-label {
|
||||
&.bp4-form-group {
|
||||
.bp4-label {
|
||||
font-size: 12px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.bp3-form-content {
|
||||
.bp4-form-content {
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -66,7 +66,7 @@ export function ReceiptUniversalSearchItem(
|
||||
text={
|
||||
<div>
|
||||
<div>{item.text}</div>
|
||||
<span class="bp3-text-muted">
|
||||
<span class="bp4-text-muted">
|
||||
{item.reference.receipt_number}{' '}
|
||||
<Icon icon={'caret-right-16'} iconSize={16} />
|
||||
{item.reference.formatted_receipt_date}
|
||||
|
||||
@@ -372,7 +372,7 @@ const TransLockingIcon = styled.div`
|
||||
border-radius: 8px;
|
||||
color: #93a1ba;
|
||||
|
||||
.bp3-icon {
|
||||
.bp4-icon {
|
||||
position: relative;
|
||||
top: 1px;
|
||||
}
|
||||
@@ -381,7 +381,7 @@ const TransLockingIcon = styled.div`
|
||||
export const TransLockingActions = styled.div`
|
||||
display: flex;
|
||||
|
||||
.bp3-divider {
|
||||
.bp4-divider {
|
||||
margin: 2px;
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -18,7 +18,7 @@ function UniversalSearchItemDetail(item, { handleClick, modifiers, query }) {
|
||||
<div>{highlightText(item.text, query)}</div>
|
||||
|
||||
{item.subText && (
|
||||
<span class="bp3-text-muted">
|
||||
<span class="bp4-text-muted">
|
||||
{highlightText(item.subText, query)}
|
||||
</span>
|
||||
)}
|
||||
|
||||
@@ -22,12 +22,12 @@ export function WarehouseTransferFormFooterLeft() {
|
||||
}
|
||||
|
||||
const TermsConditsFormGroup = styled(FFormGroup)`
|
||||
&.bp3-form-group {
|
||||
.bp3-label {
|
||||
&.bp4-form-group {
|
||||
.bp4-label {
|
||||
font-size: 12px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.bp3-form-content {
|
||||
.bp4-form-content {
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user