File: /opt/wpsites/datainsightnow.com/wp-content/plugins/essential-blocks/blocks/post-grid/src/style.scss
.eb-post-grid-wrapper {
z-index: 1;
a,
a.ebpg-grid-post-link,
.ebpg-posted-by a {
text-decoration: none;
transition: all 0.3s ease-in-out;
}
.ebpg-grid-post-holder {
a.ebpg-post-link-wrapper {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 99;
}
}
.ebpg-entry-thumbnail {
position: relative;
line-height: 0;
img {
width: 100%;
object-fit: cover;
}
&:after {
content: "";
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
opacity: 0;
visibility: hidden;
transition: all 0.5s ease-in-out;
}
&:hover:after {
visibility: visible;
opacity: 1;
}
}
.ebpg-entry-meta {
display: flex;
align-items: center;
.ebpg-entry-meta-items {
display: flex;
align-items: center;
flex-wrap: wrap;
}
}
.ebpg-author-avatar a {
display: block;
img {
height: 50px;
width: 50px;
max-height: 50px;
max-width: 50px;
object-fit: cover;
}
}
.ebpg-meta a {
padding: 2px 5px;
border-radius: 3px;
margin-right: 5px;
margin-bottom: 5px;
display: inline-block;
text-decoration: none;
}
.ebpg-meta.ebpg-dynamic-values {
padding: 2px 5px;
border-radius: 3px;
margin-right: 5px;
margin-bottom: 5px;
display: inline-block;
text-decoration: none;
}
.ebpg-read-time i {
margin-right: 5px;
}
.ebpg-post-grid-column {
overflow: hidden;
z-index: 99;
}
.ebpg-readmore-btn {
a {
display: inline-block;
}
}
&.style-4 {
.ebpg-grid-post-holder {
display: flex;
gap: 10px;
.ebpg-entry-media {
width: 40%;
}
.ebpg-entry-wrapper {
width: 60%;
display: flex;
flex-flow: column;
.ebpg-entry-meta.ebpg-header-meta {
order: 1;
}
.ebpg-entry-header {
order: 2;
}
.ebpg-entry-content {
order: 3;
}
.ebpg-entry-meta.ebpg-footer-meta {
order: 4;
}
.ebpg-author-avatar a {
line-height: 1;
max-height: 25px;
img {
height: 25px;
width: 25px;
max-height: 100%;
max-width: 100%;
}
}
}
}
}
&.style-5 {
.ebpg-grid-post-holder {
position: relative;
.ebpg-entry-wrapper {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
flex-flow: column;
.ebpg-entry-meta {
z-index: 999;
line-height: 1;
}
}
.ebpg-entry-thumbnail:after {
visibility: visible;
opacity: 1;
}
&:hover .ebpg-entry-thumbnail:after {
visibility: visible;
opacity: 1;
}
}
}
.ebpg-pagination {
grid-column: 1/-1;
button:disabled {
opacity: 0.5;
background-color: #e8e8e8;
color: #333;
&:hover {
cursor: unset;
background-color: #e8e8e8;
color: #333;
}
}
&.prev-next-btn {
.ebpg-pagination-item,
.ebpg-pagination-item-separator {
display: none !important;
}
}
.show {
display: inline-block;
}
.hide {
display: none;
}
.ebpg-pagination-item-separator {
background-color: transparent !important;
border: none !important;
}
}
}
.eb-post-grid-category-filter {
grid-column: 1 / -1;
width: 100%;
margin-bottom: 20px;
.ebpg-category-filter-list {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-wrap: wrap;
gap: 10px;
justify-content: center;
li {
width: auto;
padding: 10px 20px;
border-radius: 3px;
transition: all 0.3s ease-in-out;
&.active {
background-color: #d18df1;
color: #fff;
}
&:hover {
cursor: pointer;
background-color: #d18df1;
color: #fff;
}
}
}
}