Rev 7148 | AutorÃa | Comparar con el anterior | Ultima modificación | Ver Log |
.feed__share {
background-color: #fff;
display: grid;
gap: 1rem;
padding: 10px;
width: 100%;
box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.08);
@media (min-width: 768px) {
border-radius: 10px;
}
}
.feed__input-container {
display: flex;
align-items: center;
gap: 0.5rem;
.feed__input {
align-items: center;
border: 1px solid lightgray;
border-radius: 30px;
color: gray;
display: flex;
gap: 0.5rem;
padding: 10px;
padding-left: 1rem;
overflow: hidden;
flex: 1;
cursor: pointer;
&:hover {
background-color: rgba(0, 0, 0, 0.08);
}
input {
background-color: transparent;
border: none;
cursor: pointer;
outline: none;
flex: 1;
font-weight: 600;
}
}
}
.feed__section {
display: flex;
flex-direction: column;
grid-area: main;
gap: 1rem;
position: relative;
}
.feed__info {
display: flex;
flex-direction: column;
justify-content: center;
gap: 5px;
&>a>h2 {
font-size: 1rem;
font-weight: bold;
}
&>p {
font-size: 0.8rem;
color: gray;
line-height: 1.5;
}
.time__elapse {
align-items: center;
display: flex;
font-size: 14px;
gap: 5px;
.time__elapse-icon {
font-size: 14px;
}
}
}
.feed__share-options {
display: flex;
justify-content: space-evenly;
}
.feed__share-option {
align-items: center;
display: inline-flex;
justify-content: center;
cursor: pointer;
gap: 0.5rem;
padding: 10px;
&:hover {
background-color: whitesmoke;
border-radius: 10px;
}
h4 {
display: none;
}
@media (min-width: 1200px) {
justify-content: flex-start;
h4 {
display: initial;
}
}
}
.feed {
background-color: #fff;
display: flex;
flex-direction: column;
gap: 0.5rem;
box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.08);
padding: 0;
@media (min-width: 768px) {
box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.08);
border-radius: 10px;
}
}
.feed__header {
display: flex;
gap: 0.5rem;
padding: 5px 1rem 0;
justify-content: space-between;
align-items: center;
position: relative;
}
.feed__body {
overflow-wrap: anywhere;
display: flex;
flex-direction: column;
gap: 0.5rem;
h2,
p,
a,
span {
padding: 0 10px;
}
p,
a,
span {
line-height: 1.25;
}
a {
color: #00bfff;
font-weight: 600;
}
&>img,
&>video {
width: 100%;
max-height: 550px;
object-fit: cover;
}
}
.feed__buttons {
display: flex;
justify-content: space-around;
border-top: 1px solid lightgray;
gap: 0.5rem;
padding: 5px;
margin: 0 5px;
.feed__share-option {
flex-grow: 1;
}
}
.external__share {
display: flex;
position: absolute;
align-items: center;
padding: 5px 1rem;
bottom: calc(100% + 0.5rem);
gap: 0.5rem;
right: 0;
width: 16.5rem;
border-radius: 10px;
background-color: #fff;
box-shadow: 0px 4px 4px -2px rgb(0 0 0 / 12%), 0px -4px 4px -2px rgb(0 0 0 / 12%);
&.post {
transform: none;
bottom: 100%;
right: 1.5rem;
z-index: 200;
}
}