Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
6830 stevensc 1
@use "../../../styles/mixins.scss";
2
 
3
.feed {
4
  @include mixins.widget;
5
  display: flex;
6
  flex-direction: column;
7
  gap: 1rem;
8
  padding: 1rem;
9
}
10
 
11
.reactions {
12
  position: absolute;
13
  bottom: calc(100% + .5rem);
14
  background-color: $bg-color;
15
  box-shadow: 0px 0px 3px #000;
16
  gap: .5rem;
17
  left: 50%;
18
  display: none;
19
  padding: .2rem;
20
  width: fit-content;
21
  border-radius: 20px;
22
  transform: translateX(-50%);
23
 
24
  button {
25
    transition: all .2s;
26
 
27
    svg {
28
      font-size: 32px;
29
    }
30
 
31
    &:hover {
32
      transform: scale(1.2) translateY(-5px);
33
    }
34
  }
35
 
36
  &.active {
37
    display: flex;
38
    transform-origin: bottom;
39
    animation: animationIn .2s;
40
  }
41
}
42
 
43
.reactions-counter {
44
  display: inline-flex;
45
  align-items: center;
46
 
47
  svg {
48
    background-color: #dfdfdf;
49
    border-radius: 50%;
50
    font-size: 1.2rem;
51
 
52
    &:not(:first-child) {
53
      margin-left: -0.5rem;
54
    }
55
  }
56
 
57
  span {
58
    color: $subtitle-color;
59
    margin-left: .2rem;
60
    font-size: .9rem;
61
  }
62
}
63
 
64
@keyframes animationIn {
65
  0% {
66
    transform: translateX(-50%);
67
  }
68
 
69
  to {
70
    transform: translateX(-50%) scaleY(1);
71
  }
72
}
73
 
74
.feedCommentContainer {
75
  display: flex;
76
  justify-content: flex-start;
77
  align-items: center;
78
  gap: 10px;
79
 
80
  &>img {
81
    border-radius: 100px;
82
    width: 43px;
83
    height: 43px;
84
    object-fit: cover;
85
    background: #fff;
86
  }
87
 
88
  .commentInput {
89
    margin: 0;
90
    flex: 1;
91
    padding: 0.5rem;
92
    border: none;
93
    font-size: 1rem;
94
    background-color: $bg-color-secondary;
95
    border: 1px solid $border-primary;
96
    border-radius: $border-radius;
97
 
98
  }
99
 
100
  .submitButton {
101
    height: 2.5rem;
102
    margin: 0;
103
    width: auto;
104
    margin-top: 0.5rem;
105
    background-color: $button-bg;
106
    border: none;
107
    padding: 0.5rem 1rem;
108
    color: $bg-color;
109
    border-radius: var(--global-border-radius);
110
    border: 1px solid $button-bg;
111
    font-size: 1rem;
112
    transition: 0.2s;
113
 
114
    &:hover {
115
      background-color: $button-bg-hover;
116
    }
117
  }
118
}