Files
Fridger/public/styles.css
T
me0nline 3095443420
Build and Push Fridger Container / Build & Push Fridger Image (push) Successful in 1m23s
feat(ui): optimize interface for small tablet with Main-Scan-Manage navigation
2026-10-10 23:45:59 +02:00

89 lines
1.8 KiB
CSS

/* Custom styling & tablet optimizations for Fridger */
@keyframes scaleUp {
from {
opacity: 0;
transform: scale(0.96);
}
to {
opacity: 1;
transform: scale(1);
}
}
.animate-scale-up {
animation: scaleUp 0.16s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
/* Glass Shelf Card effect for Tablet Touch */
.shelf-card {
background: linear-gradient(135deg, rgba(30, 41, 59, 0.75) 0%, rgba(15, 23, 42, 0.85) 100%);
backdrop-filter: blur(12px);
border: 1px solid rgba(51, 65, 85, 0.65);
box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
}
.shelf-card:hover, .shelf-card:active {
border-color: rgba(45, 212, 191, 0.45);
}
/* Touch manipulation & Fast Tap */
button, input, select {
touch-action: manipulation;
}
/* 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: 1rem;
}
#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.75rem !important;
padding: 0.5rem 1rem !important;
border: none !important;
font-size: 0.875rem !important;
font-weight: bold !important;
margin: 0.25rem !important;
}