83 lines
1.6 KiB
CSS
83 lines
1.6 KiB
CSS
/* Custom styling & animations for Fridger */
|
|
|
|
@keyframes scaleUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: scale(0.96);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
.animate-scale-up {
|
|
animation: scaleUp 0.18s cubic-bezier(0.16, 1, 0.3, 1) forwards;
|
|
}
|
|
|
|
/* Glass Shelf Card effect */
|
|
.shelf-card {
|
|
background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.8) 100%);
|
|
backdrop-filter: blur(12px);
|
|
border: 1px solid rgba(51, 65, 85, 0.6);
|
|
box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
.shelf-card:hover {
|
|
border-color: rgba(45, 212, 191, 0.4);
|
|
}
|
|
|
|
/* Custom Scrollbar */
|
|
::-webkit-scrollbar {
|
|
width: 6px;
|
|
height: 6px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: rgba(15, 23, 42, 0.5);
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: rgba(51, 65, 85, 0.6);
|
|
border-radius: 9999px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(20, 184, 166, 0.6);
|
|
}
|
|
|
|
/* Hide scrollbar for category pills */
|
|
.scrollbar-none::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
.scrollbar-none {
|
|
-ms-overflow-style: none;
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
/* HTML5 Barcode Reader overlay styling */
|
|
#barcode-reader video {
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
object-fit: cover !important;
|
|
border-radius: 0.5rem;
|
|
}
|
|
|
|
#barcode-reader {
|
|
border: none !important;
|
|
}
|
|
|
|
#barcode-reader__scan_region {
|
|
background: transparent !important;
|
|
}
|
|
|
|
#barcode-reader__dashboard_section_csr button {
|
|
background-color: #0d9488 !important;
|
|
color: white !important;
|
|
border-radius: 0.5rem !important;
|
|
padding: 0.35rem 0.75rem !important;
|
|
border: none !important;
|
|
font-size: 0.75rem !important;
|
|
margin: 0.25rem !important;
|
|
}
|