270 lines
4.7 KiB
CSS
270 lines
4.7 KiB
CSS
|
|
/* Цвет для темы дней рождения */
|
|
.bg-pink {
|
|
background-color: #e83e8c !important;
|
|
}
|
|
|
|
.text-pink {
|
|
color: #e83e8c !important;
|
|
}
|
|
|
|
/* Карточки */
|
|
.card {
|
|
border-radius: 10px;
|
|
border: 1px solid #e9ecef;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.card:hover {
|
|
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.card-header {
|
|
background-color: rgba(0, 0, 0, 0.02);
|
|
border-bottom: 1px solid #e9ecef;
|
|
padding: 1rem 1.25rem;
|
|
}
|
|
|
|
/* Таблица сотрудников */
|
|
.table-responsive {
|
|
max-height: 950px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.table {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.table thead th {
|
|
position: sticky;
|
|
top: 0;
|
|
background-color: #f8f9fa;
|
|
z-index: 10;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
font-size: 0.85rem;
|
|
color: #6c757d;
|
|
border-bottom: 2px solid #dee2e6;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.table tbody tr {
|
|
transition: all 0.2s ease;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.table tbody tr:hover {
|
|
background-color: rgba(232, 62, 140, 0.05);
|
|
}
|
|
|
|
.table tbody tr.selected {
|
|
background-color: rgba(232, 62, 140, 0.1);
|
|
}
|
|
|
|
.table tbody td {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
/* Иконки статуса */
|
|
.status-icon {
|
|
width: 24px;
|
|
height: 24px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 50%;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.status-enabled {
|
|
background-color: rgba(25, 135, 84, 0.5);
|
|
color: #198754;
|
|
}
|
|
|
|
.status-disabled {
|
|
background-color: rgba(108, 117, 125, 0.2);
|
|
color: #6c757d;
|
|
}
|
|
|
|
.status-data {
|
|
background-color: rgba(13, 110, 253, 0.5);
|
|
color: #0d6efd;
|
|
}
|
|
|
|
.status-nodata {
|
|
background-color: rgba(220, 53, 69, 0.5);
|
|
color: #dc3545;
|
|
}
|
|
|
|
/* Бейджи для специализаций */
|
|
.specialty-badge {
|
|
font-size: 0.75rem;
|
|
padding: 0.2em 0.4em;
|
|
margin: 0.1rem;
|
|
}
|
|
|
|
/* Поля ввода */
|
|
.form-control:focus,
|
|
.form-select:focus {
|
|
border-color: #e83e8c;
|
|
box-shadow: 0 0 0 0.25rem rgba(232, 62, 140, 0.25);
|
|
}
|
|
|
|
/* Свитч */
|
|
.form-switch .form-check-input {
|
|
width: 3em;
|
|
height: 1.5em;
|
|
}
|
|
|
|
.form-switch .form-check-input:checked {
|
|
background-color: #e83e8c;
|
|
border-color: #e83e8c;
|
|
}
|
|
|
|
/* Кнопки */
|
|
.btn {
|
|
border-radius: 6px;
|
|
font-weight: 500;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.btn-outline-secondary:hover {
|
|
background-color: #6c757d;
|
|
color: white;
|
|
}
|
|
|
|
/* Дата рождения */
|
|
.birthdate-cell {
|
|
font-family: 'SF Mono', Monaco, 'Cascadia Code', Consolas, 'Courier New', monospace;
|
|
font-weight: 600;
|
|
color: #495057;
|
|
}
|
|
|
|
.age-badge {
|
|
font-size: 0.75rem;
|
|
background-color: #e9ecef;
|
|
color: #6c757d;
|
|
padding: 0.2em 0.6em;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
/* Пол */
|
|
.sex-badge {
|
|
font-size: 0.75rem;
|
|
padding: 0.3em 0.6em;
|
|
}
|
|
|
|
.sex-male {
|
|
background-color: rgba(13, 110, 253, 0.1);
|
|
color: #0d6efd;
|
|
}
|
|
|
|
.sex-female {
|
|
background-color: rgba(232, 62, 140, 0.1);
|
|
color: #e83e8c;
|
|
}
|
|
|
|
/* Уведомления */
|
|
.alert-fixed {
|
|
position: fixed;
|
|
top: 80px;
|
|
right: 20px;
|
|
z-index: 1050;
|
|
min-width: 300px;
|
|
max-width: 400px;
|
|
}
|
|
|
|
/* Модальное окно */
|
|
.modal-content {
|
|
border-radius: 10px;
|
|
border: none;
|
|
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
/* Анимации */
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-10px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.fade-in {
|
|
animation: fadeIn 0.3s ease-in;
|
|
}
|
|
|
|
/* Адаптивность */
|
|
@media (max-width: 768px) {
|
|
.table-responsive {
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.table thead th {
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.specialty-badge {
|
|
font-size: 0.7rem;
|
|
}
|
|
|
|
.btn {
|
|
padding: 0.375rem 0.75rem;
|
|
font-size: 0.875rem;
|
|
}
|
|
}
|
|
|
|
/* Пустая таблица */
|
|
.text-center.py-5 {
|
|
color: #6c757d;
|
|
}
|
|
|
|
/* Информация о посте */
|
|
#postInfo .alert {
|
|
border-left: 4px solid #0dcaf0;
|
|
}
|
|
|
|
/* Иконки в таблице */
|
|
.icon-group {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
justify-content: center;
|
|
}
|
|
|
|
/* Месяц и дата рождения */
|
|
.month-day {
|
|
font-weight: 600;
|
|
color: #212529;
|
|
}
|
|
|
|
/* Зодиак (опционально) */
|
|
.zodiac-badge {
|
|
font-size: 0.7rem;
|
|
background-color: #f8f9fa;
|
|
color: #6c757d;
|
|
padding: 0.15em 0.4em;
|
|
border-radius: 4px;
|
|
margin-top: 0.2rem;
|
|
}
|
|
|
|
/* Скроллбар */
|
|
.table-responsive::-webkit-scrollbar {
|
|
width: 6px;
|
|
}
|
|
|
|
.table-responsive::-webkit-scrollbar-track {
|
|
background: #f1f1f1;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.table-responsive::-webkit-scrollbar-thumb {
|
|
background: #888;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.table-responsive::-webkit-scrollbar-thumb:hover {
|
|
background: #555;
|
|
} |