| |
|
|
| |
| .safe-bottom { |
| padding-bottom: env(safe-area-inset-bottom, 0); |
| } |
|
|
| |
| .nav-btn { |
| color: #6b7280; |
| } |
| .nav-btn:hover { |
| background-color: #fff8ed; |
| color: #fb7e10; |
| } |
| .nav-btn.active { |
| background-color: #fff8ed; |
| color: #fb7e10; |
| font-weight: 600; |
| } |
|
|
| |
| .mob-nav-btn { |
| color: #9ca3af; |
| transition: color 0.2s; |
| } |
| .mob-nav-btn.active { |
| color: #fb7e10; |
| } |
|
|
| |
| .pnl-period-btn.active { |
| background-color: #fb7e10 !important; |
| color: white !important; |
| } |
|
|
| |
| .page-section { |
| animation: fadeSlideIn 0.3s ease-out; |
| } |
|
|
| @keyframes fadeSlideIn { |
| from { |
| opacity: 0; |
| transform: translateY(8px); |
| } |
| to { |
| opacity: 1; |
| transform: translateY(0); |
| } |
| } |
|
|
| |
| #modal-add-item > div:last-child, |
| #modal-add-supplier > div:last-child, |
| #modal-pay-supplier > div:last-child, |
| #modal-add-staff > div:last-child, |
| #modal-pay-staff > div:last-child, |
| #modal-restock > div:last-child { |
| animation: slideUp 0.3s ease-out; |
| } |
|
|
| @keyframes slideUp { |
| from { |
| opacity: 0; |
| transform: translateY(40px); |
| } |
| to { |
| opacity: 1; |
| transform: translateY(0); |
| } |
| } |
|
|
| |
| .toast-item { |
| animation: toastIn 0.3s ease-out; |
| } |
|
|
| @keyframes toastIn { |
| from { |
| opacity: 0; |
| transform: translateX(20px); |
| } |
| to { |
| opacity: 1; |
| transform: translateX(0); |
| } |
| } |
|
|
| |
| .chart-bar { |
| animation: barGrow 0.5s ease-out; |
| transform-origin: bottom; |
| } |
|
|
| @keyframes barGrow { |
| from { |
| transform: scaleY(0); |
| } |
| to { |
| transform: scaleY(1); |
| } |
| } |
|
|
| |
| ::-webkit-scrollbar { |
| width: 4px; |
| } |
| ::-webkit-scrollbar-track { |
| background: transparent; |
| } |
| ::-webkit-scrollbar-thumb { |
| background: #e5e7eb; |
| border-radius: 4px; |
| } |
|
|
| |
| input:focus, select:focus { |
| outline: none; |
| } |
|
|
| |
| @keyframes voicePulse { |
| 0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); } |
| 50% { box-shadow: 0 0 0 20px rgba(239, 68, 68, 0); } |
| } |
|
|
| #voice-btn.listening { |
| animation: voicePulse 1.5s infinite; |
| background-color: #fef2f2; |
| } |
|
|
| |
| .stock-high { color: #16a34a; } |
| .stock-medium { color: #fb7e10; } |
| .stock-low { color: #ef4444; } |
| .stock-out { color: #6b7280; } |
|
|
| |
| .cat-food::before { content: '🍞'; margin-right: 4px; } |
| .cat-drinks::before { content: '🥤'; margin-right: 4px; } |
| .cat-snacks::before { content: '🍬'; margin-right: 4px; } |
| .cat-household::before { content: '🧹'; margin-right: 4px; } |
| .cat-personal::before { content: '🧴'; margin-right: 4px; } |
| .cat-other::before { content: '📦'; margin-right: 4px; } |
|
|
| |
| @media print { |
| #sidebar, nav, header, .safe-bottom { |
| display: none !important; |
| } |
| main { |
| padding: 0 !important; |
| } |
| } |
|
|
| |
| button, a, input, select { |
| transition: all 0.15s ease; |
| } |