CinePlex/css/providers.css

90 lines
1.8 KiB
CSS
Raw Normal View History

2025-07-25 23:57:03 +02:00
.providers-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: 30px;
padding: 30px;
perspective: 1000px;
}
.provider-card {
position: relative;
width: 140px;
height: 140px;
background-color: transparent;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: transform 0.4s ease, box-shadow 0.4s ease;
box-shadow: 0 0 0px rgba(0, 0, 0, 0.3);
overflow: hidden;
border: none;
}
.provider-card:hover {
transform: scale(1.1) translateY(-5px);
box-shadow: 0 0 25px rgba(0, 224, 255, 0.7);
}
.provider-logo {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 0;
transition: filter 0.3s ease;
}
.provider-card:hover .provider-logo {
filter: brightness(1.1);
}
.provider-name {
display: none;
}
.provider-card.available {
box-shadow: 0 0 15px #00e0ff;
}
.provider-card.available::after {
content: '\f00c';
font-family: 'Font Awesome 5 Free';
font-weight: 900;
position: absolute;
top: -5px;
right: -5px;
background-color: #00e0ff;
color: #121212;
border-radius: 50%;
width: 25px;
height: 25px;
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
box-shadow: 0 0 10px rgba(0, 224, 255, 0.5);
z-index: 11;
}
.provider-tooltip {
position: absolute;
bottom: -35px;
background-color: #00e0ff;
color: #121212;
padding: 5px 12px;
border-radius: 15px;
font-size: 14px;
font-weight: 600;
white-space: nowrap;
opacity: 0;
transform: translateY(10px);
transition: opacity 0.3s ease, transform 0.3s ease;
pointer-events: none;
z-index: 10;
}
.provider-card:hover .provider-tooltip {
opacity: 1;
transform: translateY(0);
}