mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 13:20:31 +00:00
feat: optimize setup style.
This commit is contained in:
@@ -7,20 +7,20 @@ export default function DashboardLoadingIndicator({
|
||||
className,
|
||||
children,
|
||||
}) {
|
||||
return (
|
||||
<div className={classNames(className)}>
|
||||
<Choose>
|
||||
<Choose.When condition={isLoading}>
|
||||
return (
|
||||
<Choose>
|
||||
<Choose.When condition={isLoading}>
|
||||
<div className={classNames('bigcapital-loading', className)}>
|
||||
<div class="center">
|
||||
<Icon icon="bigcapital" height={37} width={214} />
|
||||
<span>Please wait while resources loading...</span>
|
||||
<span class="text">Please wait while resources loading...</span>
|
||||
</div>
|
||||
</Choose.When>
|
||||
</div>
|
||||
</Choose.When>
|
||||
|
||||
<Choose.Otherwise>
|
||||
{ children }
|
||||
</Choose.Otherwise>
|
||||
</Choose>
|
||||
</div>
|
||||
<Choose.Otherwise>
|
||||
{ children }
|
||||
</Choose.Otherwise>
|
||||
</Choose>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ function SetupLeftSection({
|
||||
<section className={'setup-page__left-section'}>
|
||||
<div className={'content'}>
|
||||
<div className={'content__logo'}>
|
||||
<Icon icon="bigcapital" className={'bigcapital--alt'} height={37} width={214} />
|
||||
<Icon icon="bigcapital" className={'bigcapital--alt'} height={37} width={190} />
|
||||
</div>
|
||||
|
||||
<h1 className={'content__title'}>
|
||||
|
||||
@@ -70,4 +70,6 @@ function SetupSubscriptionForm({
|
||||
);
|
||||
}
|
||||
|
||||
export default compose(withBillingActions)(SetupSubscriptionForm);
|
||||
export default compose(
|
||||
withBillingActions,
|
||||
)(SetupSubscriptionForm);
|
||||
|
||||
@@ -67,7 +67,7 @@ $pt-font-family: Noto Sans, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto,
|
||||
@import 'pages/register-organizaton';
|
||||
|
||||
// Views
|
||||
@import 'views/filter-dropdown';
|
||||
@import 'views/filter-dropdown';
|
||||
@import 'views/sidebar';
|
||||
@import 'pages/estimate';
|
||||
|
||||
@@ -175,3 +175,24 @@ body.authentication {
|
||||
.bp3-popover.bp3-tooltip {
|
||||
max-width: 300px;
|
||||
}
|
||||
|
||||
|
||||
.bigcapital-loading{
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
display: flex;
|
||||
|
||||
.center{
|
||||
width: auto;
|
||||
margin: auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.text{
|
||||
margin-top: 12px;
|
||||
opacity: 0.85;
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@@ -15,7 +15,7 @@
|
||||
width: 30%;
|
||||
height: 1px;
|
||||
min-width: 300px;
|
||||
max-width: 400px;
|
||||
max-width: 350px;
|
||||
}
|
||||
|
||||
h1{
|
||||
@@ -38,7 +38,7 @@
|
||||
width: 30%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
max-width: 400px;
|
||||
max-width: 350px;
|
||||
min-width: 300px;
|
||||
|
||||
.content {
|
||||
@@ -51,26 +51,29 @@
|
||||
height: 100%;
|
||||
|
||||
&__logo {
|
||||
opacity: 0.75;
|
||||
opacity: 0.65;
|
||||
margin-bottom: 60px;
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
&__title {
|
||||
font-size: 28px;
|
||||
font-size: 26px;
|
||||
font-weight: 600;
|
||||
line-height: normal;
|
||||
margin-bottom: 20px;
|
||||
margin-top: 14px;
|
||||
color: rgba(255, 255, 255, 0.85);
|
||||
color: rgba(255, 255, 255, 0.75);
|
||||
}
|
||||
|
||||
&__text {
|
||||
font-size: 16px;
|
||||
opacity: 0.85;
|
||||
opacity: 0.75;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
&__organization {
|
||||
font-size: 16px;
|
||||
opacity: 0.85;
|
||||
opacity: 0.75;
|
||||
|
||||
span > a {
|
||||
text-decoration: underline;
|
||||
@@ -78,33 +81,30 @@
|
||||
margin-top: 6px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.organization-id{
|
||||
.id{
|
||||
font-weight: bold;
|
||||
border-bottom: 2px solid rgba(255, 255, 255, 0.4);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__divider{
|
||||
height: 3px;
|
||||
width: 100px;
|
||||
background: rgba(255, 255, 255, 0.25);
|
||||
margin: 22px 0;
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
margin: 20px 0;
|
||||
}
|
||||
|
||||
&__footer{
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
&__contact-info {
|
||||
font-size: 16px;
|
||||
margin-bottom: 20px;
|
||||
opacity: 0.85;
|
||||
opacity: 0.75;
|
||||
padding-bottom: 5px;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.15);
|
||||
}
|
||||
|
||||
&__links{
|
||||
text-align: left;
|
||||
opacity: 0.75;
|
||||
opacity: 0.55;
|
||||
|
||||
> div{
|
||||
font-size: 13px;
|
||||
|
||||
Reference in New Issue
Block a user