Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 5928 | | 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;
5930 stevensc 208
  border: 1px solid $border-primary;
5351 stevensc 209
 
210
  .btn-emoji {
211
    margin: 0;
212
    padding: 0;
213
  }
214
 
215
  textarea {
216
    background-color: var(--bg-color-secondary);
217
    border: none;
218
    height: 1.8rem;
219
    padding: 5px;
220
    outline: none;
221
    resize: none;
222
  }
223
}
224
 
225
.subpanel_title {
226
  background: $bg-color-secondary;
227
  color: $subtitle-color;
228
  cursor: pointer;
229
  font-weight: bold;
230
  padding: 0.5rem 1rem;
231
  font-size: 1.1rem;
232
  display: flex;
233
  justify-content: space-between;
234
  height: 30px;
235
 
236
  .subpanel_title-icons {
237
    display: flex;
238
    align-items: center;
239
    gap: 0.5rem;
240
    color: $subtitle-color;
241
  }
242
}
243
 
244
/*chat end*/
245
*::-webkit-scrollbar {
246
  width: 6px !important;
247
  height: 6px !important;
248
}
249
 
250
*::-webkit-scrollbar-thumb {
251
  background-color: rgba(0, 0, 0, 0.2);
252
}
253
 
254
*::-webkit-scrollbar-track {
255
  background: rgba(255, 255, 255, 0.08);
256
}
257
 
258
*::-webkit-input-placeholder {
259
  color: #ccc;
260
  font-size: 15px;
261
}
262
 
263
*::-moz-placeholder {
264
  color: #ccc;
265
  font-size: 15px;
266
}
267
 
268
.customtab2 {
269
  border-bottom: 1px solid #f7fafc;
270
  border-top: 1px solid #f7fafc;
271
  background: #f9f9f9;
272
 
273
  li {
274
    a {
275
      color: #333333;
276
    }
277
 
278
    &:hover {
279
      a {
280
        color: #333333;
281
        border-bottom: 1px solid #333;
282
      }
283
    }
284
 
285
    &.active {
286
 
287
      a,
288
      a:hover,
289
      a:focus {
290
 
291
        background: #333333;
292
        border: 1px solid #333333;
293
        color: #ffffff;
294
      }
295
    }
296
  }
297
}
298
 
299
.menu-tabs {
300
  display: flex;
301
  align-items: center;
302
}
303
 
304
.menu-item {
305
  cursor: pointer;
306
  flex: 1;
307
  text-align: center;
308
}
309
 
310
// Animations
311
@keyframes notify {
312
  0% {
313
    background-color: unset;
314
  }
315
 
316
  50% {
317
    background-color: #00b0ff;
318
  }
319
 
320
  100% {
321
    background-color: unset;
322
  }
323
}