jewelry_inventory/static/style.css
2026-03-27 12:02:41 +05:00

72 lines
1.2 KiB
CSS

/* Добавляем стили для предпросмотра и анимаций */
.preview {
background: #f9f5e8;
border: 1px solid var(--border);
border-radius: 12px;
}
.preview h4 {
margin-bottom: 12px;
color: var(--accent);
}
.btn:active {
transform: scale(0.98);
}
.item-row {
transition: all 0.2s;
}
.item-row:hover {
background: rgba(245, 222, 179, 0.3);
}
.remove-item {
width: 36px;
height: 36px;
display: inline-flex;
align-items: center;
justify-content: center;
font-weight: bold;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(-10px); }
to { opacity: 1; transform: translateY(0); }
}
.alert {
animation: fadeIn 0.3s ease;
}
/* Стили для пустых состояний */
.empty-state {
text-align: center;
padding: 40px;
background: var(--surface);
border-radius: 16px;
color: #999;
}
.empty-state p {
margin-bottom: 16px;
}
/* Стили для таблиц на мобильных */
@media (max-width: 768px) {
.table-container {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
th, td {
white-space: nowrap;
}
.card-actions {
flex-wrap: wrap;
}
}