WIP / Design login and register page.

This commit is contained in:
elforjani3
2020-04-29 17:36:02 +02:00
parent 6d0ad42582
commit b8b8283385
11 changed files with 1050 additions and 447 deletions

View File

@@ -1,9 +1,9 @@
@import './normalize.scss';
@import "./normalize.scss";
$pt-popover-box-shadow: 0 0 0 1px rgba(16, 22, 26, 0.02),
0 2px 4px rgba(16, 22, 26, 0.1), 0 8px 24px rgba(16, 22, 26, 0.1);
$pt-popover-box-shadow: 0 0 0 1px rgba(16, 22, 26, 0.02), 0 2px 4px rgba(16, 22, 26, 0.1), 0 8px 24px rgba(16, 22, 26, 0.1);
@import "@blueprintjs/core/src/common/_variables.scss";
@import '@blueprintjs/core/src/common/_variables.scss';
// @import "@blueprintjs/core/src/common/colors.scss";
$menu-item-color-hover: $light-gray4;
@@ -12,52 +12,62 @@ $menu-item-color-active: $light-gray3;
$breadcrumbs-collapsed-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#6B8193' enable-background='new 0 0 16 16' xml:space='preserve'><g><circle cx='2' cy='8.03' r='2'/><circle cx='14' cy='8.03' r='2'/><circle cx='8' cy='8.03' r='2'/></g></svg>");
// Blueprint framework.
@import "@blueprintjs/core/src/blueprint.scss";
@import "@blueprintjs/datetime/src/blueprint-datetime.scss";
@import '@blueprintjs/core/src/blueprint.scss';
@import '@blueprintjs/datetime/src/blueprint-datetime.scss';
@import "basscss";
@import 'basscss';
$pt-font-family: Noto Sans, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Open Sans, Helvetica Neue, Icons16, sans-serif;
$pt-font-family: Noto Sans, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto,
Oxygen, Ubuntu, Cantarell, Open Sans, Helvetica Neue, Icons16, sans-serif;
@import "functions";
@import 'functions';
// Objects
@import "objects/form";
@import "objects/typography";
@import "objects/buttons";
@import 'objects/form';
@import 'objects/typography';
@import 'objects/buttons';
// Components
@import "components/data-table";
@import "components/dialog";
// Pages
@import "pages/dashboard";
@import "pages/accounts-chart";
@import "pages/authentication";
@import "pages/expense-form";
@import "pages/financial-statements";
@import "pages/make-journal-entries";
@import "pages/preferences";
@import "pages/view-form";
@import "pages/manual-journals";
@import "pages/item-category";
@import "pages/items";
@import "pages/currency";
// Views
@import "views/filter-dropdown";
@import "views/sidebar";
@import 'components/data-table';
@import 'components/dialog';
.#{$ns}-tooltip{
// Pages
@import 'pages/dashboard';
@import 'pages/accounts-chart';
@import 'pages/authentication';
@import 'pages/expense-form';
@import 'pages/financial-statements';
@import 'pages/make-journal-entries';
@import 'pages/preferences';
@import 'pages/view-form';
@import 'pages/manual-journals';
@import 'pages/item-category';
@import 'pages/items';
@import 'pages/currency';
// Views
@import 'views/filter-dropdown';
@import 'views/sidebar';
.#{$ns}-tooltip {
box-shadow: none;
}
[data-icon='bigcapital'] {
path{
path {
fill: #004dd0;
}
.path-1,
.path-13{
.path-13 {
fill: #2d95fd;
}
}
}
.App {
background-color: #fcfdff;
min-height: 100vh;
display: flex;
// flex-direction: column;
// align-items: center;
justify-content: center;
// font-size: calc(10px + 2vmin);
// color: white;
}

View File

@@ -1,26 +1,266 @@
.authentication-page{
&__form-wrapper{
.authentication-page {
&__form-wrapper {
width: 100%;
max-width: 350px;
max-width: 450px;
padding: 15px;
margin: 0 auto;
}
.login-page{
// Login Form
.login-form {
width: 385px;
.input-group{
&--email-phone-number{
margin-bottom: 1rem;
&__icon-section {
margin: 0 auto;
}
&__label-section {
h3 {
font-weight: normal;
margin: 0;
font-size: 24px;
margin-bottom: 14px;
}
&--password{
margin-bottom: 1rem;
a {
text-decoration: underline;
color: #0040bd;
}
margin-bottom: 30px;
}
.bp3-form-group {
.bp3-form-content {
width: 384px;
min-height: 40px;
}
}
.bp3-icon-eye-open {
display: inline-block;
justify-content: space-between;
flex: 0 0 auto;
vertical-align: text-bottom;
margin: 0px 5px 0px 265px;
}
&__checkbox-section {
margin: -10px 0 30px 0px;
}
&__floating-footer-section {
margin: 0px 0px 24px 0px;
.btn-login {
display: inline-flex;
align-items: center;
justify-content: center;
background-color: #0052cc;
min-height: 45px;
}
}
}
&__footer{
margin-top: 1rem;
text-align: center;
//Register Form
.register-form {
width: 384px;
&__icon-section {
margin: 0 auto;
}
&__label-section {
h3 {
font-weight: normal;
margin: 0;
font-size: 24px;
margin-bottom: 14px;
}
margin-bottom: 35px;
a {
text-decoration: underline;
color: #0040bd;
}
}
.bp3-input {
min-height: 40px;
}
&__statement-section {
margin-top: -10px;
p {
font-size: 13px;
margin-top: -10px;
margin-bottom: 20px;
line-height: 25px;
}
}
.bp3-icon-eye-open {
display: inline-block;
justify-content: space-between;
flex: 0 0 auto;
vertical-align: text-bottom;
margin: 0px 5px 0px 265px;
}
&__floating-footer-section {
margin: 25px 0px 25px 0px;
.btn-register {
display: inline-flex;
align-items: center;
justify-content: center;
background-color: #0052cc;
min-height: 45px;
width: 100%;
}
}
}
}
// Send Reset Form
.reset-form {
width: 385px;
&__icon-section {
margin: 0 auto;
}
&__label-section {
h3 {
font-weight: normal;
margin: 0;
font-size: 24px;
margin-bottom: 14px;
}
margin-bottom: 30px;
}
&__footer-section {
padding: 14px 16px;
border-top: 1px solid #ececec;
margin: 0px 0px 25px auto;
border-bottom: 1px solid #ececec;
text-align: center;
a {
text-decoration: none;
color: #0040bd;
}
}
&__floating-section {
margin: 30px 0px 25px auto;
.btn-send {
display: inline-flex;
align-items: center;
justify-content: center;
background-color: #0052cc;
min-height: 45px;
width: 100%;
}
}
}
// Reset New Password Form
.submit-np-form {
width: 384px;
&__icon-section {
margin: 0 auto;
}
&__label-section {
h3 {
font-weight: normal;
margin: 0;
font-size: 24px;
margin-bottom: 14px;
}
a {
text-decoration: underline;
color: #0040bd;
}
margin-bottom: 30px;
}
.bp3-input {
min-height: 40px;
}
&__floating-footer-section {
margin: 20px 0px 30px auto;
.btn-new {
display: inline-flex;
align-items: center;
justify-content: center;
background-color: #0052cc;
min-height: 45px;
width: 100%;
}
}
}
// Invite Accept Form
.invite-form {
width: 384px;
&__icon-section {
margin: 0 auto;
}
&__label-section {
h3 {
font-weight: normal;
margin: 0;
font-size: 24px;
margin-bottom: 14px;
}
margin-bottom: 30px;
}
.bp3-input {
min-height: 40px;
}
.bp3-icon-eye-open {
display: inline-block;
justify-content: space-between;
flex: 0 0 auto;
vertical-align: text-bottom;
margin: 0px 5px 0px 265px;
}
&__statement-section {
margin-top: -10px;
p {
font-size: 13px;
margin-bottom: 20px;
line-height: 25px;
}
}
&__floating-footer {
margin: 20px 0px 20px auto;
.btn-invite {
display: inline-flex;
align-items: center;
justify-content: center;
background-color: #0052cc;
min-height: 45px;
width: 100%;
}
}
}
.bp3-icon-bigcapital {
display: inline-block;
flex: 0 0 auto;
vertical-align: text-bottom;
margin-left: 100px;
}
}
// Copyright Page
.copyright-page {
text-align: center;
line-height: 14px;
}