Rev 5785 | Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
@use "../../settings/mixins.scss";
.feed {
@include mixins.widget;
display: flex;
flex-direction: column;
gap: 1rem;
padding: 1rem;
}
.reactions {
position: absolute;
bottom: calc(100% + .5rem);
background-color: $bg-color;
box-shadow: 0px 0px 3px #000;
gap: .5rem;
left: 50%;
display: none;
padding: .2rem;
width: fit-content;
border-radius: 20px;
transform: translateX(-50%);
button {
transition: all .2s;
svg {
font-size: 32px;
}
&:hover {
transform: scale(1.2) translateY(-5px);
}
}
&.active {
display: flex;
transform-origin: bottom;
animation: animationIn .2s;
}
}
.reactions-counter {
display: inline-flex;
align-items: center;
svg {
background-color: #dfdfdf;
border-radius: 50%;
font-size: 1.2rem;
&:not(:first-child) {
margin-left: -0.5rem;
}
}
span {
color: $subtitle-color;
margin-left: .2rem;
font-size: .9rem;
}
}
@keyframes animationIn {
0% {
transform: translateX(-50%);
}
to {
transform: translateX(-50%) scaleY(1);
}
}
.feedCommentContainer {
display: flex;
justify-content: flex-start;
align-items: center;
gap: 10px;
&>img {
border-radius: 100px;
width: 43px;
height: 43px;
object-fit: cover;
background: #fff;
}
.commentInput {
margin: 0;
flex: 1;
padding: 0.5rem 0;
border: none;
font-size: 1rem;
background-color: $bg-color;
}
.submitButton {
height: 2.5rem;
margin: 0;
width: auto;
margin-top: 0.5rem;
background-color: $button-bg;
border: none;
padding: 0.5rem 1rem;
color: $bg-color;
border-radius: var(--global-border-radius);
border: 1px solid $button-bg;
font-size: 1rem;
transition: 0.2s;
&:hover {
background-color: $button-bg-hover;
}
}
}