271 lines
5.1 KiB
SCSS
271 lines
5.1 KiB
SCSS
select:not([size]) {
|
|
background-image: unset;
|
|
}
|
|
|
|
[type='text'],
|
|
[type='email'],
|
|
[type='url'],
|
|
[type='password'],
|
|
[type='number'],
|
|
[type='date'],
|
|
[type='datetime-local'],
|
|
[type='month'],
|
|
[type='search'],
|
|
[type='tel'],
|
|
[type='time'],
|
|
[type='week'],
|
|
[multiple],
|
|
textarea,
|
|
select {
|
|
border: unset;
|
|
}
|
|
|
|
.toggle-checkbox:checked {
|
|
right: 0;
|
|
border-color: rgb(125 211 252);
|
|
}
|
|
|
|
.toggle-checkbox:checked+.toggle-label {
|
|
background-color: rgb(125 211 252);
|
|
}
|
|
|
|
:host ::ng-deep .ng-select.ng-select-single .ng-select-container {
|
|
min-height: 52px;
|
|
border: none;
|
|
background-color: transparent;
|
|
|
|
.ng-value-container .ng-input {
|
|
top: 12px;
|
|
}
|
|
|
|
span.ng-arrow-wrapper {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
select {
|
|
color: #000;
|
|
/* Standard-Textfarbe für das Dropdown */
|
|
// background-color: #fff; /* Hintergrundfarbe für das Dropdown */
|
|
}
|
|
|
|
select option {
|
|
color: #000;
|
|
/* Textfarbe für Dropdown-Optionen */
|
|
}
|
|
|
|
select.placeholder-selected {
|
|
color: #6b7280;
|
|
/* gray-500 - besserer Kontrast für WCAG AA */
|
|
}
|
|
|
|
input::placeholder {
|
|
color: #555;
|
|
/* Dunkleres Grau */
|
|
opacity: 1;
|
|
/* Stellt sicher, dass die Deckkraft 100% ist */
|
|
}
|
|
|
|
/* Stellt sicher, dass die Optionen im Dropdown immer schwarz sind */
|
|
select:focus option,
|
|
select:hover option {
|
|
color: #000 !important;
|
|
}
|
|
|
|
input[type='text'][name='aiSearchText'] {
|
|
padding: 14px;
|
|
/* Innerer Abstand */
|
|
font-size: 16px;
|
|
/* Schriftgröße anpassen */
|
|
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;
|
|
pointer-events: none;
|
|
}
|
|
|
|
&: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;
|
|
// KEIN backdrop-filter hier!
|
|
background-color: rgba(255, 255, 255, 0.95) !important;
|
|
border: 1px solid rgba(0, 0, 0, 0.1); // Dunklerer Rand für Kontrast
|
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
|
|
|
|
// Falls Firefox das Element "vergisst", erzwingen wir eine Ebene
|
|
transform: translateZ(0);
|
|
opacity: 1 !important;
|
|
visibility: visible !important;
|
|
}
|
|
|
|
// 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);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Screen reader only - visually hidden but accessible
|
|
.sr-only {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
white-space: nowrap;
|
|
border-width: 0;
|
|
} |