Adwaith Rao 3 лет назад
Родитель
Сommit
5732e7845c
4 измененных файлов: 382 добавлений и 437 удалений
  1. +152
    -0
      src/app/pages/register-business/_acknowledgement.scss
  2. +74
    -0
      src/app/pages/register-business/_payment.scss
  3. +153
    -0
      src/app/pages/register-business/_receipt.scss
  4. +3
    -437
      src/app/pages/register-business/register-business.component.scss

+ 152
- 0
src/app/pages/register-business/_acknowledgement.scss Просмотреть файл

@@ -0,0 +1,152 @@
.acknowledgement {
width: 100%;
margin: 0 auto;
h2 {
font-size: 2rem;
color: var(--dark-grey);
filter: brightness(80%);
font-weight: 500;
margin: 2rem 2rem 3rem;
}

.container {
width: calc(70% - 2rem);
margin: 2rem auto;

@media print {
width: calc(100% - 2rem);
}
}

.bill-container {
width: 70%;
box-shadow: 0 0 10px var(--shadow-grey);
border-radius: 1rem;
overflow: hidden;
margin: 0 auto 5rem;

@media print {
width: 100%;
}
}

.check-icon {
display: block;
width: 58px;
height: auto;
margin: 3rem auto 2rem;
}

h3 {
font-size: 3rem;
font-weight: normal;
text-align: center;
color: var(--success);
}

.bill-breakup {
margin-top: 3rem;
display: grid;
grid-template-columns: 1fr 1fr;
list-style: none;

li {
margin: 1.8rem;
width: 100%;
}

label {
display: block;
color: var(--dark-grey);
font-size: 1.6rem;
filter: brightness(80%);
}

.value {
display: block;
color: var(--dark-grey);
opacity: 0.8;
font-size: 1.6rem;
letter-spacing: 0.5px;
line-height: 1.6;
margin-top: 1rem;

&.active {
color: var(--highlight);
font-weight: normal;
}
}
}

.form-action-buttons {
margin: 2rem 1.5rem;

@media print {
display: none;
}
}

.total-amount {
text-align: center;
overflow: hidden;
padding: 1rem;
position: relative;

&::before {
content: '';
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: var(--footer-grey);
opacity: 0.4;
}

& > * {
position: relative;
}

label {
font-size: 2rem;
color: var(--dark-grey);
}

span {
margin-left: 1rem;
font-size: 2.4rem;
color: var(--highlight);
}
}

.message-board {
padding: 0 2rem;
list-style: none;

@media print {
display: none;
}
h5 {
font-size: 1.6rem;
color: var(--dark-grey);
filter: brightness(80%);
font-weight: 500;
}

li {
margin: 1.5rem 0;
line-height: 1.7;
letter-spacing: 0.5px;
font-size: 1.4rem;
color: var(--dark-grey);
opacity: 0.8;

a {
color: var(--highlight);
font-weight: 500;
}
}
}
}

+ 74
- 0
src/app/pages/register-business/_payment.scss Просмотреть файл

@@ -0,0 +1,74 @@
.payment-container {
padding: 1rem;
.payment-block {
padding: 3rem 4rem;
width: calc(40% - 2rem);
box-shadow: 0 0 10px var(--shadow-grey);
border-radius: 1rem;
margin: 0 auto 5rem;

.payment-title {
font-size: 2.2rem;
color: var(--dark-grey);
filter: brightness(50%);
font-weight: 500;
margin-bottom: 0.3rem;
}

.business-name {
font-size: 1.6rem;
color: var(--dark-grey);
font-weight: normal;
margin-bottom: 2rem;
}

.tabs {
display: flex;
font-size: 1.4rem;
border-bottom: 2px solid var(--border-grey);

.tab {
padding: 0.7rem 2rem;
margin-bottom: -2px;
cursor: pointer;

&.active {
margin-bottom: -4px;
color: var(--highlight);
border-bottom: 4px solid var(--highlight);
}
}
}

.tab-content {
color: var(--dark-grey);
font-size: 1.4rem;
line-height: 1.5;
padding: 1rem;
height: auto;
border-top: none;

p {
margin-bottom: 1.5rem;
}
}

.input-holder {
width: 20rem;
}

.total-price-container {
margin-top: 2.5rem;
padding: 0.5rem;
font-weight: bold;
font-size: 3.5rem;
border-top: 1px solid var(--border-grey);
color: var(--dark-grey);
}

.form-action-buttons {
margin-bottom: 0;
}
}
}

+ 153
- 0
src/app/pages/register-business/_receipt.scss Просмотреть файл

@@ -0,0 +1,153 @@
.receipt {
width: calc(100% - 4rem);
margin: 0 auto;
h2 {
font-size: 2rem;
color: var(--dark-grey);
filter: brightness(80%);
font-weight: 500;
margin: 2rem 0;
}

.bill-breakup {
display: grid;
grid-template-columns: 1fr 1fr;
list-style: none;

li {
margin-bottom: 1rem;
width: 100%;
display: flex;
align-items: center;
justify-content: flex-start;
}

label {
display: block;
color: var(--dark-grey);
font-size: 1.4rem;
}

.value {
display: block;
color: var(--dark-grey);
opacity: 0.8;
font-size: 1.6rem;
letter-spacing: 0.5px;
line-height: 1.6;
margin-left: 1rem;
}
}

.table {
margin: 2rem auto;
width: 100%;
border-radius: 1rem;
overflow: auto;
border: 2px solid var(--border-grey);
min-height: 10rem;
header {
background: linear-gradient(90deg, var(--secondary) 0%, var(--primary));
color: white;
font-size: 1.6rem;
display: flex;
align-items: center;
justify-content: flex-start;
height: 5.5rem;
font-weight: 300;
letter-spacing: 0.5px;
}
.cell {
width: calc(100% / 6);

@media print {
word-break: break-all;
}

&:nth-child(1) {
text-align: center;
width: 10rem;
}

&:nth-child(2) {
width: calc(20% + (10% - 10rem));
}

&:nth-child(3) {
width: 20%;
}

&:nth-child(4) {
width: 20%;
}

&:nth-child(5) {
width: 10%;
}

&:nth-child(3) {
width: 20%;
}
}
ul {
list-style: none;
}
li {
display: flex;
align-items: flex-start;
justify-content: flex-start;
padding: 2rem 0;
&:nth-child(even) {
background-color: var(--border-grey);
}
.cell {
font-size: 1.4rem;
color: var(--dark-grey);
line-height: 1.7;
}
}
}

.message-board {
width: 100%;
margin: 4rem 0;
list-style: none;
h5 {
font-size: 1.6rem;
color: var(--dark-grey);
filter: brightness(80%);
font-weight: 500;
margin-bottom: 1rem;
}

li {
margin: 0.5rem 0;
line-height: 1.7;
letter-spacing: 0.5px;
font-size: 1.4rem;
color: var(--dark-grey);
opacity: 0.8;

a {
color: var(--highlight);
font-weight: 500;
}
}
}

.form-action-buttons {
text-align: left;

@media print {
display: none;
}
}
}

+ 3
- 437
src/app/pages/register-business/register-business.component.scss Просмотреть файл

@@ -118,440 +118,6 @@
}
}

.year-select-input-holder {
width: 100%;
margin: 1.5rem 0;
position: relative;
display: flex;
align-items: center;
justify-content: flex-start;

label {
font-size: 1.4rem;
background-color: white;
color: var(--primary);
position: absolute;
top: 2.2rem;
left: -0.5rem;
padding: 0 0.5rem;
font-weight: 400;
letter-spacing: 0.5px;
transform: translate(2.5rem, -3rem);
}

select {
-webkit-appearance: none;
-moz-appearance: none;
text-indent: 1px;
text-overflow: '';

display: block;
width: 100%;
border-radius: 4rem;
height: 5.5rem;
border: 1px solid var(--border-grey);
padding: 0 2rem;
font-size: 1.5rem;
letter-spacing: 0.5px;
color: var(--dark-grey);
background-color: white;

&:focus {
border-color: var(--highlight);

&~label {
color: var(--highlight);
}
}
}

img {
position: relative;
transform: translateX(-4rem);
pointer-events: none;
background-color: white;
}
}


.payment-container {
padding: 1rem;
.payment-block {
padding: 3rem 4rem;
width: calc(40% - 2rem);
box-shadow: 0 0 10px var(--shadow-grey);
border-radius: 1rem;
margin: 0 auto 5rem;

.payment-title {
font-size: 2.2rem;
color: var(--dark-grey);
filter: brightness(50%);
font-weight: 500;
margin-bottom: 0.3rem;
}

.business-name {
font-size: 1.6rem;
color: var(--dark-grey);
font-weight: normal;
margin-bottom: 2rem;
}

.tabs {
display: flex;
font-size: 1.4rem;
border-bottom: 2px solid var(--border-grey);

.tab {
padding: 0.7rem 2rem;
margin-bottom: -2px;
cursor: pointer;

&.active {
margin-bottom: -4px;
color: var(--highlight);
border-bottom: 4px solid var(--highlight);
}
}
}

.tab-content {
color: var(--dark-grey);
font-size: 1.4rem;
line-height: 1.5;
padding: 1rem;
height: auto;
border-top: none;

p {
margin-bottom: 1.5rem;
}
}

.input-holder {
width: 20rem;
}

.total-price-container {
margin-top: 2.5rem;
padding: 0.5rem;
font-weight: bold;
font-size: 3.5rem;
border-top: 1px solid var(--border-grey);
color: var(--dark-grey);
}

.form-action-buttons {
margin-bottom: 0;
}
}
}

.acknowledgement {
width: 100%;
margin: 0 auto;
h2 {
font-size: 2rem;
color: var(--dark-grey);
filter: brightness(80%);
font-weight: 500;
margin: 2rem 2rem 3rem;
}

.container {
width: calc(70% - 2rem);
margin: 2rem auto;

@media print {
width: calc(100% - 2rem);
}
}

.bill-container {
width: 70%;
box-shadow: 0 0 10px var(--shadow-grey);
border-radius: 1rem;
overflow: hidden;
margin: 0 auto 5rem;

@media print {
width: 100%;
}
}

.check-icon {
display: block;
width: 58px;
height: auto;
margin: 3rem auto 2rem;
}

h3 {
font-size: 3rem;
font-weight: normal;
text-align: center;
color: var(--success);
}

.bill-breakup {
margin-top: 3rem;
display: grid;
grid-template-columns: 1fr 1fr;
list-style: none;

li {
margin: 1.8rem;
width: 100%;
}

label {
display: block;
color: var(--dark-grey);
font-size: 1.6rem;
filter: brightness(80%);
}

.value {
display: block;
color: var(--dark-grey);
opacity: 0.8;
font-size: 1.6rem;
letter-spacing: 0.5px;
line-height: 1.6;
margin-top: 1rem;

&.active {
color: var(--highlight);
font-weight: normal;
}
}
}

.form-action-buttons {
margin: 2rem 1.5rem;

@media print {
display: none;
}
}

.total-amount {
text-align: center;
overflow: hidden;
padding: 1rem;
position: relative;

&::before {
content: '';
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: var(--footer-grey);
opacity: 0.4;
}

& > * {
position: relative;
}

label {
font-size: 2rem;
color: var(--dark-grey);
}

span {
margin-left: 1rem;
font-size: 2.4rem;
color: var(--highlight);
}
}

.message-board {
padding: 0 2rem;
list-style: none;

@media print {
display: none;
}
h5 {
font-size: 1.6rem;
color: var(--dark-grey);
filter: brightness(80%);
font-weight: 500;
}

li {
margin: 1.5rem 0;
line-height: 1.7;
letter-spacing: 0.5px;
font-size: 1.4rem;
color: var(--dark-grey);
opacity: 0.8;

a {
color: var(--highlight);
font-weight: 500;
}
}
}
}

.receipt {
width: calc(100% - 4rem);
margin: 0 auto;
h2 {
font-size: 2rem;
color: var(--dark-grey);
filter: brightness(80%);
font-weight: 500;
margin: 2rem 0;
}

.bill-breakup {
display: grid;
grid-template-columns: 1fr 1fr;
list-style: none;

li {
margin-bottom: 1rem;
width: 100%;
display: flex;
align-items: center;
justify-content: flex-start;
}

label {
display: block;
color: var(--dark-grey);
font-size: 1.4rem;
}

.value {
display: block;
color: var(--dark-grey);
opacity: 0.8;
font-size: 1.6rem;
letter-spacing: 0.5px;
line-height: 1.6;
margin-left: 1rem;
}
}

.table {
margin: 2rem auto;
width: 100%;
border-radius: 1rem;
overflow: auto;
border: 2px solid var(--border-grey);
min-height: 10rem;
header {
background: linear-gradient(90deg, var(--secondary) 0%, var(--primary));
color: white;
font-size: 1.6rem;
display: flex;
align-items: center;
justify-content: flex-start;
height: 5.5rem;
font-weight: 300;
letter-spacing: 0.5px;
}
.cell {
width: calc(100% / 6);

@media print {
word-break: break-all;
}

&:nth-child(1) {
text-align: center;
width: 10rem;
}

&:nth-child(2) {
width: calc(20% + (10% - 10rem));
}

&:nth-child(3) {
width: 20%;
}

&:nth-child(4) {
width: 20%;
}

&:nth-child(5) {
width: 10%;
}

&:nth-child(3) {
width: 20%;
}
}
ul {
list-style: none;
}
li {
display: flex;
align-items: flex-start;
justify-content: flex-start;
padding: 2rem 0;
&:nth-child(even) {
background-color: var(--border-grey);
}
.cell {
font-size: 1.4rem;
color: var(--dark-grey);
line-height: 1.7;
}
}
}

.message-board {
width: 100%;
margin: 4rem 0;
list-style: none;
h5 {
font-size: 1.6rem;
color: var(--dark-grey);
filter: brightness(80%);
font-weight: 500;
margin-bottom: 1rem;
}

li {
margin: 0.5rem 0;
line-height: 1.7;
letter-spacing: 0.5px;
font-size: 1.4rem;
color: var(--dark-grey);
opacity: 0.8;

a {
color: var(--highlight);
font-weight: 500;
}
}
}

.form-action-buttons {
text-align: left;

@media print {
display: none;
}
}
}
@import 'acknowledgement';
@import 'payment';
@import 'receipt';

Загрузка…
Отмена
Сохранить