Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 5351 | Ir a la última revisión | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
5351 stevensc 1
.active_chats-list {
2
  display: flex;
3
  align-items: flex-end;
4
  gap: 10px;
5
  width: fit-content;
6
  z-index: 100;
7
}
8
 
9
.personal-chat {
10
  background: $bg-color;
11
  border: 1px solid $border-primary;
12
  border-top-left-radius: $border-radius;
13
  border-top-right-radius: $border-radius;
14
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
15
  width: 260px;
16
  position: relative;
17
  z-index: 10;
18
 
19
  .chat-header {
20
    background-color: $bg-color-secondary;
21
    border-bottom: 1px solid $border-primary;
22
    display: flex;
23
    font-weight: bold;
24
    gap: .5rem;
25
    padding: .5rem;
26
 
27
    a {
28
      color: $subtitle-color;
29
    }
30
 
31
    small {
32
      color: $subtitle-color;
33
      font-size: 12px;
34
 
35
      &::after {
36
        content: "";
37
        position: absolute;
38
        height: 10px;
39
        width: 10px;
40
        left: 30px;
41
        top: 35px;
42
        border-radius: 50%;
43
 
44
        &.online:after {
45
          background-color: $online-green;
46
        }
47
 
48
        &.offline:after {
49
          background-color: #bdbdbd;
50
        }
51
      }
52
    }
53
 
54
    &>img {
55
      width: 36px;
56
      height: 36px;
57
      border-radius: 50%;
58
    }
59
 
60
    &.notify {
61
      animation: notify 2s infinite;
62
    }
63
 
64
    .info-content {
65
      display: flex;
66
      flex-direction: column;
67
    }
68
 
69
 
70
    .btn-group,
71
    .btn-group-vertical {
72
      position: relative;
73
      display: inline-block;
74
      vertical-align: middle;
75
      cursor: pointer;
76
    }
77
  }
78
}
79
 
80
.chatbox-icon {
81
  right: 230px;
82
  bottom: 23px;
83
  padding-top: 15px;
84
  margin-bottom: 0;
85
  z-index: 998;
86
  cursor: pointer;
87
  display: none;
88
  position: fixed;
89
}
90
 
91
.options {
92
  display: flex;
93
  gap: 5px;
94
  color: $subtitle-color;
95
}
96
 
97
.chat-conversation {
98
  background-color: $bg-color;
99
  display: flex;
100
  flex-flow: column-reverse;
101
  overflow: auto;
102
  padding: 1rem;
103
  height: 275px;
104
}
105
 
106
.conversation-list {
107
  display: flex;
108
  flex-direction: column;
109
  gap: .5rem;
110
 
111
  .conversation-text {
112
    align-items: center;
113
    display: flex;
114
    flex-direction: row;
115
    gap: .5rem;
116
    width: 100%;
117
 
118
    .ctext-wrap {
119
      background: $chat-received;
120
      border-radius: 0 10px 10px 10px;
121
      display: inline-block;
122
      padding: 5px;
123
      position: relative;
124
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
125
      max-width: 65%;
126
 
127
      p {
128
        color: $chat-color;
129
        word-break: break-word;
130
      }
131
 
132
      img,
133
      video {
134
        border-radius: 10px;
135
        max-height: 200px;
136
        outline: none;
137
        width: 100%;
138
      }
139
 
140
      label {
141
        align-items: center;
142
        color: $chat-color;
143
        font-size: 0.8rem;
144
        gap: .5rem;
145
        display: inline-flex;
146
      }
147
 
148
      .emojione {
149
        height: 1rem;
150
        width: 1rem;
151
      }
152
 
153
      .pdf {
154
        width: 40px;
155
      }
156
    }
157
 
158
    .icon {
159
      border-radius: 50px;
160
      color: $chat-color;
161
      cursor: pointer;
162
      display: grid;
163
      height: 1.5rem;
164
      padding: 0;
165
      place-items: center;
166
      transition: all 0.2s;
167
      width: 1.5rem;
168
 
169
      &:hover {
170
        background: $chat-send;
171
      }
172
    }
173
 
174
    .display-reactions {
5928 stevensc 175
      align-items: center;
176
      background: $bg-color;
177
      border-radius: 10px;
178
      box-shadow: $shadow;
179
      color: $icons-color;
5351 stevensc 180
      display: flex;
5928 stevensc 181
      gap: 0.5rem;
182
      padding: 1rem;
5351 stevensc 183
 
184
      button {
5928 stevensc 185
        color: $icons-color;
5351 stevensc 186
      }
187
    }
188
 
189
  }
190
 
191
  .conversation-text.odd {
192
    flex-direction: row-reverse;
193
 
194
    .ctext-wrap {
195
      background: $chat-send;
196
      border-radius: 10px 0 10px 10px;
197
    }
198
  }
199
}
200
 
201
.chat-text_box {
202
  align-items: center;
203
  background-color: $bg-color-secondary;
204
  display: flex;
205
  gap: .5rem;
206
  padding: 0.5rem;
207
  position: relative;
208
 
209
  .btn-emoji {
210
    margin: 0;
211
    padding: 0;
212
  }
213
 
214
  textarea {
215
    background-color: var(--bg-color-secondary);
216
    border: none;
217
    height: 1.8rem;
218
    padding: 5px;
219
    outline: none;
220
    resize: none;
221
  }
222
}
223
 
224
.subpanel_title {
225
  background: $bg-color-secondary;
226
  color: $subtitle-color;
227
  cursor: pointer;
228
  font-weight: bold;
229
  padding: 0.5rem 1rem;
230
  font-size: 1.1rem;
231
  display: flex;
232
  justify-content: space-between;
233
  height: 30px;
234
 
235
  .subpanel_title-icons {
236
    display: flex;
237
    align-items: center;
238
    gap: 0.5rem;
239
    color: $subtitle-color;
240
  }
241
}
242
 
243
/*chat end*/
244
*::-webkit-scrollbar {
245
  width: 6px !important;
246
  height: 6px !important;
247
}
248
 
249
*::-webkit-scrollbar-thumb {
250
  background-color: rgba(0, 0, 0, 0.2);
251
}
252
 
253
*::-webkit-scrollbar-track {
254
  background: rgba(255, 255, 255, 0.08);
255
}
256
 
257
*::-webkit-input-placeholder {
258
  color: #ccc;
259
  font-size: 15px;
260
}
261
 
262
*::-moz-placeholder {
263
  color: #ccc;
264
  font-size: 15px;
265
}
266
 
267
.customtab2 {
268
  border-bottom: 1px solid #f7fafc;
269
  border-top: 1px solid #f7fafc;
270
  background: #f9f9f9;
271
 
272
  li {
273
    a {
274
      color: #333333;
275
    }
276
 
277
    &:hover {
278
      a {
279
        color: #333333;
280
        border-bottom: 1px solid #333;
281
      }
282
    }
283
 
284
    &.active {
285
 
286
      a,
287
      a:hover,
288
      a:focus {
289
 
290
        background: #333333;
291
        border: 1px solid #333333;
292
        color: #ffffff;
293
      }
294
    }
295
  }
296
}
297
 
298
.menu-tabs {
299
  display: flex;
300
  align-items: center;
301
}
302
 
303
.menu-item {
304
  cursor: pointer;
305
  flex: 1;
306
  text-align: center;
307
}
308
 
309
// Animations
310
@keyframes notify {
311
  0% {
312
    background-color: unset;
313
  }
314
 
315
  50% {
316
    background-color: #00b0ff;
317
  }
318
 
319
  100% {
320
    background-color: unset;
321
  }
322
}