Skip to content

Commit 5661557

Browse files
committed
fix(arc-saas): changes in UI designs
changes in UI designs
1 parent a24884a commit 5661557

File tree

17 files changed

+111
-35
lines changed

17 files changed

+111
-35
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,16 +227,16 @@ <h3>Plan Configuration</h3>
227227
<button
228228
nbButton
229229
size="medium"
230-
status="danger"
230+
class="btn-danger"
231231
(click)="cancelEdit()"
232232
>
233233
Cancel
234234
</button>
235-
235+
236236
<button
237237
nbButton
238238
size="medium"
239-
status="danger"
239+
class="btn-danger"
240240
(click)="isEditMode ? editPlan() : addPlan()"
241241
>
242242
{{ isEditMode ? 'Save' : 'Add Plan' }}

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,10 @@ h3 {
119119
text-align: right;
120120
margin: 10px;
121121
padding: 10px;
122+
.btn-danger{
123+
background-color: #f00a18 !important;
124+
color: white !important;
125+
}
122126
}
123127

124128
input.ng-invalid.ng-touched {
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.edit-icon {
2-
color: #ff3d71;
2+
color: #ef0b16;
33
margin-right: 13px;
44
}
55
.delete-icon {
6-
color: #ff3d71;
6+
color: #ef0b16;
77
}

projects/saas-ui/src/app/main/components/manage-plans/manage-plans.component.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ <h2 class="heading">Manage Plan</h2>
66
<div class="regbtn">
77
<button
88
nbButton
9+
class="btn-danger"
910
size="medium"
1011
status="basic"
1112
(click)="showManagePlan()"

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,15 @@ <h2 class="heading">Onboarded Tenant List</h2>
77
<div class="regbtn">
88
<button
99
nbButton
10+
class="btn-danger"
1011
size="medium"
11-
status="danger"
1212
(click)="registerTenantPage()"
1313
>
1414
Add tenant
1515
</button>
1616
</div>
1717
</div>
1818

19-
<!-- loader -->
20-
<!-- <div *ngIf="loading" class="loader-overlay">
21-
<div class="loader"></div>
22-
</div> -->
23-
2419
<!-- ag-grid -->
2520
<div class="grid">
2621
<ag-grid-angular

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,17 +356,17 @@ <h5>{{ plan.name }}</h5>
356356
<div class="btn regbtn">
357357
<button
358358
nbButton
359+
class="btn-danger"
359360
size="medium"
360-
status="danger"
361361
(click)="backToPriviousPage()"
362362
>
363363
Cancel
364364
</button>
365365

366366
<button
367367
nbButton
368+
class="btn-danger"
368369
size="medium"
369-
status="danger"
370370
[disabled]="!tenantRegForm.valid"
371371
type="submit"
372372
>

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

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
.size-tag-wrapper{
2727
font-weight: 500;
2828
font-size: 13px;
29-
border: 1px solid #ded5d5;
29+
border: 1px solid #000;
3030
padding: 2px 12px;
3131
margin-left: 5px;
3232
}
@@ -157,6 +157,18 @@ input.ng-invalid.ng-touched {
157157
}
158158
}
159159

160+
.btn {
161+
text-align: right;
162+
// for testing purpose
163+
.btn-danger{
164+
background-color: #f00a18 !important;
165+
color: white !important;
166+
}
167+
// for testing purpose
168+
}
169+
170+
171+
160172
.address-input-box {
161173
width: 100%;
162174
}
@@ -323,7 +335,9 @@ input[nbInput] {
323335
}
324336

325337
.plan-card-header {
326-
background-image: linear-gradient(to right, rgba(255, 0, 0, 0), rgb(234 81 116));
338+
// background-image: linear-gradient(to right, rgba(255, 0, 0, 0), rgb(234 81 116));
339+
background-image: linear-gradient(to right, rgba(255, 0, 0, 0), rgb(240 10 24));
340+
327341
color: #fff;
328342
padding: 15px;
329343
text-align: left;
@@ -341,6 +355,9 @@ input[nbInput] {
341355
text-overflow: ellipsis;
342356
font-size: 16px;
343357
}
358+
.edit-icon{
359+
color: #000;
360+
}
344361
}
345362

346363
s .plan-card-body {

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
@use '@nebular/theme/styles/theming' as *;
44

55
@include nb-install-component() {
6-
--menu-item-active-text-color: #ff3d71;
7-
--menu-item-icon-active-color: #ff3d71;
8-
--menu-item-hover-text-color: #ff3d71;
9-
--menu-item-icon-hover-color: #ff3d71;
6+
--menu-item-active-text-color: #ef0b16;
7+
--menu-item-icon-active-color: #ef0b16;
8+
--menu-item-hover-text-color: #ef0b16;
9+
--menu-item-icon-hover-color: #ef0b16;
1010
.nav-container {
1111
display: flex;
1212
justify-content: space-between;
@@ -43,7 +43,8 @@
4343
.menu-item {
4444
a {
4545
&.active {
46-
color: red !important;
46+
// color: red !important;
47+
color: #f00a18 ;
4748
}
4849
}
4950
}

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@
3737
text-align: right;
3838
button {
3939
min-width: 200px;
40-
&:hover {
41-
background-color: #ff3d71;
42-
color: white;
40+
.btn-danger{
41+
background-color: #f00a18 !important;
42+
color: white !important;
4343
}
4444
}
4545
}

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,13 +215,18 @@ <h3>Signup to ARC-SaaS</h3>
215215

216216
<!-- signup button -->
217217
<div class="btn">
218-
<button nbButton size="medium" status="danger" (click)="onCancel()">
218+
<button
219+
nbButton
220+
size="medium"
221+
class="btn-danger"
222+
(click)="onCancel()"
223+
>
219224
Cancel
220225
</button>
221226
<button
222227
nbButton
223228
size="medium"
224-
status="danger"
229+
class="btn-danger"
225230
[disabled]="!addLeadForm.valid"
226231
type="submit"
227232
>

0 commit comments

Comments
 (0)