Rev 16661 | Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
@use "../../css/shared/mixin.scss";
@import "../../css/shared/variables.scss";
@import "../../css/shared/breakpoints.scss";
.feed {
@include mixin.widget;
display: flex;
flex-direction: column;
gap: .5rem;
padding: 1rem;
&_header {
align-items: center;
display: flex;
position: relative;
gap: .5rem;
width: 100%;
img {
width: 50px;
height: 50px;
border-radius: 100%;
}
}
&_info {
display: flex;
flex-direction: column;
h2 {
color: $title-color;
font-size: 1.1rem;
font-weight: 600;
}
span {
align-items: center;
color: $subtitle-color;
display: flex;
gap: .5rem;
}
}
}
.feed_content {
width: 100%;
display: flex;
flex-direction: column;
gap: .5rem;
p {
color: $font-color;
font-weight: 500;
}
}
.img_container {
position: relative;
max-height: 500px;
overflow: hidden;
img:first-child {
z-index: 3;
object-fit: cover;
width: 100%;
position: relative;
}
img:nth-child(2) {
position: absolute;
top: 50%;
left: 0;
transform: translateY(-50%);
z-index: 1;
object-fit: cover;
height: 180%;
width: 100%;
max-height: none;
filter: blur(20px);
}
}
.commentSection {
max-height: 400px;
overflow-y: auto;
background: $background-gray;
margin-top: 1rem;
padding: 1rem;
}
.feedCommentContainer {
display: flex;
justify-content: flex-start;
align-items: center;
margin-top: 1rem;
gap: 10px;
img {
border-radius: 100px;
width: 43px;
height: 43px;
object-fit: cover;
}
.commentInput {
margin: 0;
flex: 1;
padding: 0.5rem 0;
border: none;
font-size: 1rem;
}
.submitButton {
height: 2.5rem;
margin: 0;
width: auto;
margin-top: 0.5rem;
background-color: $primary-lightblue;
border: none;
padding: 0.5rem 1rem;
color: white !important;
border-radius: var(--global-border-radius);
border: 1px solid $primary-lightblue;
font-size: 1rem;
transition: 0.2s;
&:hover {
background-color: $primary-lightblue-hover;
}
}
}