File size: 2,684 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 |
@import "variables";
.help-center-support-chat__conversation-container {
display: flex;
flex-direction: row;
justify-content: space-between;
background-color: transparent;
padding: 16px;
gap: 6px;
max-height: 72px;
align-items: center;
border-bottom: 1px solid;
border-color: rgba(0, 0, 0, 0.1);
text-decoration: none;
&:hover {
border-bottom: 1px solid;
border-color: rgba(0, 0, 0, 0.2) !important;
.help-center-support-chat__open-conversation {
fill: $help-center-blue;
}
}
&.is-unread-message {
background-color: #EBF2FC;
.help-center-support-chat__open-conversation {
fill: $help-center-blue;
}
}
&:not(.is-unread-message) {
&.is-closed, &.is-solved {
background-color: var(--studio-gray-0);
}
}
& > * {
display: flex;
}
.help-center-support-chat__conversation-avatar {
align-self: center;
flex-shrink: 0;
position: relative;
img {
border-radius: 50%;
}
&.has-unread-messages {
margin-right: 10px;
}
.help-center-support-chat__conversation-badge {
position: absolute;
top: 50%;
right: -0%;
transform: translate(50%, -50%);
display: flex;
align-items: center;
justify-content: center;
border: 2px solid #FFF;
border-radius: 12px; /* stylelint-disable-line scales/radii */
box-sizing: border-box;
min-width: 26px;
height: 20px;
font-size: 12px;
background-color: $help-center-blue;
color: #FFF;
}
}
.help-center-support-chat__conversation-information {
display: flex;
flex-direction: column;
flex-grow: 1;
width: 80%;
.help-center-support-chat__conversation-information-message {
display: -webkit-box;
color: #101517;
font-weight: 500;
font-size: 0.875rem;
line-height: 20px;
letter-spacing: -0.15px;
text-overflow: ellipsis;
overflow: hidden;
line-clamp: 1;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
}
.help-center-support-chat__conversation-sub-information {
display: flex;
color: #787C82;
font-weight: 400;
font-size: 0.75rem;
line-height: 20px;
align-items: center;
gap: 4px;
.help-center-support-chat__conversation-information-name {
text-overflow: ellipsis;
display: -webkit-box;
overflow: hidden;
line-clamp: 1;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
}
.help-center-support-chat__conversation-information-time {
flex: 0 0 auto;
}
}
}
.help-center-support-chat__open-conversation {
display: flex;
align-items: center;
fill: #787C82;
}
}
.help-center-chat-history__no-results {
display: flex;
flex-direction: row;
justify-content: center;
border-top: solid 1px #C3C4C7;
padding-top: 20px;
}
|