@chat21/chat21-ionic 3.0.107-rc.3 → 3.0.107-rc.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/package.json +1 -1
  3. package/src/app/app.component.ts +99 -29
  4. package/src/app/chatlib/conversation-detail/conversation-content/conversation-content.component.scss +0 -1
  5. package/src/app/chatlib/conversation-detail/ion-conversation-detail/ion-conversation-detail.component.scss +9 -9
  6. package/src/app/chatlib/conversation-detail/message/info-message/info-message.component.scss +5 -7
  7. package/src/app/chatlib/conversation-detail/message/options/options.component.scss +2 -2
  8. package/src/app/chatlib/conversation-detail/message/return-receipt/return-receipt.component.scss +1 -1
  9. package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.html +1 -1
  10. package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.scss +22 -55
  11. package/src/app/components/canned-response/canned-response.component.scss +9 -2
  12. package/src/app/components/contacts-directory/contacts-directory.component.scss +4 -56
  13. package/src/app/components/conversation-detail/header-conversation-detail/header-conversation-detail.component.scss +5 -6
  14. package/src/app/components/conversation-detail/message-text-area/message-text-area.component.scss +16 -5
  15. package/src/app/components/conversation-detail/message-text-area/message-text-area.component.ts +5 -0
  16. package/src/app/components/conversation-info/advanced-info-accordion/advanced-info-accordion.component.html +11 -19
  17. package/src/app/components/conversation-info/advanced-info-accordion/advanced-info-accordion.component.scss +15 -19
  18. package/src/app/components/conversation-info/info-direct/info-direct.component.scss +6 -5
  19. package/src/app/components/conversation-info/info-group/info-group.component.html +2 -2
  20. package/src/app/components/conversation-info/info-group/info-group.component.scss +11 -2
  21. package/src/app/components/conversation-info/info-support-group/info-support-group.component.html +2 -1
  22. package/src/app/components/conversation-info/info-support-group/info-support-group.component.ts +46 -3
  23. package/src/app/components/conversations-list/header-conversations-list/header-conversations-list.component.html +2 -1
  24. package/src/app/components/conversations-list/header-conversations-list/header-conversations-list.component.scss +3 -2
  25. package/src/app/components/conversations-list/header-conversations-list-archived/header-conversations-list-archived.component.scss +5 -3
  26. package/src/app/components/conversations-list/header-conversations-list-unassigned/header-conversations-list-unassigned.component.scss +5 -3
  27. package/src/app/components/navbar/navbar.component.html +10 -14
  28. package/src/app/components/navbar/navbar.component.scss +33 -17
  29. package/src/app/components/sidebar/sidebar.component.html +49 -67
  30. package/src/app/components/sidebar/sidebar.component.scss +44 -29
  31. package/src/app/components/sidebar-user-details/sidebar-user-details.component.html +5 -5
  32. package/src/app/components/sidebar-user-details/sidebar-user-details.component.scss +47 -93
  33. package/src/app/components/sidebar-user-details/sidebar-user-details.component.ts +11 -13
  34. package/src/app/modals/create-canned-response/create-canned-response.page.html +2 -20
  35. package/src/app/modals/create-canned-response/create-canned-response.page.scss +44 -27
  36. package/src/app/modals/create-ticket/create-ticket.page.html +4 -4
  37. package/src/app/modals/create-ticket/create-ticket.page.scss +34 -1
  38. package/src/app/modals/json-message/json-message.page.scss +15 -1
  39. package/src/app/modals/loader-preview/loader-preview.page.html +1 -1
  40. package/src/app/modals/loader-preview/loader-preview.page.scss +19 -1
  41. package/src/app/modals/maps/maps.page.scss +18 -0
  42. package/src/app/modals/send-email/send-email.page.scss +30 -7
  43. package/src/app/modals/send-whatsapp-template/send-whatsapp-template.page.html +1 -1
  44. package/src/app/modals/send-whatsapp-template/send-whatsapp-template.page.scss +18 -0
  45. package/src/app/pages/contacts-directory/contacts-directory.page.html +9 -10
  46. package/src/app/pages/contacts-directory/contacts-directory.page.scss +5 -3
  47. package/src/app/pages/contacts-directory/contacts-directory.page.ts +0 -15
  48. package/src/app/pages/conversation-detail/conversation-detail.page.scss +5 -5
  49. package/src/app/pages/conversation-detail/conversation-detail.page.ts +10 -11
  50. package/src/app/pages/conversations-list/conversations-list.page.html +0 -1
  51. package/src/app/pages/conversations-list/conversations-list.page.scss +6 -17
  52. package/src/app/pages/conversations-list/conversations-list.page.ts +9 -18
  53. package/src/app/pages/profile-info/profile-info.page.html +4 -4
  54. package/src/app/pages/profile-info/profile-info.page.scss +43 -25
  55. package/src/app/pages/profile-info/profile-info.page.ts +2 -1
  56. package/src/app/pages/unassigned-conversations/unassigned-conversations.page.html +5 -5
  57. package/src/app/pages/unassigned-conversations/unassigned-conversations.page.scss +2 -2
  58. package/src/app/pages/unassigned-conversations/unassigned-conversations.page.ts +48 -1
  59. package/src/assets/customStyle.css +39 -0
  60. package/src/assets/test.html +38 -4
  61. package/src/chat21-core/providers/firebase/firebase-conversations-handler.ts +1 -0
  62. package/src/chat21-core/providers/mqtt/mqtt-conversations-handler.ts +2 -1
  63. package/src/chat21-core/providers/native/native-upload-service.ts +1 -1
  64. package/src/chat21-core/providers/tiledesk/tiledesk-auth.service.ts +21 -9
  65. package/src/global.scss +52 -137
  66. package/src/index.html +1 -1
  67. package/src/theme/variables.scss +276 -149
  68. package/src/variables.scss +115 -21
@@ -48,7 +48,6 @@ ion-header {
48
48
  min-height: 40px;
49
49
  line-height: 40px;
50
50
  vertical-align: middle;
51
- color: var(--white);
52
51
  .avatar-placeholder {
53
52
  position: absolute;
54
53
  top:0;
@@ -58,7 +57,7 @@ ion-header {
58
57
  border-radius: 50%;
59
58
  text-align: center;
60
59
  font-size: 16px;
61
- color: var(--withe);
60
+ color: var(--avatar-placeholder-color);
62
61
  font-weight: 500;
63
62
  }
64
63
  .avatar-profile {
@@ -70,7 +69,7 @@ ion-header {
70
69
  background-size: cover;
71
70
  background-position: top center;
72
71
  border-radius: 50%;
73
- border-color: var(--basic-gray);
72
+ border-color: #c3c3c3;
74
73
  border-style: solid;
75
74
  border-width: 0px;
76
75
  }
@@ -84,7 +83,7 @@ ion-header {
84
83
  margin: 0;
85
84
  padding: 0;
86
85
 
87
- color: #1f2d3d;
86
+ color: var(--conversation-detail-header-color);
88
87
  font-weight: 400; //600;
89
88
  -webkit-font-smoothing: antialiased;
90
89
  text-rendering: optimizeLegibility;
@@ -117,13 +116,13 @@ ion-header {
117
116
  vertical-align: middle;
118
117
  position: relative;
119
118
  .tile-typing-now {
120
- color: var(--basic-blue);
119
+ color: var(--conversation-detail-header-typing-color)
121
120
  }
122
121
  }
123
122
 
124
123
  ion-buttons {
125
124
  ion-icon , span{
126
- color: var(--basic-blue)
125
+ color: var(--icon-color)
127
126
  }
128
127
  button {
129
128
  max-width: 30px;
@@ -3,20 +3,20 @@
3
3
  -webkit-box-align: center;
4
4
  align-items: center;
5
5
  padding: 0px 16px 0px;
6
- border-bottom: 1px solid rgb(239, 242, 246);
6
+ border-bottom: 1px solid var(--border-color-base);
7
7
  border-top: 3px solid var(--basic-blue);
8
8
 
9
9
  .section-option{
10
10
  line-height: 16px;
11
11
  letter-spacing: -0.01em;
12
- color: rgb(100, 116, 145);
12
+ color: var(--icon-color);
13
13
  position: relative;
14
14
  display: flex;
15
15
  align-items: flex-end;
16
16
  border-radius: 4px;
17
17
 
18
18
  ion-button{
19
- color: rgb(135, 150, 175);
19
+ color: var(--icon-color);
20
20
  font-size: 11px;
21
21
  margin: 2px;
22
22
  padding-bottom: 0px;
@@ -76,7 +76,7 @@
76
76
  margin: 0;
77
77
 
78
78
  ion-icon{
79
- color: var(--basic-blue);
79
+ color: var(--icon-color);
80
80
  }
81
81
  .buttons-left {
82
82
  // position: absolute;
@@ -141,7 +141,7 @@
141
141
  // min-height: 30px;
142
142
  min-height: 37px; // NK edited
143
143
  max-height: 184px;
144
- background-color: rgba(0, 0, 0, 0.05);
144
+ background-color: var(--textarea-background);
145
145
  // --padding-top: 5px; // NK edited
146
146
  --padding-top: 8px;
147
147
  --padding-bottom: 5px;
@@ -264,6 +264,17 @@
264
264
  right: -123px;
265
265
  width: 230px;
266
266
  }
267
+
268
+ emoji-mart::ng-deep{
269
+ .emoji-mart{
270
+ background-color: var(--emojii-mart-background);
271
+ border-color: var(--emoji-mart-color);
272
+ }
273
+ .emoji-mart-category-label span{
274
+ background-color: var(--emojii-mart-background);
275
+ color: var(--emoji-mart-color);
276
+ }
277
+ }
267
278
  // input[placeholder] { text-overflow: ellipsis; }
268
279
  // ::-moz-placeholder { text-overflow: ellipsis; } /* firefox 19+ */
269
280
  // input:-moz-placeholder { text-overflow: ellipsis; }
@@ -248,6 +248,7 @@ export class MessageTextAreaComponent implements OnInit, AfterViewInit, OnChange
248
248
  this.logger.log('[CONVS-DETAIL][MSG-TEXT-AREA] - onFileSelected event', e);
249
249
  this.logger.log("[CONVS-DETAIL][MSG-TEXT-AREA] - onFileSelected this.messageString ", this.messageString);
250
250
  this.msg = this.messageString
251
+ this.showEmojiPicker = false
251
252
  setTimeout(() => {
252
253
  this.messageString = "";
253
254
  }, 100);
@@ -257,16 +258,19 @@ export class MessageTextAreaComponent implements OnInit, AfterViewInit, OnChange
257
258
 
258
259
  onOpenSection(section:string){
259
260
  this.section = section
261
+ this.showEmojiPicker = false
260
262
  this.onOpenFooterSection.emit(section)
261
263
  }
262
264
 
263
265
  onOpenEmailModal(){
264
266
  this.logger.log('[CONVS-DETAIL][MSG-TEXT-AREA] - onOpenEmailModal');
267
+ this.showEmojiPicker = false
265
268
  this.presentEmailModal()
266
269
  }
267
270
 
268
271
  onOpenTemplateModal(){
269
272
  this.logger.log('[CONVS-DETAIL][MSG-TEXT-AREA] - onOpenTemplateModal');
273
+ this.showEmojiPicker = false
270
274
  this.prensentTemplateModal();
271
275
  }
272
276
 
@@ -583,6 +587,7 @@ export class MessageTextAreaComponent implements OnInit, AfterViewInit, OnChange
583
587
 
584
588
  openCannedResponses() {
585
589
  this.onClickOpenCannedResponses.emit();
590
+ this.showEmojiPicker = false;
586
591
  }
587
592
 
588
593
 
@@ -16,30 +16,22 @@
16
16
  <div class="attributes-icon-wpr-1">
17
17
  <div class="attributes-icon-wpr-2">
18
18
  <span class="material-icons">
19
- {{ attr.icon }}
20
-
19
+ {{ attr.icon }}
21
20
  </span>
22
21
  </div>
23
22
  </div>
24
23
 
25
24
  <div class="attributes-title-subtitle-wpr-1">
26
- <div class="attributes-title-subtitle-wpr-2">
27
-
28
- <div class="attributes-title-subtitle-wpr-3">
29
- <div class="attributes-title-wpr">
30
- <span class="attributes-title">
31
- <!-- {{ attr.key }} -->
32
- {{ translationMap?.get(attr.key) }}
33
- </span>
34
- </div>
35
-
36
-
37
- <div class="attributes-subtitle-wpr">
38
- <span class="attributes-subtitle">
39
- {{ attr.value}}
40
- </span>
41
- </div>
42
- </div>
25
+ <div class="attributes-title-wpr">
26
+ <span class="attributes-title">
27
+ <!-- {{ attr.key }} -->
28
+ {{ translationMap?.get(attr.key) }}
29
+ </span>
30
+ </div>
31
+ <div class="attributes-subtitle-wpr">
32
+ <span class="attributes-subtitle">
33
+ {{ attr.value}}
34
+ </span>
43
35
  </div>
44
36
  </div>
45
37
  </div>
@@ -1,8 +1,12 @@
1
1
  /* Style the buttons that are used to open and close the accordion panel */
2
2
  .advanced-info-accordion {
3
3
  transition: 0.4s;
4
- --background-hover: #f5f7f9;
4
+ --background-hover: unset;
5
5
  --ripple-color: transparent;
6
+
7
+ ion-icon{
8
+ color: var(--icon-color);
9
+ }
6
10
  }
7
11
 
8
12
  /* Style the accordion panel. Note: hidden by default */
@@ -48,7 +52,7 @@
48
52
  position: absolute;
49
53
  left: 0px;
50
54
  text-transform: none;
51
- color: #050505;
55
+ color: var(--icon-color);
52
56
  }
53
57
  .icon-with-background {
54
58
  vertical-align: middle;
@@ -65,6 +69,7 @@
65
69
  .attributes-wpr {
66
70
  position: relative;
67
71
  display: flex;
72
+ gap: 5px;
68
73
  justify-content: space-between;
69
74
  flex-grow: 1;
70
75
  align-items: center;
@@ -80,11 +85,15 @@
80
85
  .attributes-icon-wpr-2 {
81
86
  height: 36px;
82
87
  width: 36px;
83
- background-color: #e4e6eb;
88
+ background-color: var(--icon-color);
84
89
  display: flex;
85
90
  align-items: center;
86
91
  justify-content: center;
87
92
  border-radius: 50%;
93
+
94
+ span.material-icons{
95
+ color: var(--info-direct-detail-accordion-background);
96
+ }
88
97
  }
89
98
 
90
99
  .attributes-title-subtitle-wpr-1 {
@@ -92,27 +101,14 @@
92
101
  display: flex;
93
102
  justify-content: space-between;
94
103
  flex-grow: 1;
95
- flex-direction: row;
96
- align-items: center;
97
- }
98
-
99
- .attributes-title-subtitle-wpr-2 {
100
- flex-direction: column;
101
- padding-bottom: 12px;
102
- flex-direction: column;
103
- flex-grow: 1;
104
- padding-left: 0;
105
- }
106
- .attributes-title-subtitle-wpr-3 {
107
- display: flex;
108
104
  flex-direction: column;
109
- margin-left: 5px;
105
+ align-items: flex-start;
110
106
  }
111
107
 
112
108
  .attributes-title {
113
109
  text-align: left;
114
110
  word-break: break-word;
115
- color: #050505;
111
+ color: var(--info-direct-color-accordion-color-title);
116
112
  font-size: 0.9375rem;
117
113
  -webkit-font-smoothing: antialiased;
118
114
  font-weight: 500;
@@ -127,7 +123,7 @@
127
123
  }
128
124
 
129
125
  .attributes-subtitle {
130
- color: #65676b;
126
+ color: var(--info-direct-color-accordion-color-subtitle);
131
127
  word-break: break-word;
132
128
  font-weight: normal;
133
129
  line-height: 1.2308;
@@ -1,5 +1,5 @@
1
1
  ion-content{
2
- --background: var(--list-bkg-color);
2
+ --background: var(--conversation-detail-background);
3
3
  }
4
4
 
5
5
  .member-profile {
@@ -17,7 +17,8 @@ ion-content{
17
17
  border-radius: 0;
18
18
  -webkit-box-shadow: none;
19
19
  box-shadow: none;
20
- border-bottom: 1px solid rgba(169, 169, 169, 0.2);
20
+ background: transparent;
21
+ border-bottom: 1px solid var(--border-color-base);
21
22
  }
22
23
 
23
24
  .image-profile {
@@ -48,7 +49,7 @@ ion-content{
48
49
  user-select: text;
49
50
  font-family: "Roboto", "Helvetica Neue", sans-serif;
50
51
  -webkit-box-direction: normal;
51
- color: #333333;
52
+ color: var(--info-text-color);
52
53
  font-weight: 500;
53
54
  font-size: 17px;
54
55
  box-sizing: border-box;
@@ -70,7 +71,7 @@ ion-content{
70
71
  margin-right: 8px !important;
71
72
 
72
73
  margin-top: 12px !important;
73
- background-color: #fff;
74
+ background-color: var(--info-direct-detail-accordion-background);
74
75
  border-radius: 4px;
75
76
  box-shadow: rgba(0, 27, 71, 0.08) 0px 3px;
76
77
 
@@ -83,7 +84,7 @@ ion-content{
83
84
  width: 100%;
84
85
 
85
86
  &:hover{
86
- background-color: #f5f7f9;
87
+ background-color: var(--info-direct-color-accordion-hover);
87
88
  }
88
89
  }
89
90
 
@@ -19,7 +19,7 @@
19
19
  </ion-card>
20
20
 
21
21
  <ion-list id="fake-members-list" *ngIf="displaySkeletonScreen">
22
- <ion-item lines="none" *ngFor="let fake of generateFake(membersObjectLength)" style="margin-left:-3px">
22
+ <ion-item color="none" lines="none" *ngFor="let fake of generateFake(membersObjectLength)" style="margin-left:-3px">
23
23
  <ion-avatar slot="start">
24
24
  <ion-skeleton-text animated style="width: 44px; height: 44px;"></ion-skeleton-text>
25
25
  </ion-avatar>
@@ -33,7 +33,7 @@
33
33
 
34
34
  <!-- <pre style="font-size: 8px;"> {{member_array | json }} </pre> <pre style="font-size: 8px;"> {{displaySkeletonScreen}} </pre> -->
35
35
  <ion-list id="members-list" *ngIf="groupDetail?.member_array?.length > 0 && !displaySkeletonScreen">
36
- <ion-item lines="none" *ngFor='let member of groupDetail?.member_array'>
36
+ <ion-item color="none" lines="none" *ngFor='let member of groupDetail?.member_array'>
37
37
  <ion-avatar slot="start" style="margin-right: 12px;">
38
38
  <app-avatar-profile [itemAvatar]=member></app-avatar-profile>
39
39
  <div class="status-icon-container" [class.mobile]="isMobile" >
@@ -1,3 +1,7 @@
1
+ ion-content{
2
+ --background: var(--conversation-detail-background);
3
+ }
4
+
1
5
  .group-profile {
2
6
  ion-card {
3
7
  width: 100%;
@@ -6,7 +10,8 @@
6
10
  border-radius: 0;
7
11
  -webkit-box-shadow: none;
8
12
  box-shadow: none;
9
- border-bottom: 1px solid rgba(169, 169, 169, 0.2);
13
+ border-bottom: 1px solid var(--border-color-base);
14
+ background: transparent;
10
15
 
11
16
  .image-profile {
12
17
  padding: 0 0 0 0;
@@ -28,7 +33,7 @@
28
33
  user-select: text;
29
34
  font-family: "Roboto", "Helvetica Neue", sans-serif;
30
35
  -webkit-box-direction: normal;
31
- color: #333333;
36
+ color: var(--info-text-color);
32
37
  font-weight: 500;
33
38
  font-size: 17px;
34
39
  box-sizing: border-box;
@@ -75,6 +80,10 @@
75
80
  }
76
81
  }
77
82
 
83
+ ion-list{
84
+ background-color: transparent;
85
+ }
86
+
78
87
 
79
88
 
80
89
  // .member-profile {
@@ -3,5 +3,6 @@
3
3
  [src]="urlConversationSupportGroup"
4
4
  frameborder="0"
5
5
  allowfullscreen
6
- id="iframeConsole">
6
+ id="iframeConsole"
7
+ (load)="onLoad(this)">
7
8
  </iframe>
@@ -1,4 +1,6 @@
1
1
  import { Component, OnInit, Input } from '@angular/core';
2
+ import { EventsService } from 'src/app/services/events-service';
3
+ import { AppStorageService } from 'src/chat21-core/providers/abstract/app-storage.service';
2
4
 
3
5
  // Logger
4
6
  import { LoggerService } from 'src/chat21-core/providers/abstract/logger.service';
@@ -13,16 +15,57 @@ export class InfoSupportGroupComponent implements OnInit {
13
15
  @Input() urlConversationSupportGroup: any;
14
16
 
15
17
  private logger: LoggerService = LoggerInstance.getInstance();
16
- constructor() { }
18
+ constructor(
19
+ private appStorageService: AppStorageService,
20
+ private events : EventsService
21
+ ) { }
17
22
 
18
23
  ngOnInit() {
19
- this.logger.log('InfoSupportGroupComponent - urlConversationSupportGroup: ', this.urlConversationSupportGroup);
24
+ this.logger.log('[InfoSupportGroupComponent] - urlConversationSupportGroup: ', this.urlConversationSupportGroup);
25
+ this.events.subscribe('style', (data)=>this.loadStyle(data))
20
26
  }
21
27
 
22
28
  ngOnDestroy() {
23
29
  // this.logger.log('ngOnDestroy ConversationDetailPage: ');
24
- this.logger.log('InfoSupportGroupComponent - ngOnDestroy ');
30
+ this.logger.log('[InfoSupportGroupComponent] - ngOnDestroy ');
25
31
 
26
32
  }
27
33
 
34
+ onLoad(iframe){
35
+ let styleData = this.appStorageService.getItem('style')
36
+ console.log('[InfoSupportGroupComponent] styleeeeee', styleData)
37
+ if(styleData && styleData !== 'undefined'){
38
+ this.loadStyle(JSON.parse(styleData))
39
+ }
40
+ }
41
+ async loadStyle(data){
42
+ var iframeWin = <HTMLIFrameElement>document.getElementById("iframeConsole")
43
+ if(!data.parameter){
44
+ let className = iframeWin.contentDocument.body.className.replace(new RegExp(/style-\S*/gm), '')
45
+ iframeWin.contentDocument.body.className = className
46
+ iframeWin.contentWindow.document.body.classList.remove('light')
47
+ iframeWin.contentWindow.document.body.classList.remove('dark')
48
+ iframeWin.contentWindow.document.body.classList.remove('custom')
49
+ let link = iframeWin.contentWindow.document.getElementById('themeCustom');
50
+ if(link){
51
+ link.remove();
52
+ }
53
+ return;
54
+ }
55
+
56
+ // Create link
57
+ let link = iframeWin.contentWindow.document.createElement('link');
58
+ link.id= 'themeCustom'
59
+ link.href = data.parameter;
60
+ link.rel = 'stylesheet';
61
+ link.type = 'text/css';
62
+ link.media='all';
63
+
64
+ console.log('linkkkk', link, iframeWin.contentWindow.document)
65
+ let head = iframeWin.contentWindow.document.getElementsByTagName('head')[0];
66
+ head.appendChild(link);
67
+ iframeWin.contentWindow.document.body.classList.add(data.type) //ADD class to body element as theme type ('light', 'dark', 'custom')
68
+ return;
69
+ }
70
+
28
71
  }
@@ -1,6 +1,7 @@
1
1
  <ion-toolbar [class.mobile]="isMobile">
2
2
 
3
- <ion-buttons *ngIf="isMobile || !supportMode" slot="start" style="height:60px">
3
+ <!-- *ngIf="isMobile || !supportMode" -->
4
+ <ion-buttons slot="start" style="height:60px">
4
5
  <ion-button ion-button icon-only fill="clear" (click)="onOpenProfileInfo($event)">
5
6
  <ion-icon slot="icon-only" name="reorder-three-outline"></ion-icon>
6
7
  </ion-button>
@@ -9,8 +9,9 @@ ion-toolbar {
9
9
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
10
10
  }
11
11
 
12
- ion-button{
13
- --color: var(--basic-blue);
12
+ ion-button,
13
+ ion-title{
14
+ --color: var(--icon-color);
14
15
  }
15
16
  }
16
17
 
@@ -1,14 +1,16 @@
1
1
  ion-toolbar {
2
2
  height: var(--header-height);
3
+ --background: transparent;
3
4
  &:not(.mobile){
4
- --background: var(--list-bkg-color);
5
+ // --background: var(--list-bkg-color);
5
6
  border: none;
6
7
  }
7
8
  &.mobile{
8
9
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
9
10
  }
10
11
 
11
- ion-button{
12
- --color: var(--basic-blue);
12
+ ion-button,
13
+ ion-title{
14
+ --color: var(--icon-color);
13
15
  }
14
16
  }
@@ -1,14 +1,16 @@
1
1
  ion-toolbar {
2
2
  height: var(--header-height);
3
+ --background: transparent;
3
4
  &:not(.mobile){
4
- --background: var(--list-bkg-color);
5
+ // --background: var(--list-bkg-color);
5
6
  border: none;
6
7
  }
7
8
  &.mobile{
8
9
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
9
10
  }
10
11
 
11
- ion-button{
12
- --color: var(--basic-blue);
12
+ ion-button,
13
+ ion-title{
14
+ --color: var(--icon-color);
13
15
  }
14
16
  }
@@ -7,7 +7,7 @@
7
7
  <!-- test site -->
8
8
  <ng-container *ngIf="project">
9
9
  <button class="btn simulate-visitor-btn btn-success-no-boxshadow " (click)="testWidgetPage()">
10
- <i class="material-icons" style="padding-top: 0px;font-size: 24px;">play_arrow</i>
10
+ <i class="material-icons">play_arrow</i>
11
11
  {{translationsMap?.get('NAVBAR.SIMULATE_VISITOR')}}
12
12
  </button>
13
13
  </ng-container>
@@ -31,17 +31,17 @@
31
31
  </li> -->
32
32
 
33
33
  <!-- ALL PROJECTS -->
34
- <li (click)="onClickDropdownOption('allProjects')">
35
- <a style="cursor: pointer">
36
- <i class="material-icons" style="padding-right: 5px; margin-bottom: 2px; font-size: 20px">view_list</i>
34
+ <li (click)="onClickDropdownOption('allProjects')" class="all-projects">
35
+ <a>
36
+ <i class="material-icons">view_list</i>
37
37
  {{translationsMap?.get('NAVBAR.VIEW_ALL_PROJECTS')}}
38
38
  </a>
39
39
  </li>
40
40
 
41
41
  <!-- ADD PROJECT -->
42
- <li id="navbar_create_prjct" *ngIf="MT === true" (click)="onClickDropdownOption('addProject')">
43
- <a style="cursor: pointer">
44
- <i class="material-icons" style="padding-right: 5px; margin-bottom: 2px; font-size: 20px">add_circle_outline </i>
42
+ <li id="navbar_create_prjct" *ngIf="MT === true" (click)="onClickDropdownOption('addProject')" class="add-project">
43
+ <a>
44
+ <i class="material-icons">add_circle_outline </i>
45
45
  {{translationsMap?.get('NAVBAR.ADD_PROJECT')}}
46
46
  </a>
47
47
  </li>
@@ -49,10 +49,8 @@
49
49
  <li class="divider"></li>
50
50
 
51
51
  <!-- RECENT PROJECTS -->
52
- <li>
53
- <span style="padding-left: 24px;font-size: 12px; color: rgb(118,149,165);font-weight: 400">
52
+ <li class="section-title">
54
53
  {{translationsMap?.get('NAVBAR.RECENT_PROJECTS')}}
55
- </span>
56
54
  </li>
57
55
  <!--
58
56
  ***** ngFor - reverse order of output using the index *****
@@ -71,10 +69,8 @@
71
69
 
72
70
  <ng-container *ngIf="projects?.length > 5">
73
71
  <li class="divider"></li>
74
- <li>
75
- <span style="padding-left: 24px;font-size: 12px; color: rgb(118,149,165);font-weight: 400">
76
- {{translationsMap?.get('NAVBAR.OTHER_PROJECTS')}}
77
- </span>
72
+ <li class="section-title">
73
+ {{translationsMap?.get('NAVBAR.OTHER_PROJECTS')}}
78
74
  </li>
79
75
 
80
76
  <!-- *ngFor="let prjct of projects?.slice().reverse() | slice:5:10; let i=index" -->