backup and fixes

This commit is contained in:
2026-01-30 10:48:56 +01:00
parent cc4bfa5dbe
commit afcbd07d56
75 changed files with 6774 additions and 668 deletions

View File

@@ -0,0 +1,307 @@
/* Cookie Consent System - Matches Profice Design System */
/* Cookie Banner */
.cookie-banner {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background: var(--primary-light);
border-top: 1px solid var(--primary-mid);
padding: 20px 40px;
z-index: 10000;
box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
transform: translateY(100%);
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.cookie-banner.show {
transform: translateY(0);
}
.cookie-banner-content {
max-width: 1200px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
gap: 30px;
}
.cookie-text {
flex: 1;
color: var(--primary-dark);
font-size: 14px;
line-height: 1.5;
}
.cookie-text h3 {
margin: 0 0 8px 0;
font-size: 16px;
font-weight: 600;
color: var(--primary-dark);
}
.cookie-text p {
margin: 0;
opacity: 0.8;
}
.cookie-text a {
color: var(--accent-teal);
text-decoration: none;
font-weight: 500;
}
.cookie-text a:hover {
text-decoration: underline;
}
.cookie-buttons {
display: flex;
gap: 12px;
align-items: center;
}
.cookie-btn {
padding: 10px 20px;
border: none;
border-radius: 8px;
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
text-decoration: none;
display: inline-block;
}
.cookie-btn-primary {
background: var(--primary-dark);
color: var(--primary-light);
}
.cookie-btn-primary:hover {
background: var(--primary-mid);
transform: translateY(-1px);
}
.cookie-btn-secondary {
background: transparent;
color: var(--primary-dark);
border: 2px solid var(--primary-mid);
}
.cookie-btn-secondary:hover {
background: var(--primary-mid);
color: var(--primary-light);
}
.cookie-btn-settings {
background: transparent;
color: var(--accent-teal);
border: none;
text-decoration: underline;
font-size: 14px;
padding: 5px 0;
}
.cookie-btn-settings:hover {
color: var(--primary-dark);
}
/* Cookie Settings Modal */
.cookie-modal {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
z-index: 10001;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
}
.cookie-modal.show {
opacity: 1;
visibility: visible;
}
.cookie-modal-content {
background: var(--primary-light);
border-radius: 12px;
padding: 30px;
max-width: 600px;
width: 90%;
max-height: 80vh;
overflow-y: auto;
transform: scale(0.9);
transition: transform 0.3s ease;
}
.cookie-modal.show .cookie-modal-content {
transform: scale(1);
}
.cookie-modal-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
padding-bottom: 15px;
border-bottom: 1px solid var(--primary-mid);
}
.cookie-modal-title {
font-size: 20px;
font-weight: 600;
color: var(--primary-dark);
margin: 0;
}
.cookie-modal-close {
background: none;
border: none;
font-size: 24px;
color: var(--primary-mid);
cursor: pointer;
padding: 0;
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
transition: all 0.3s ease;
}
.cookie-modal-close:hover {
background: var(--primary-mid);
color: var(--primary-light);
}
.cookie-option {
margin-bottom: 20px;
padding: 15px;
border: 1px solid var(--primary-mid);
border-radius: 8px;
background: rgba(255, 255, 255, 0.5);
}
.cookie-option-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 8px;
}
.cookie-option-title {
font-weight: 600;
color: var(--primary-dark);
margin: 0;
}
.cookie-option-description {
color: var(--primary-mid);
font-size: 14px;
line-height: 1.4;
margin: 0;
}
.cookie-toggle {
position: relative;
width: 50px;
height: 26px;
background: var(--primary-mid);
border-radius: 13px;
cursor: pointer;
transition: background 0.3s ease;
}
.cookie-toggle.active {
background: var(--accent-teal);
}
.cookie-toggle-slider {
position: absolute;
top: 3px;
left: 3px;
width: 20px;
height: 20px;
background: white;
border-radius: 50%;
transition: transform 0.3s ease;
}
.cookie-toggle.active .cookie-toggle-slider {
transform: translateX(24px);
}
.cookie-toggle.disabled {
opacity: 0.5;
cursor: not-allowed;
}
.cookie-modal-footer {
display: flex;
justify-content: flex-end;
gap: 12px;
margin-top: 25px;
padding-top: 20px;
border-top: 1px solid var(--primary-mid);
}
/* Responsive Design */
@media (max-width: 768px) {
.cookie-banner {
padding: 15px 20px;
}
.cookie-banner-content {
flex-direction: column;
gap: 20px;
text-align: center;
}
.cookie-buttons {
flex-direction: column;
width: 100%;
gap: 10px;
}
.cookie-btn {
width: 100%;
text-align: center;
}
.cookie-modal-content {
padding: 20px;
margin: 20px;
}
.cookie-modal-footer {
flex-direction: column;
}
.cookie-btn {
width: 100%;
}
}
@media (max-width: 480px) {
.cookie-text h3 {
font-size: 14px;
}
.cookie-text p {
font-size: 13px;
}
.cookie-modal-content {
padding: 15px;
}
}