You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
feo-homepage/core/static/css/theme/utilities.css

108 lines
1.9 KiB

/* FEO GmbH Custom Bootstrap Theme - Utilities
* Scrollbar styling and other utilities
*/
/* Custom Scrollbar Styling */
/* WebKit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
width: var(--scrollbar-width);
height: var(--scrollbar-width);
}
::-webkit-scrollbar-track {
background: var(--scrollbar-track);
border-radius: 10px;
}
::-webkit-scrollbar-thumb {
background: var(--scrollbar-thumb);
border-radius: 10px;
transition: background 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
background: var(--scrollbar-thumb-hover);
}
/* Firefox */
* {
scrollbar-width: thin;
scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}
/* Image Tab styling */
.image-tab-container {
margin: 1rem 0 2rem;
}
.image-tab-wrapper {
display: inline-block;
position: relative;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
transition: all 0.3s ease;
}
.image-tab-wrapper:hover {
transform: translateY(-5px);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}
.image-tab-wrapper img {
border-radius: 8px;
transition: all 0.5s ease;
}
.image-tab-caption {
font-size: 0.9rem;
color: #666;
padding: 0.5rem 0;
font-style: italic;
}
/* Image size options */
.image-size-small {
width: 25%;
min-width: 200px;
}
.image-size-medium {
width: 50%;
min-width: 300px;
}
.image-size-large {
width: 75%;
min-width: 400px;
}
.image-size-full {
width: 100%;
}
/* Responsive adjustments for image tabs */
@media (max-width: 767.98px) {
.image-size-small,
.image-size-medium,
.image-size-large {
width: 100%;
min-width: auto;
}
}
/* Sponsor heading */
.sponsor-heading {
padding-bottom: 0.75rem;
border-bottom: 2px solid rgba(var(--bs-primary-rgb), 0.1);
}
.sponsor-heading::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 50px;
height: 2px;
background-color: var(--bs-primary);
}