Moved old project components to this new project

This commit is contained in:
2026-05-09 16:46:01 +02:00
parent 1c869b9a7b
commit b08e891020
40 changed files with 2910 additions and 1 deletions
+127
View File
@@ -0,0 +1,127 @@
/* High-visibility Shop link */
.nav-links .nav-link.nav-shop {
color: var(--brand-blue, #0096c7);
font-weight: 700;
border: 1px solid transparent;
padding: 6px 12px;
border-radius: 6px;
transition: all 0.2s ease;
}
.nav-links .nav-link.nav-shop:hover {
background-color: rgba(0, 150, 199, 0.1);
border-color: var(--brand-blue, #0096c7);
transform: translateY(-1px);
}
/* Mobile adjustments for the shop button */
@media (max-width: 768px) {
.nav-links .nav-link.nav-shop {
border: 1px solid var(--brand-blue, #0096c7);
margin: 5px 0;
text-align: center;
background-color: rgba(0, 150, 199, 0.05);
}
}
/* --- Blazored Toast Branded Styling --- */
/* 1. The Container: Positioned bottom-left */
::deep .blazored-toast-container {
position: fixed;
bottom: 20px; /* Moved from top to bottom */
left: 20px; /* Moved from right to left */
z-index: 9999;
display: flex;
flex-direction: column-reverse; /* Newest toasts appear on top of old ones */
gap: 12px;
width: 350px;
pointer-events: none;
}
/* 2. The Individual Toast */
::deep .blazored-toast {
pointer-events: auto;
display: flex;
flex-direction: column;
position: relative;
background: rgba(11, 17, 20, 0.95);
backdrop-filter: blur(10px);
border: 1px solid rgba(0, 150, 199, 0.3);
border-left: 4px solid #0096c7;
border-radius: 8px;
padding: 16px 40px 16px 16px;
color: #fff;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
animation: slideInLeft 0.3s ease-out; /* Updated animation name */
}
/* 3. Heading & Message */
::deep .blazored-toast-header {
font-weight: 800;
font-size: 1rem;
color: #0096c7;
margin-bottom: 4px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
::deep .blazored-toast-message {
font-size: 0.9rem;
color: #e0e0e0;
line-height: 1.4;
}
/* 4. The Close (X) Button */
::deep .blazored-toast-close {
position: absolute;
top: 12px;
right: 12px;
cursor: pointer;
background: none;
border: none;
color: #888;
font-size: 20px;
line-height: 1;
transition: color 0.2s ease;
}
::deep .blazored-toast-close::before {
content: "×";
}
::deep .blazored-toast-close:hover {
color: #ff4d4d;
}
/* 5. Progress Bar */
::deep .blazored-toast-progressbar {
position: absolute;
bottom: 0;
left: 0;
height: 3px;
background: rgba(0, 150, 199, 0.5);
}
/* Entrance Animation: Sliding in from the left */
@keyframes slideInLeft {
from {
transform: translateX(-100%);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}
/* Mobile Adjustments */
@media (max-width: 480px) {
::deep .blazored-toast-container {
width: calc(100% - 40px);
left: 20px;
bottom: 20px;
top: auto; /* Ensure it stays at the bottom */
}
}