Files
Webklar.com/components/AnimatedList.css
Basilosaurusrex f027651f9b main repo
2025-11-24 18:09:40 +01:00

96 lines
1.5 KiB
CSS

.scroll-list-container {
position: relative;
width: 100%;
}
.scroll-list {
max-height: 600px;
overflow-y: auto;
padding: 16px;
}
.scroll-list::-webkit-scrollbar {
width: 8px;
}
.scroll-list::-webkit-scrollbar-track {
background: rgba(10, 64, 12, 0.3);
}
.scroll-list::-webkit-scrollbar-thumb {
background: #B1AB86;
border-radius: 4px;
}
.scroll-list::-webkit-scrollbar-thumb:hover {
background: #819067;
}
.no-scrollbar::-webkit-scrollbar {
display: none;
}
.no-scrollbar {
-ms-overflow-style: none;
scrollbar-width: none;
}
.item {
padding: 32px;
background-color: rgba(254, 250, 224, 0.1);
border-radius: 16px;
margin-bottom: 1.5rem;
transition: all 0.3s ease;
border: 2px solid transparent;
}
.item.selected {
background-color: rgba(254, 250, 224, 0.2);
border-color: #B1AB86;
transform: scale(1.02);
}
.item-text {
color: #FEFAE0;
margin: 0;
white-space: pre-line;
line-height: 1.6;
}
.item-title {
font-weight: 600;
font-size: 1.4rem;
margin-bottom: 0.75rem;
color: #B1AB86;
}
.item-description {
font-size: 1.15rem;
color: #FEFAE0;
line-height: 1.6;
opacity: 0.9;
}
.top-gradient {
position: absolute;
top: 0;
left: 0;
right: 0;
height: 50px;
background: linear-gradient(to bottom, #0A400C, transparent);
pointer-events: none;
transition: opacity 0.3s ease;
}
.bottom-gradient {
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 100px;
background: linear-gradient(to top, #0A400C, transparent);
pointer-events: none;
transition: opacity 0.3s ease;
}