Skip to content

Commit 4faa62a

Browse files
committed
feat(arc-saas): uI design changes
UI design changes GH-87
1 parent af46d61 commit 4faa62a

25 files changed

+426
-132
lines changed

projects/saas-ui/src/app/main/components/add-plan/add-plan.component.scss

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,11 @@ ul {
176176
.details-wrapeer {
177177
border: 1px solid #cecece;
178178
padding: 20px;
179-
border-radius: 4px;
180-
margin-bottom: 20px;
179+
box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
180+
border: none;
181+
border-radius: 10px;
182+
margin: 20px 0 35px 0;
183+
181184
}
182185

183186
.input-box-wrapper {
@@ -268,5 +271,6 @@ ul {
268271
color: #007bff;
269272
font-size: 18px;
270273
z-index: 1;
274+
margin-right:10px;
271275
}
272276
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,24 @@
11
@use '../../styles/grid-styles.scss' as *;
2+
3+
.header-wrapper{
4+
color: red($color: #000000);
5+
}
6+
7+
.header-bold {
8+
font-weight: bold;
9+
font-family: 'Arial, sans-serif';
10+
font-size: 14px;
11+
color: #333;
12+
}
13+
14+
.ag-theme-quartz .ag-header-group-cell {
15+
font-weight: normal;
16+
font-size: 22px;
17+
18+
.ag-header-cell-sortable .ag-header-cell-label {
19+
cursor: pointer;
20+
font-weight: bold;
21+
font-size: 16px;
22+
}
23+
24+
}

projects/saas-ui/src/app/main/components/lead-list/lead-list.component.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,12 @@ import {HttpClient} from '@angular/common/http';
2323
export class LeadListComponent extends RouteComponentBaseDirective {
2424
// defining column names here
2525
colDefs: ColDef[] = [
26-
{field: 'firstName', width: 250, minWidth: 20},
26+
{
27+
field: 'firstName',
28+
width: 250,
29+
minWidth: 20,
30+
headerClass: 'header-bold',
31+
},
2732
{field: 'lastName', width: 250, minWidth: 20},
2833
{field: 'companyName', width: 250, minWidth: 20},
2934
{field: 'email', width: 300, minWidth: 20},

projects/saas-ui/src/app/main/components/onboarding-tenant-list/onboarding-tenant-list.component.scss

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,23 @@
1+
12
@use '../../styles/grid-styles.scss' as *;
23

34
.ag-theme-quartz {
45
width: 100%;
56
height: 400;
67
}
78

8-
.header-wrapper{
9+
.header-wrapper {
910
display: flex;
1011
justify-content: space-between;
1112
align-items: center;
1213
}
1314

14-
.a {
15+
a {
16+
text-decoration: none;
17+
color: #19a5ff;
18+
}
19+
20+
.ag-cell-value a{
1521
text-decoration: none;
1622
color: #19a5ff;
1723
}
@@ -41,11 +47,19 @@
4147
}
4248

4349
@-webkit-keyframes spin {
44-
0% { transform: rotate(0deg); }
45-
100% { transform: rotate(360deg); }
50+
0% {
51+
transform: rotate(0deg);
52+
}
53+
100% {
54+
transform: rotate(360deg);
55+
}
4656
}
4757

4858
@keyframes spin {
49-
0% { transform: rotate(0deg); }
50-
100% { transform: rotate(360deg); }
59+
0% {
60+
transform: rotate(0deg);
61+
}
62+
100% {
63+
transform: rotate(360deg);
64+
}
5165
}

projects/saas-ui/src/app/main/components/onboarding-tenant-list/onboarding-tenant-list.component.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,10 @@ export class OnboardingTenantListComponent extends RouteComponentBaseDirective {
148148
'//',
149149
`//${params.data?.key}.`,
150150
);
151-
return `<a href="${url}" target="_blank" class="company-link">
152-
${params.value}
153-
</a>`;
151+
return `<a href="${url}" target="_blank"
152+
style="color: #007bff; text-decoration: none;">
153+
${params.value}
154+
</a>`;
154155
}
155156

156157
getTotal() {

projects/saas-ui/src/app/main/components/tenant-registration/tenant-registration.component.html

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,26 +306,35 @@ <h3>Subscription Plan</h3>
306306
<div class="plan-card-wrapper">
307307
<nb-card
308308
class="plan-card-box"
309-
accent="danger"
310309
*ngFor="let plan of subscriptionPlans"
311310
>
312311
<nb-card-header class="plan-card-header">
313312
<h5>{{ plan.name }}</h5>
313+
<nb-icon
314+
class="edit-icon"
315+
icon="file-text-outline"
316+
pack="eva"
317+
size="large"
318+
></nb-icon>
314319
</nb-card-header>
315320
<nb-card-body class="plan-card-body">
316321
<p class="plan-description">{{ plan.description }}</p>
317322
<p class="plan-price" *ngIf="plan.tier || plan.size">
318323
{{ plan.tier }}
319324
<ng-container *ngIf="plan.size">
320325
<nb-tag
326+
class="size-tag-wrapper"
321327
*ngIf="plan.size"
322328
status="basic"
323329
appearance="filled"
324330
text="{{ plan.size }}"
325331
></nb-tag>
326332
</ng-container>
327333
</p>
328-
<p class="plan-price">${{ plan.price }}</p>
334+
<p class="numeric-plan-price">
335+
<span class="doller-wrapper">$</span>
336+
{{ plan.price }}
337+
</p>
329338
</nb-card-body>
330339
<nb-card-footer class="plan-card-footer">
331340
<label class="plan-radio">

projects/saas-ui/src/app/main/components/tenant-registration/tenant-registration.component.scss

Lines changed: 82 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,41 @@
1818
}
1919
}
2020

21+
.card-row {
22+
.sign-in-title {
23+
p {
24+
font-size: 16px;
25+
margin: 0 0 15px 0 !important;
26+
.size-tag-wrapper{
27+
font-weight: 500;
28+
font-size: 13px;
29+
border: 1px solid #ded5d5;
30+
padding: 2px 12px;
31+
margin-left: 5px;
32+
}
33+
}
34+
35+
h2 {
36+
font-size: 34px;
37+
font-weight: 700;
38+
margin: 50px 0 10px 0;
39+
}
40+
.plan-price{
41+
color: #535050;
42+
font-size: 15px;
43+
gap: 4px;
44+
align-items: center;
45+
display: flex;
46+
}
47+
.numeric-plan-price{
48+
color: #535050;
49+
font-size: 20px;
50+
gap: 4px;
51+
align-items: center;
52+
display: flex;
53+
}
54+
}
55+
}
2156
.info-icon {
2257
margin-left: 8px;
2358
cursor: pointer;
@@ -35,31 +70,46 @@
3570
border: 1px solid #dcdcdc;
3671
}
3772
}
73+
.input-title{
74+
span {
75+
font-size: 15px;
76+
font-weight: 500;
77+
}
78+
margin-bottom: 5px !important;
79+
}
80+
3881
}
39-
.input-box{
40-
.input{
41-
.payment-comment-box{
82+
83+
84+
.input-box {
85+
.input {
86+
.payment-comment-box {
4287
min-width: 100%;
4388
border: 1px solid #dcdcdc;
44-
}
89+
}
4590
}
4691
}
4792

48-
.input-wrapper{
49-
.input-box{
50-
.select{
51-
.dropdown-wrapper{
93+
.input-wrapper {
94+
.input-box {
95+
.select {
96+
.dropdown-wrapper {
5297
min-width: 100%;
5398
margin-top: 5px;
5499
border: 1px solid #dcdcdc;
55-
border-radius: 3px;
100+
border-radius: 3px;
56101
}
57102
}
58103
}
59104
}
60105

61-
nb-select{
62-
.select-button{
106+
.card-row{
107+
border-radius: 16px;
108+
box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
109+
}
110+
111+
nb-select {
112+
.select-button {
63113
height: 46px !important;
64114
margin-top: 5px !important;
65115
}
@@ -81,8 +131,6 @@ nb-select{
81131
}
82132
}
83133

84-
85-
86134
.error-msg {
87135
color: red;
88136
font-size: 14px;
@@ -140,7 +188,7 @@ input.ng-invalid.ng-touched {
140188
gap: 20px;
141189

142190
.plan-card-box {
143-
min-width: 23%;
191+
min-width: 32%;
144192
justify-content: space-between;
145193
}
146194
}
@@ -234,6 +282,10 @@ input[nbInput] {
234282
color: #007bff;
235283
}
236284

285+
.doller-wrapper{
286+
color: #f00a19;
287+
font-size: 16px;
288+
}
237289
// testing design card
238290
.plan-card-container {
239291
display: flex;
@@ -260,7 +312,7 @@ input[nbInput] {
260312

261313
.plan-card-box {
262314
width: 300px;
263-
border-radius: 8px;
315+
border-radius: 18px;
264316
overflow: hidden;
265317
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
266318
transition: transform 0.3s ease;
@@ -271,14 +323,23 @@ input[nbInput] {
271323
}
272324

273325
.plan-card-header {
274-
background: #e85b7b26;
326+
background-image: linear-gradient(to right, rgba(255, 0, 0, 0), rgb(234 81 116));
275327
color: #fff;
276328
padding: 15px;
277-
text-align: center;
329+
text-align: left;
330+
display: flex;
331+
justify-content: space-between;
332+
align-items: center;
278333

279334
h5 {
280335
font-size: 1.25em;
281336
margin: 0;
337+
display: inline-block;
338+
width: 95%;
339+
white-space: nowrap;
340+
overflow: hidden !important;
341+
text-overflow: ellipsis;
342+
font-size: 16px;
282343
}
283344
}
284345

@@ -294,6 +355,8 @@ input[nbInput] {
294355
.plan-price {
295356
font-size: 1.5em;
296357
font-weight: bold;
358+
font-size: 20px;
359+
color: #535050;
297360
}
298361
}
299362

@@ -334,9 +397,9 @@ input[nbInput] {
334397
}
335398
}
336399

337-
input[type='radio']:checked+.radio-checkmark::after {
400+
input[type='radio']:checked + .radio-checkmark::after {
338401
opacity: 1;
339402
}
340403
}
341404
}
342-
}
405+
}

projects/saas-ui/src/app/main/main.component.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
.column-wrapper {
1717
height: calc(100vh - 100px);
1818
overflow: hidden;
19+
padding:15px !important;
1920
}
2021
.logo-container {
2122
display: flex;

projects/saas-ui/src/app/main/styles/grid-styles.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,27 @@
99
justify-content: center;
1010
display: flex;
1111
width: 100%;
12+
border-radius:16px;
13+
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
1214
}
1315
.card-style {
1416
width: 100%;
1517
overflow: auto;
1618
height: calc(100vh - 120px);
19+
border-radius: 15px;
1720
}
1821
.ag-theme-quartz {
1922
width: 100%;
2023
height: 650px;
24+
--ag-font-family: sans-serif;
25+
--ag-font-size: 16px;
26+
.ag-header {
27+
font-family: cursive;
28+
}
29+
.ag-header-group-cell {
30+
font-weight: bold;
31+
font-size: 22px;
32+
}
2133
}
2234

2335
.regbtn {

projects/saas-ui/src/app/on-boarding/components/add-lead/add-lead.component.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<nb-card class="h-100 card-row">
1+
<nb-card class="card-row">
22
<nb-card-body class="m-0">
33
<div class="main-wrapper add-lead-wrapper">
44
<div>
@@ -215,6 +215,9 @@ <h3>Signup to ARC-SaaS</h3>
215215

216216
<!-- signup button -->
217217
<div class="btn">
218+
<button nbButton size="medium" status="danger" (click)="onCancel()">
219+
Cancel
220+
</button>
218221
<button
219222
nbButton
220223
size="medium"

0 commit comments

Comments
 (0)