Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
7317 stevensc 1
.message {
2
  box-shadow: $light-shadow;
3
  display: inline-flex;
4
  flex-direction: column;
5
  gap: .5rem;
6
  margin-bottom: 0.5rem;
7
  max-width: 70%;
8
  min-width: 4rem;
9
  padding: 0.5rem;
10
  position: relative;
11
 
12
  &>p {
13
    color: $chat-color;
14
    max-width: 100%;
15
    overflow: hidden;
16
    text-overflow: ellipsis;
17
    word-break: break-word;
18
  }
19
 
20
  &>img {
21
    max-width: 250px;
22
    max-height: 250px;
23
    object-fit: contain;
24
  }
25
 
26
  &:first-child {
27
    margin-top: .5rem;
28
  }
29
 
30
  &.sent {
31
    background-color: $chat-send;
32
    border-radius: 10px 0 10px 10px;
33
  }
34
 
35
  &.received {
36
    background-color: $chat-received;
37
    border-radius: 0 10px 10px 10px;
38
  }
39
 
40
  &_time {
41
    color: $subtitle-color;
42
    font-size: 0.8rem;
43
  }
44
 
45
  .emojione {
46
    width: 1rem;
47
    height: 1rem;
48
  }
49
}
50
 
51
.download_btn {
52
  display: inline-flex;
53
  gap: 0.5rem;
54
  padding: 2px 10px;
55
  margin-left: 0.2rem;
56
  color: black;
57
}
58
 
59
.user_name {
60
  font-size: 0.7rem;
61
  color: $font-color;
62
  align-self: flex-start;
63
  margin-bottom: 0.2rem;
64
}
65
 
66
.display-reactions {
67
  align-items: center;
68
  background: $bg-color;
69
  border-radius: 10px;
70
  box-shadow: $shadow;
71
  color: $icons-color;
72
  display: flex;
73
  gap: 0.5rem;
74
  padding: 1rem;
75
 
76
  button {
77
    color: $icons-color;
78
  }
79
}
80
 
81
.message_container {
82
  display: flex;
83
  gap: .5rem;
84
  width: 100%;
85
  align-items: center;
86
 
87
  &.sent {
88
    flex-direction: row-reverse;
89
  }
90
 
91
  &.received {
92
    flex-direction: row;
93
  }
94
}