@chat21/chat21-ionic 3.0.107-rc.2 → 3.0.107-rc.5
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.
- package/CHANGELOG.md +10 -0
- package/package.json +1 -1
- package/src/app/app.component.ts +75 -31
- package/src/app/chatlib/conversation-detail/conversation-content/conversation-content.component.scss +0 -1
- package/src/app/chatlib/conversation-detail/ion-conversation-detail/ion-conversation-detail.component.scss +9 -9
- package/src/app/chatlib/conversation-detail/message/info-message/info-message.component.scss +5 -7
- package/src/app/chatlib/conversation-detail/message/options/options.component.scss +2 -2
- package/src/app/chatlib/conversation-detail/message/return-receipt/return-receipt.component.scss +1 -1
- package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.html +1 -1
- package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.scss +22 -55
- package/src/app/components/canned-response/canned-response.component.scss +9 -2
- package/src/app/components/contacts-directory/contacts-directory.component.scss +4 -56
- package/src/app/components/conversation-detail/header-conversation-detail/header-conversation-detail.component.scss +5 -6
- package/src/app/components/conversation-detail/message-text-area/message-text-area.component.scss +16 -5
- package/src/app/components/conversation-detail/message-text-area/message-text-area.component.ts +5 -0
- package/src/app/components/conversation-info/advanced-info-accordion/advanced-info-accordion.component.html +11 -19
- package/src/app/components/conversation-info/advanced-info-accordion/advanced-info-accordion.component.scss +15 -19
- package/src/app/components/conversation-info/info-direct/info-direct.component.scss +6 -5
- package/src/app/components/conversation-info/info-group/info-group.component.html +2 -2
- package/src/app/components/conversation-info/info-group/info-group.component.scss +11 -2
- package/src/app/components/conversation-info/info-support-group/info-support-group.component.html +2 -1
- package/src/app/components/conversation-info/info-support-group/info-support-group.component.ts +44 -1
- package/src/app/components/conversations-list/header-conversations-list/header-conversations-list.component.html +2 -1
- package/src/app/components/conversations-list/header-conversations-list/header-conversations-list.component.scss +3 -2
- package/src/app/components/conversations-list/header-conversations-list-archived/header-conversations-list-archived.component.scss +5 -3
- package/src/app/components/conversations-list/header-conversations-list-unassigned/header-conversations-list-unassigned.component.scss +5 -3
- package/src/app/components/navbar/navbar.component.html +10 -14
- package/src/app/components/navbar/navbar.component.scss +33 -17
- package/src/app/components/sidebar/sidebar.component.html +49 -67
- package/src/app/components/sidebar/sidebar.component.scss +44 -29
- package/src/app/components/sidebar-user-details/sidebar-user-details.component.html +5 -5
- package/src/app/components/sidebar-user-details/sidebar-user-details.component.scss +47 -93
- package/src/app/components/sidebar-user-details/sidebar-user-details.component.ts +11 -13
- package/src/app/modals/create-canned-response/create-canned-response.page.html +2 -20
- package/src/app/modals/create-canned-response/create-canned-response.page.scss +44 -27
- package/src/app/modals/create-ticket/create-ticket.page.html +4 -4
- package/src/app/modals/create-ticket/create-ticket.page.scss +34 -1
- package/src/app/modals/json-message/json-message.page.scss +15 -1
- package/src/app/modals/loader-preview/loader-preview.page.html +1 -1
- package/src/app/modals/loader-preview/loader-preview.page.scss +19 -1
- package/src/app/modals/maps/maps.page.scss +18 -0
- package/src/app/modals/send-email/send-email.page.scss +30 -7
- package/src/app/modals/send-whatsapp-template/send-whatsapp-template.page.html +1 -1
- package/src/app/modals/send-whatsapp-template/send-whatsapp-template.page.scss +18 -0
- package/src/app/pages/contacts-directory/contacts-directory.page.html +9 -10
- package/src/app/pages/contacts-directory/contacts-directory.page.scss +5 -3
- package/src/app/pages/contacts-directory/contacts-directory.page.ts +0 -15
- package/src/app/pages/conversation-detail/conversation-detail.page.scss +5 -5
- package/src/app/pages/conversation-detail/conversation-detail.page.ts +10 -10
- package/src/app/pages/conversations-list/conversations-list.page.html +0 -1
- package/src/app/pages/conversations-list/conversations-list.page.scss +6 -17
- package/src/app/pages/conversations-list/conversations-list.page.ts +9 -18
- package/src/app/pages/profile-info/profile-info.page.html +4 -4
- package/src/app/pages/profile-info/profile-info.page.scss +43 -25
- package/src/app/pages/profile-info/profile-info.page.ts +2 -1
- package/src/app/pages/unassigned-conversations/unassigned-conversations.page.html +5 -5
- package/src/app/pages/unassigned-conversations/unassigned-conversations.page.scss +2 -2
- package/src/app/services/scripts/script.service.ts +1 -0
- package/src/assets/customStyle.css +18 -0
- package/src/assets/test.html +37 -4
- package/src/chat21-core/providers/tiledesk/tiledesk-auth.service.ts +21 -7
- package/src/global.scss +52 -137
- package/src/index.html +1 -1
- package/src/theme/variables.scss +276 -149
- package/src/variables.scss +115 -21
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# chat21-ionic ver 3.0
|
|
2
2
|
|
|
3
|
+
### 3.0.107.rc.5
|
|
4
|
+
- bug-fixed: user info is not updated in sidebar-user-detail with SSO
|
|
5
|
+
|
|
6
|
+
### 3.0.107.rc.4
|
|
7
|
+
- bug-fixed: SSO, createCustomToken pass old token to authenticate chat engine module
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### 3.0.107.rc.3
|
|
11
|
+
- bug-fixed: update tiledek_token after signInWithCustomToken
|
|
12
|
+
|
|
3
13
|
### 3.0.107.rc.2
|
|
4
14
|
- added: moved eventTrigger method from conversation-deatil and conversation-list pages to app.component.ts
|
|
5
15
|
|
package/package.json
CHANGED
package/src/app/app.component.ts
CHANGED
|
@@ -137,7 +137,7 @@ export class AppComponent implements OnInit {
|
|
|
137
137
|
public fcm: FCM,
|
|
138
138
|
public el: ElementRef,
|
|
139
139
|
public g: Globals,
|
|
140
|
-
public globalSettingsService: GlobalSettingsService
|
|
140
|
+
public globalSettingsService: GlobalSettingsService
|
|
141
141
|
) {
|
|
142
142
|
|
|
143
143
|
this.saveInStorageNumberOfOpenedChatTab();
|
|
@@ -354,6 +354,12 @@ export class AppComponent implements OnInit {
|
|
|
354
354
|
this.events.publish('presenceUser', event.data.parameter)
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
|
+
|
|
358
|
+
if(event && event.data && event.data.action) {
|
|
359
|
+
if (event.data.action === "style") {
|
|
360
|
+
this.loadStyle(event.data)
|
|
361
|
+
}
|
|
362
|
+
}
|
|
357
363
|
})
|
|
358
364
|
}
|
|
359
365
|
|
|
@@ -402,15 +408,71 @@ export class AppComponent implements OnInit {
|
|
|
402
408
|
await alert.present();
|
|
403
409
|
}
|
|
404
410
|
|
|
411
|
+
async loadStyle(data){
|
|
412
|
+
console.log('[APP-COMPO] event: style ...', data)
|
|
413
|
+
this.appStorageService.setItem('style', JSON.stringify(data))
|
|
414
|
+
if(!data.parameter){
|
|
415
|
+
|
|
416
|
+
/** remove class from chat-IFRAME */
|
|
417
|
+
document.body.classList.remove('light')
|
|
418
|
+
document.body.classList.remove('dark')
|
|
419
|
+
document.body.classList.remove('custom')
|
|
420
|
+
let link = document.getElementById('themeCustom');
|
|
421
|
+
if(link){
|
|
422
|
+
link.remove();
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
/** remove class from dashoard-IFRAME */
|
|
426
|
+
var iframeWin = <HTMLIFrameElement>document.getElementById("iframeConsole")
|
|
427
|
+
if(iframeWin){
|
|
428
|
+
iframeWin.contentDocument.body.classList.remove('light')
|
|
429
|
+
iframeWin.contentDocument.body.classList.remove('dark')
|
|
430
|
+
iframeWin.contentDocument.body.classList.remove('custom')
|
|
431
|
+
let link = iframeWin.contentDocument.getElementById('themeCustom');
|
|
432
|
+
if(link){
|
|
433
|
+
link.remove();
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
/** remove style INFO from storage */
|
|
438
|
+
this.appStorageService.removeItem('style')
|
|
439
|
+
|
|
440
|
+
return;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
// Create link
|
|
444
|
+
let link = document.createElement('link');
|
|
445
|
+
link.id= 'themeCustom'
|
|
446
|
+
link.href = data.parameter;
|
|
447
|
+
link.rel = 'stylesheet';
|
|
448
|
+
link.type = 'text/css';
|
|
449
|
+
link.media='all';
|
|
450
|
+
|
|
451
|
+
this.logger.log('[APP-COMP] create link element...', link)
|
|
452
|
+
let head = document.getElementsByTagName('head')[0];
|
|
453
|
+
head.appendChild(link);
|
|
454
|
+
/** add class to body element as theme type ('light', 'dark', 'custom') */
|
|
455
|
+
document.body.classList.add(data.type)
|
|
456
|
+
|
|
457
|
+
/** publish event to info-support-group component */
|
|
458
|
+
this.events.publish('style', data)
|
|
459
|
+
|
|
460
|
+
// var iframeWin = <HTMLIFrameElement>document.getElementById("iframeConsole")
|
|
461
|
+
// if(iframeWin){
|
|
462
|
+
// iframeWin.contentDocument.head.appendChild(link)
|
|
463
|
+
// iframeWin.contentDocument.body.classList.add(data.type) //ADD class to body element as theme type ('light', 'dark', 'custom')
|
|
464
|
+
// }
|
|
465
|
+
return;
|
|
466
|
+
}
|
|
405
467
|
|
|
406
468
|
|
|
407
469
|
|
|
408
470
|
signInWithCustomToken(token) {
|
|
409
471
|
// this.isOnline = false;
|
|
410
472
|
this.logger.log('[APP-COMP] SIGNINWITHCUSTOMTOKEN token', token)
|
|
411
|
-
this.tiledeskAuthService.signInWithCustomToken(token).then((
|
|
412
|
-
this.logger.log('[APP-COMP] SIGNINWITHCUSTOMTOKEN AUTLOGIN user', user)
|
|
413
|
-
this.messagingAuthService.createCustomToken(token)
|
|
473
|
+
this.tiledeskAuthService.signInWithCustomToken(token).then((data: any) => {
|
|
474
|
+
this.logger.log('[APP-COMP] SIGNINWITHCUSTOMTOKEN AUTLOGIN user', data.user)
|
|
475
|
+
this.messagingAuthService.createCustomToken(data.token)
|
|
414
476
|
}).catch(error => {
|
|
415
477
|
this.logger.error('[APP-COMP] SIGNINWITHCUSTOMTOKEN error::', error)
|
|
416
478
|
})
|
|
@@ -712,12 +774,12 @@ export class AppComponent implements OnInit {
|
|
|
712
774
|
// this.logger.log('[APP-COMP] >>> initAuthentication currentUser ', currentUser)
|
|
713
775
|
if (tiledeskToken) {
|
|
714
776
|
this.logger.log('[APP-COMP] >>> initAuthentication I LOG IN WITH A TOKEN EXISTING IN THE LOCAL STORAGE OR WITH A TOKEN PASSED IN THE URL PARAMETERS <<<')
|
|
715
|
-
this.tiledeskAuthService.signInWithCustomToken(tiledeskToken).then(
|
|
716
|
-
this.logger.log('[APP-COMP] >>> initAuthentication user ', user)
|
|
777
|
+
this.tiledeskAuthService.signInWithCustomToken(tiledeskToken).then(data => {
|
|
778
|
+
this.logger.log('[APP-COMP] >>> initAuthentication user ', data.user)
|
|
717
779
|
|
|
718
|
-
this.updateStoredCurrentUser()
|
|
780
|
+
//this.updateStoredCurrentUser()
|
|
719
781
|
|
|
720
|
-
this.messagingAuthService.createCustomToken(
|
|
782
|
+
this.messagingAuthService.createCustomToken(data.token)
|
|
721
783
|
}).catch(error => {
|
|
722
784
|
this.logger.error('[APP-COMP] initAuthentication SIGNINWITHCUSTOMTOKEN error::', error)
|
|
723
785
|
})
|
|
@@ -739,19 +801,11 @@ export class AppComponent implements OnInit {
|
|
|
739
801
|
}
|
|
740
802
|
}, 1000)
|
|
741
803
|
}else{
|
|
742
|
-
|
|
804
|
+
this.goToDashboardLogin()
|
|
743
805
|
}
|
|
744
806
|
}
|
|
745
807
|
}
|
|
746
808
|
|
|
747
|
-
// checkTokenAndGoOffline() {
|
|
748
|
-
// let token = this.appStorageService.getItem('tiledeskToken');
|
|
749
|
-
// this.logger.info('[APP-COMP] ***** checkTokenAndGoOffline - stored token *****', token);
|
|
750
|
-
// if (!token) {
|
|
751
|
-
// this.goOffLine()
|
|
752
|
-
// }
|
|
753
|
-
// }
|
|
754
|
-
|
|
755
809
|
|
|
756
810
|
/**------- AUTHENTICATION FUNCTIONS --> END <--- +*/
|
|
757
811
|
/***************************************************+*/
|
|
@@ -1518,7 +1572,7 @@ export class AppComponent implements OnInit {
|
|
|
1518
1572
|
const currentUser = this.tiledeskAuthService.getCurrentUser();
|
|
1519
1573
|
let message = conversationToMessage(conversation, currentUser.uid)
|
|
1520
1574
|
let duration = getDateDifference(message.timestamp, Date.now())
|
|
1521
|
-
if(duration.minutes > 1) return;
|
|
1575
|
+
if(duration.minutes > 0.1) return;
|
|
1522
1576
|
if(message.isSender){
|
|
1523
1577
|
this.triggerEvents.triggerAfterSendMessageEvent(message)
|
|
1524
1578
|
}else if(!message.isSender){
|
|
@@ -1551,11 +1605,11 @@ export class AppComponent implements OnInit {
|
|
|
1551
1605
|
@HostListener('window:storage', ['$event'])
|
|
1552
1606
|
onStorageChanged(event: any) {
|
|
1553
1607
|
|
|
1554
|
-
if (event.key !== '
|
|
1608
|
+
if (event.key !== 'tiledesk_token' && event.key !== 'dshbrd----sound') {
|
|
1555
1609
|
return;
|
|
1556
1610
|
}
|
|
1557
1611
|
|
|
1558
|
-
if (
|
|
1612
|
+
if (localStorage.getItem('tiledesk_token') === null) {
|
|
1559
1613
|
// console.log('[APP-COMP] - onStorageChanged tiledeskToken is null - RUN LOGOUT')
|
|
1560
1614
|
this.tiledeskAuthService.logOut()
|
|
1561
1615
|
this.messagingAuthService.logout();
|
|
@@ -1563,12 +1617,9 @@ export class AppComponent implements OnInit {
|
|
|
1563
1617
|
// this.isOnline = false;
|
|
1564
1618
|
}
|
|
1565
1619
|
else {
|
|
1566
|
-
const currentUser = this.tiledeskAuthService.getCurrentUser();
|
|
1567
|
-
// console.log('[APP-COMP] - X - onStorageChanged currentUser', currentUser)
|
|
1568
|
-
|
|
1569
1620
|
const currentToken = this.tiledeskAuthService.getTiledeskToken();
|
|
1570
1621
|
// console.log('[APP-COMP] - onStorageChanged currentToken', currentToken)
|
|
1571
|
-
if (
|
|
1622
|
+
if (localStorage.getItem('tiledesk_token') !== null && currentToken !== this.appStorageService.getItem('tiledeskToken')) {
|
|
1572
1623
|
|
|
1573
1624
|
// console.log('[APP-COMP] - onStorageChanged wentOnline 2')
|
|
1574
1625
|
// DEALLOCO RISORSE OCCUPATE
|
|
@@ -1579,13 +1630,6 @@ export class AppComponent implements OnInit {
|
|
|
1579
1630
|
// this.unsubscribe$.complete();
|
|
1580
1631
|
this.initializeApp('onstoragechanged');
|
|
1581
1632
|
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
// console.log('[APP-COMP] onAuthStateChanged HERE !!! ')
|
|
1585
|
-
// firebase.auth().onAuthStateChanged(user => {
|
|
1586
|
-
// console.log('[APP-COMP] onAuthStateChanged', user)
|
|
1587
|
-
// })
|
|
1588
|
-
|
|
1589
1633
|
}
|
|
1590
1634
|
}
|
|
1591
1635
|
|
|
@@ -64,14 +64,14 @@
|
|
|
64
64
|
:host .base_sent .msg_sent ::ng-deep > div {
|
|
65
65
|
.options-container{
|
|
66
66
|
right: unset;
|
|
67
|
-
left:
|
|
67
|
+
left: 1px;
|
|
68
68
|
border-top-right-radius: unset;
|
|
69
69
|
border-top-left-radius: 16px;
|
|
70
|
-
background: radial-gradient(at top left,
|
|
70
|
+
background: radial-gradient(at top left,var(--bck-msg-sent) 60%,rgba(#2a6ac1,0) 80%);
|
|
71
71
|
flex-direction: row;
|
|
72
72
|
|
|
73
73
|
.options-logo{
|
|
74
|
-
color:
|
|
74
|
+
color: var(--col-msg-sent);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
}
|
|
@@ -127,6 +127,7 @@
|
|
|
127
127
|
|
|
128
128
|
ion-icon{
|
|
129
129
|
margin: 5px;
|
|
130
|
+
color: var(--icon-color)
|
|
130
131
|
}
|
|
131
132
|
}
|
|
132
133
|
|
|
@@ -272,7 +273,7 @@ ion-item {
|
|
|
272
273
|
padding: 0px 20px 6px 0px;
|
|
273
274
|
|
|
274
275
|
.message-date{
|
|
275
|
-
color:
|
|
276
|
+
color: var(--message-date-color);
|
|
276
277
|
font-size: 12px;
|
|
277
278
|
align-self: center;
|
|
278
279
|
}
|
|
@@ -359,13 +360,12 @@ ion-item {
|
|
|
359
360
|
}
|
|
360
361
|
}
|
|
361
362
|
|
|
362
|
-
.message-date-hover{
|
|
363
|
-
color:
|
|
363
|
+
.message-date-hover {
|
|
364
|
+
color: var(--message-date-color);
|
|
364
365
|
font-size: 12px;
|
|
365
366
|
align-self: center;
|
|
366
367
|
margin: 0px 5px;
|
|
367
368
|
display: none;
|
|
368
|
-
|
|
369
369
|
}
|
|
370
370
|
|
|
371
371
|
|
|
@@ -487,7 +487,7 @@ ion-item {
|
|
|
487
487
|
}
|
|
488
488
|
|
|
489
489
|
.long-date-divider-border-b {
|
|
490
|
-
border-bottom: 1px solid
|
|
490
|
+
border-bottom: 1px solid var(--date-divider-color) !important;
|
|
491
491
|
flex: 1 1 auto !important;
|
|
492
492
|
margin-left: 1.1rem !important;
|
|
493
493
|
margin-right: 1.1rem !important;
|
|
@@ -500,7 +500,7 @@ ion-item {
|
|
|
500
500
|
line-height: 1.25rem !important;
|
|
501
501
|
margin-left: 1rem !important;
|
|
502
502
|
margin-right: 1rem !important;
|
|
503
|
-
color:
|
|
503
|
+
color: var(--date-divider-text-color);
|
|
504
504
|
}
|
|
505
505
|
|
|
506
506
|
// ---------------------------------------------------------
|
package/src/app/chatlib/conversation-detail/message/info-message/info-message.component.scss
CHANGED
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
padding-right: 4px;
|
|
14
14
|
padding: 6px 10px;
|
|
15
15
|
display: inline-block;
|
|
16
|
-
background:
|
|
16
|
+
background: var(--info-message-background);
|
|
17
17
|
font-size: 0.70em;
|
|
18
|
-
color: var(--
|
|
18
|
+
color: var(--info-message-color);
|
|
19
19
|
margin-left: 5px; //32px;
|
|
20
20
|
margin-right: 5px; //32px;
|
|
21
21
|
|
|
@@ -37,23 +37,21 @@
|
|
|
37
37
|
.spinner > div {
|
|
38
38
|
width: 10px;
|
|
39
39
|
height: 10px;
|
|
40
|
-
background-color: #333;
|
|
41
|
-
|
|
42
40
|
border-radius: 100%;
|
|
43
41
|
display: inline-block;
|
|
44
42
|
margin: 0px 2px;
|
|
45
43
|
}
|
|
46
44
|
|
|
47
45
|
.spinner .bounce1 {
|
|
48
|
-
background-color:
|
|
46
|
+
background-color: var(--info-message-bounce-color);
|
|
49
47
|
}
|
|
50
48
|
|
|
51
49
|
.spinner .bounce2 {
|
|
52
|
-
background-color:
|
|
50
|
+
background-color: var(--info-message-bounce-color);
|
|
53
51
|
opacity: 0.6
|
|
54
52
|
}
|
|
55
53
|
|
|
56
54
|
.spinner .bounce3 {
|
|
57
|
-
background-color:
|
|
55
|
+
background-color: var(--info-message-bounce-color);
|
|
58
56
|
opacity: 0.4
|
|
59
57
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
width: 40px;
|
|
10
10
|
padding: 5px;
|
|
11
11
|
z-index: 2;
|
|
12
|
-
background: radial-gradient(at top right,
|
|
12
|
+
background: radial-gradient(at top right,var(--bck-msg-received) 60%,rgba(240, 242, 247,0) 80%);
|
|
13
13
|
border-top-right-radius: 16px;
|
|
14
14
|
|
|
15
15
|
.options-logo{
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
/* width: 20px; */
|
|
22
22
|
height: 16px;
|
|
23
23
|
border-radius: 3px;
|
|
24
|
-
color:
|
|
24
|
+
color: var(--col-msg-received);
|
|
25
25
|
text-align: left;
|
|
26
26
|
justify-content: center;
|
|
27
27
|
font-size: initial;
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
{{conversation?.conversation_with_fullname}}
|
|
122
122
|
</span>
|
|
123
123
|
</div>
|
|
124
|
-
<div class="conversation_message truncate
|
|
124
|
+
<div class="conversation_message truncate" [ngClass]="{'truncate-on-desktop': !isApp}">
|
|
125
125
|
|
|
126
126
|
<!-- -------------------------------------------------------------------------- -->
|
|
127
127
|
<!-- if conversation type is image display the image icon before the message -->
|
|
@@ -18,7 +18,7 @@ ion-item {
|
|
|
18
18
|
// padding-right: 8px;
|
|
19
19
|
--padding-start: 0;
|
|
20
20
|
--inner-padding-end: 0;
|
|
21
|
-
--background-hover:
|
|
21
|
+
--background-hover: var(--item-backgroud-hover) !important;
|
|
22
22
|
--background: transparent;
|
|
23
23
|
border-radius: var(--border-radius-item);
|
|
24
24
|
margin: 4px 5px;
|
|
@@ -28,17 +28,6 @@ ion-item {
|
|
|
28
28
|
height: 100%;
|
|
29
29
|
padding: 12px 0;
|
|
30
30
|
}
|
|
31
|
-
.selected {
|
|
32
|
-
// border-radius: 10px;
|
|
33
|
-
// padding-left: 8px;
|
|
34
|
-
// padding-right: 8px;
|
|
35
|
-
position: absolute;
|
|
36
|
-
width: 100%;
|
|
37
|
-
height: 100%;
|
|
38
|
-
z-index: -1;
|
|
39
|
-
// background-color: rgba(0, 0, 0, .05);
|
|
40
|
-
background-color: rgb(231, 241, 255);
|
|
41
|
-
}
|
|
42
31
|
ion-avatar {
|
|
43
32
|
position: relative;
|
|
44
33
|
padding: 0;
|
|
@@ -58,7 +47,7 @@ ion-item {
|
|
|
58
47
|
border-radius: 50%;
|
|
59
48
|
text-align: center;
|
|
60
49
|
font-size: 15px; //20px;
|
|
61
|
-
color:
|
|
50
|
+
color: var(--avatar-placeholder-color);
|
|
62
51
|
font-weight: 500;
|
|
63
52
|
}
|
|
64
53
|
.avatar-profile {
|
|
@@ -89,11 +78,11 @@ ion-item {
|
|
|
89
78
|
align-items: center;
|
|
90
79
|
line-height: 1.2rem;
|
|
91
80
|
font-weight: 500;
|
|
92
|
-
color:
|
|
81
|
+
color: var(--conversation-project-color);
|
|
93
82
|
font-size: 10px;
|
|
94
83
|
max-width: 90%;
|
|
95
84
|
svg {
|
|
96
|
-
fill
|
|
85
|
+
fill:var(--conversation-project-color);
|
|
97
86
|
vertical-align: sub;
|
|
98
87
|
}
|
|
99
88
|
span{
|
|
@@ -105,40 +94,27 @@ ion-item {
|
|
|
105
94
|
}
|
|
106
95
|
}
|
|
107
96
|
.conversation_with {
|
|
108
|
-
color:
|
|
97
|
+
color: var(--list-conversation-with-color);
|
|
109
98
|
font-size: 15px;
|
|
110
99
|
font-weight: 400;
|
|
111
100
|
line-height: 1.4;
|
|
112
101
|
width: 70% !important;
|
|
113
102
|
&.not-read {
|
|
114
103
|
font-weight: 600;
|
|
115
|
-
color:
|
|
104
|
+
color: var(--list-conversation-with-color-not-read); //#1876f2;
|
|
116
105
|
}
|
|
117
106
|
}
|
|
118
107
|
|
|
119
108
|
.conversation_message {
|
|
120
109
|
margin: 5px 0px;
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
font-size: 15px;
|
|
124
|
-
font-weight: 400;
|
|
125
|
-
height: 18px;
|
|
126
|
-
vertical-align: middle;
|
|
127
|
-
align-self: center;
|
|
128
|
-
&.not-read {
|
|
129
|
-
font-weight: 600;
|
|
130
|
-
color: #1876f2;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
|
|
110
|
+
color: var(--last-message-color);
|
|
111
|
+
font-size: 12px;
|
|
134
112
|
span {
|
|
135
|
-
color: rgb(60, 72, 88);
|
|
136
|
-
font-size: 12px;
|
|
137
113
|
font-weight: 400;
|
|
138
114
|
height: 18px;
|
|
139
115
|
&.not-read {
|
|
140
116
|
font-weight: 600;
|
|
141
|
-
color:
|
|
117
|
+
color: var(--list-conversation-message-color-not-read); //#1876f2;
|
|
142
118
|
}
|
|
143
119
|
}
|
|
144
120
|
}
|
|
@@ -150,7 +126,7 @@ ion-item {
|
|
|
150
126
|
font-size: 10px;
|
|
151
127
|
display: flex;
|
|
152
128
|
flex-direction: column;
|
|
153
|
-
color:
|
|
129
|
+
color: var(--list-timestamp-color);
|
|
154
130
|
|
|
155
131
|
&.is-on-mobile{
|
|
156
132
|
top: 10px;
|
|
@@ -161,16 +137,21 @@ ion-item {
|
|
|
161
137
|
ion-button {
|
|
162
138
|
padding: 0;
|
|
163
139
|
margin: 0;
|
|
164
|
-
height:
|
|
165
|
-
width:
|
|
140
|
+
height: 35px;
|
|
141
|
+
width: 35px;
|
|
166
142
|
font-size: 10px;
|
|
167
143
|
--padding-start: 0px;
|
|
168
144
|
--padding-end: 0px;
|
|
169
|
-
color: var(--
|
|
170
|
-
background-color:
|
|
145
|
+
color: var(--icon-color);//rgba(153, 153, 153, 1);
|
|
146
|
+
background-color: var(--archive-button-background);
|
|
147
|
+
border: 1px solid var(--archive-button-background);
|
|
148
|
+
ion-icon {
|
|
149
|
+
font-size: 21px !important;
|
|
150
|
+
color: var(--icon-color)
|
|
151
|
+
}
|
|
171
152
|
border-radius: 50%; // nk
|
|
172
153
|
&:hover {
|
|
173
|
-
|
|
154
|
+
opacity: 0.8;
|
|
174
155
|
}
|
|
175
156
|
}
|
|
176
157
|
}
|
|
@@ -179,7 +160,7 @@ ion-item {
|
|
|
179
160
|
width: 10px;
|
|
180
161
|
height: 10px;
|
|
181
162
|
border-radius: 50%;
|
|
182
|
-
background-color: var(--
|
|
163
|
+
background-color: var(--list-notification-point-color);
|
|
183
164
|
position: absolute;
|
|
184
165
|
right: 6px;
|
|
185
166
|
bottom: 8px;
|
|
@@ -211,14 +192,7 @@ ion-item:hover {
|
|
|
211
192
|
}
|
|
212
193
|
|
|
213
194
|
.button-on-desktop {
|
|
214
|
-
background-color: #fff !important;
|
|
215
195
|
margin-right: 21px !important;
|
|
216
|
-
height: 35px !important;
|
|
217
|
-
width: 35px !important;
|
|
218
|
-
border: 1px solid #eee;
|
|
219
|
-
ion-icon {
|
|
220
|
-
font-size: 21px !important;
|
|
221
|
-
}
|
|
222
196
|
}
|
|
223
197
|
|
|
224
198
|
.button-on-mobile {
|
|
@@ -258,14 +232,7 @@ ion-item:hover {
|
|
|
258
232
|
|
|
259
233
|
.ion-selected {
|
|
260
234
|
background: var(--list-bkg-color-selected);
|
|
261
|
-
border-right: 4px solid var(--
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
.time-in-archived {
|
|
265
|
-
color: #666666;
|
|
266
|
-
font-size: 10px;
|
|
267
|
-
position: relative;
|
|
268
|
-
top: -4px;
|
|
235
|
+
border-right: 4px solid var(--list-bkg-color-selected-border);
|
|
269
236
|
}
|
|
270
237
|
|
|
271
238
|
|
|
@@ -120,10 +120,16 @@
|
|
|
120
120
|
// }
|
|
121
121
|
ion-icon {
|
|
122
122
|
zoom: 0.7;
|
|
123
|
+
color: var(--icon-color);
|
|
124
|
+
|
|
125
|
+
&:hover{
|
|
126
|
+
opacity: 0.8;
|
|
127
|
+
}
|
|
123
128
|
}
|
|
124
129
|
.no-ripple {
|
|
125
130
|
--ripple-color: transparent;
|
|
126
131
|
--background-activated: transparent;
|
|
132
|
+
--background: transparent;
|
|
127
133
|
}
|
|
128
134
|
|
|
129
135
|
.border{
|
|
@@ -156,8 +162,9 @@
|
|
|
156
162
|
}
|
|
157
163
|
|
|
158
164
|
ion-item {
|
|
159
|
-
--background-hover:
|
|
160
|
-
|
|
165
|
+
--background-hover: var(--canned-hover-background) !important;
|
|
166
|
+
--color-hover: var(--canned-hover-color);
|
|
167
|
+
--background: transparent;
|
|
161
168
|
.nocannedTitle {
|
|
162
169
|
color: #f44336;
|
|
163
170
|
}
|
|
@@ -9,7 +9,7 @@ ion-item {
|
|
|
9
9
|
--padding-start: 0;
|
|
10
10
|
--inner-padding-end: 0;
|
|
11
11
|
--background: transparent;
|
|
12
|
-
--background-hover:
|
|
12
|
+
--background-hover: var(--item-backgroud-hover) !important;
|
|
13
13
|
border-radius: var(--border-radius-item);
|
|
14
14
|
|
|
15
15
|
.selected {
|
|
@@ -38,7 +38,7 @@ ion-item {
|
|
|
38
38
|
border-radius: 50%;
|
|
39
39
|
text-align: center;
|
|
40
40
|
font-size: 20px;
|
|
41
|
-
color
|
|
41
|
+
color: var(--avatar-placeholder-color);
|
|
42
42
|
font-weight: 500;
|
|
43
43
|
}
|
|
44
44
|
.avatar-profile {
|
|
@@ -70,65 +70,13 @@ ion-item {
|
|
|
70
70
|
font-family: Helvetica, Helvetica, Arial, sans-serif;
|
|
71
71
|
line-height: 1.28;
|
|
72
72
|
text-rendering: optimizeLegibility;
|
|
73
|
-
|
|
74
|
-
color: rgba(0, 0, 0, 1);
|
|
75
|
-
font-size: 15px;
|
|
76
|
-
font-weight: 400;
|
|
77
|
-
line-height: 1.4;
|
|
78
|
-
}
|
|
79
|
-
.conversation_message {
|
|
80
|
-
p {
|
|
81
|
-
color: rgba(153, 153, 153, 1);
|
|
82
|
-
font-size: 13px;
|
|
83
|
-
font-weight: 400;
|
|
84
|
-
height: 18px;
|
|
85
|
-
&.not-read {
|
|
86
|
-
font-weight:bold;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
}
|
|
91
|
-
|
|
73
|
+
color: var(--list-conversation-with-color);
|
|
92
74
|
}
|
|
93
75
|
|
|
94
|
-
|
|
95
|
-
ion-note {
|
|
96
|
-
position: absolute;
|
|
97
|
-
right: 8px;
|
|
98
|
-
top: 4px;
|
|
99
|
-
font-size: 10px;
|
|
100
|
-
}
|
|
101
|
-
ion-buttons {
|
|
102
|
-
margin: 0;
|
|
103
|
-
ion-button {
|
|
104
|
-
padding: 0;
|
|
105
|
-
margin: 0;
|
|
106
|
-
height: 24px;
|
|
107
|
-
width: 24px;
|
|
108
|
-
font-size: 10px;
|
|
109
|
-
--padding-start: 0px;
|
|
110
|
-
--padding-end: 0px;
|
|
111
|
-
color: rgba(153, 153, 153, 1);
|
|
112
|
-
background-color: transparent;
|
|
113
|
-
&:hover {
|
|
114
|
-
background-color: rgba(0, 0, 0, .05)
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.notification_point {
|
|
120
|
-
width: 10px;
|
|
121
|
-
height: 10px;
|
|
122
|
-
border-radius: 50%;
|
|
123
|
-
background-color: #0b5c89;
|
|
124
|
-
position: absolute;
|
|
125
|
-
right: 6px;
|
|
126
|
-
bottom: 8px;
|
|
127
|
-
}
|
|
128
76
|
}
|
|
129
77
|
|
|
130
78
|
ion-searchbar {
|
|
131
79
|
--box-shadow: 0px ;
|
|
132
|
-
--background:
|
|
80
|
+
--background: var(--contact-directory-searchbar-background);
|
|
133
81
|
--border-radius: 10px;
|
|
134
82
|
}
|