
.blog-post-list-category-filter {
position: relative;
display: flex;
flex-flow: row nowrap;
align-items: center;
width: 100%;
margin: 0 auto;
}
.filter-control {
position: absolute;
height: 100%;
align-items: center;
justify-content: center;
display: flex;
cursor: pointer;
z-index: 2;
button {
height: 24px;
width: 24px;
border: none;
background: none;
padding: 0px;
}
}
.filter-control.left {
left: 0px;
padding-right: 44px;
position: absolute;
background: linear-gradient(90deg, #FFF 25%, rgba(255, 255, 255, 0.90) 50%, rgba(255, 255, 255, 0.75) 75%, rgba(255, 255, 255, 0.00) 100%);
}
.filter-control.right {
right: 0px;
padding-left: 44px;
position: absolute;
background: linear-gradient(270deg, #FFF 25%, rgba(255, 255, 255, 0.90) 50%, rgba(255, 255, 255, 0.75) 75%, rgba(255, 255, 255, 0.00) 100%);
}
.filter-control.hidden {
display: none;
}
.filter-control.mobile-hidden {
display: none !important;
}
.blog-post-list-category-filter-list {
display: flex;
flex-flow: row nowrap;
gap: 10px;
margin: 0;
flex: 1;
width: 0px;
padding-right: 60px;
min-width: 0;
overflow-x: auto;
white-space: nowrap;
scrollbar-width: none;
scroll-snap-type: none;
scroll-behavior: smooth;
-webkit-overflow-scrolling: touch;
-ms-overflow-style: none;
transform: translateZ(0);
backface-visibility: hidden;
perspextive: 1000px;
}
.blog-post-list-category-filter-list.dragging {
scroll-behavior: auto;
cursor: grabbing !important;
}
.blog-post-list-category-filter-list::-webkit-scrollbar {
display: none;
}
.blog-post-list-category-filter-item {
max-width: 125px;
overflow: hidden;
text-overflow: ellipsis;
display: inline-block;
padding: 4px 12px;
border: 1px solid rgba(0, 0, 0, 0.12);
border-radius: 16px;
font-size: 13px;
line-height: 20px;
cursor: pointer;
background: none;
white-space: nowrap;
color: var(--text-color);
flex-shrink: 0;
user-select: none;
transform: translateZ(0);
backface-visibility: hidden;
}
.blog-post-list-category-filter-item:active,
.blog-post-list-category-filter-item:focus,
.blog-post-list-category-filter-item:focus-visible,
.blog-post-list-category-filter-item:hover {
color: var(--cta-background-color) !important;
background-color: rgb(from var(--cta-background-color) r g b / 0.1) !important;
outline: none !important;
}
.category-tooltip {
position: fixed;
background: #333;
color: white;
padding: 6px 12px;
border-radius: 6px;
z-index: 10000;
pointer-events: none;
white-space: nowrap;
box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
}
@media (max-width: 768px) {
.blog-post-list-category-filter-list {
gap: 5px;
}
}
