SEO/AEO, Farb schema, breadcrumbs
This commit is contained in:
@@ -1,8 +1,41 @@
|
||||
.bg-cover-custom {
|
||||
position: relative;
|
||||
// Prioritize AVIF format (69KB) over JPG (26MB)
|
||||
background-image: url('/assets/images/flags_bg.avif');
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
border-radius: 20px;
|
||||
|
||||
// Fallback for browsers that don't support AVIF
|
||||
@supports not (background-image: url('/assets/images/flags_bg.avif')) {
|
||||
background-image: url('/assets/images/flags_bg.jpg');
|
||||
}
|
||||
|
||||
// Add gradient overlay for better text contrast
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: linear-gradient(
|
||||
180deg,
|
||||
rgba(0, 0, 0, 0.35) 0%,
|
||||
rgba(0, 0, 0, 0.15) 40%,
|
||||
rgba(0, 0, 0, 0.05) 70%,
|
||||
rgba(0, 0, 0, 0) 100%
|
||||
);
|
||||
border-radius: 20px;
|
||||
pointer-events: none;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
// Ensure content stays above overlay
|
||||
> * {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
}
|
||||
select:not([size]) {
|
||||
background-image: unset;
|
||||
@@ -32,11 +65,11 @@ select {
|
||||
background-color: rgb(125 211 252);
|
||||
}
|
||||
:host ::ng-deep .ng-select.ng-select-single .ng-select-container {
|
||||
height: 48px;
|
||||
min-height: 52px;
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
.ng-value-container .ng-input {
|
||||
top: 10px;
|
||||
top: 12px;
|
||||
}
|
||||
span.ng-arrow-wrapper {
|
||||
display: none;
|
||||
@@ -70,3 +103,164 @@ input[type='text'][name='aiSearchText'] {
|
||||
box-sizing: border-box; /* Padding und Border in die Höhe und Breite einrechnen */
|
||||
height: 48px;
|
||||
}
|
||||
|
||||
// Enhanced Search Button Styling
|
||||
.search-button {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
|
||||
&:hover {
|
||||
box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
|
||||
filter: brightness(1.05);
|
||||
}
|
||||
|
||||
&:active {
|
||||
transform: scale(0.98);
|
||||
}
|
||||
|
||||
// Ripple effect
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-radius: 50%;
|
||||
background: rgba(255, 255, 255, 0.3);
|
||||
transform: translate(-50%, -50%);
|
||||
transition: width 0.6s, height 0.6s;
|
||||
}
|
||||
|
||||
&:active::after {
|
||||
width: 300px;
|
||||
height: 300px;
|
||||
}
|
||||
}
|
||||
|
||||
// Tab Icon Styling
|
||||
.tab-icon {
|
||||
font-size: 1rem;
|
||||
margin-right: 0.5rem;
|
||||
transition: transform 0.2s ease;
|
||||
}
|
||||
|
||||
.tab-link {
|
||||
transition: all 0.2s ease-in-out;
|
||||
|
||||
&:hover .tab-icon {
|
||||
transform: scale(1.15);
|
||||
}
|
||||
}
|
||||
|
||||
// Input Field Hover Effects
|
||||
select,
|
||||
.ng-select {
|
||||
transition: all 0.2s ease-in-out;
|
||||
|
||||
&:hover {
|
||||
background-color: rgba(243, 244, 246, 0.8);
|
||||
}
|
||||
|
||||
&:focus,
|
||||
&:focus-within {
|
||||
background-color: white;
|
||||
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
|
||||
}
|
||||
}
|
||||
|
||||
// Smooth tab transitions
|
||||
.tab-content {
|
||||
animation: fadeInUp 0.3s ease-out;
|
||||
}
|
||||
|
||||
@keyframes fadeInUp {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(10px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
// Trust section container - more prominent
|
||||
.trust-section-container {
|
||||
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
|
||||
transition: box-shadow 0.3s ease, transform 0.3s ease;
|
||||
|
||||
&:hover {
|
||||
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
|
||||
}
|
||||
}
|
||||
|
||||
// Trust badge animations - subtle lowkey style
|
||||
.trust-badge {
|
||||
transition: opacity 0.2s ease;
|
||||
|
||||
&:hover {
|
||||
opacity: 0.8;
|
||||
}
|
||||
}
|
||||
|
||||
.trust-icon {
|
||||
transition: background-color 0.2s ease, color 0.2s ease;
|
||||
}
|
||||
|
||||
.trust-badge:hover .trust-icon {
|
||||
background-color: rgb(229, 231, 235); // gray-200
|
||||
color: rgb(75, 85, 99); // gray-600
|
||||
}
|
||||
|
||||
// Stat counter animation - minimal
|
||||
.stat-number {
|
||||
transition: color 0.2s ease;
|
||||
|
||||
&:hover {
|
||||
color: rgb(55, 65, 81); // gray-700 darker
|
||||
}
|
||||
}
|
||||
|
||||
// Search form container enhancement
|
||||
.search-form-container {
|
||||
transition: all 0.3s ease;
|
||||
backdrop-filter: blur(10px);
|
||||
|
||||
&:hover {
|
||||
background-color: rgba(255, 255, 255, 0.9);
|
||||
}
|
||||
}
|
||||
|
||||
// Header button improvements
|
||||
header {
|
||||
a {
|
||||
transition: all 0.2s ease-in-out;
|
||||
|
||||
&.text-blue-600.border.border-blue-600 {
|
||||
// Log In button
|
||||
&:hover {
|
||||
background-color: rgba(37, 99, 235, 0.05);
|
||||
box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
|
||||
}
|
||||
|
||||
&:active {
|
||||
transform: scale(0.98);
|
||||
}
|
||||
}
|
||||
|
||||
&.bg-blue-600 {
|
||||
// Register button
|
||||
&:hover {
|
||||
background-color: rgb(29, 78, 216);
|
||||
box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
|
||||
filter: brightness(1.05);
|
||||
}
|
||||
|
||||
&:active {
|
||||
transform: scale(0.98);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user