Files
medods_vk/static/css/posts.css
T

186 lines
3.1 KiB
CSS

/* Карточки */
.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: 800px;
overflow-y: auto;
}
.col-lg-7 .table-responsive {
scrollbar-width: thin;
}
.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;
}
.table tbody tr {
transition: all 0.2s ease;
}
.table tbody tr:hover {
background-color: rgba(13, 110, 253, 0.05);
}
.table tbody tr.selected {
background-color: rgba(13, 110, 253, 0.1);
}
/* Чекбоксы */
.form-check-input {
width: 1.2em;
height: 1.2em;
cursor: pointer;
}
.form-check-input:checked {
background-color: #0d6efd;
border-color: #0d6efd;
}
/* Бейджи */
.badge {
font-weight: 500;
padding: 0.35em 0.65em;
}
.badge.bg-pink {
background-color: #e83e8c !important;
color: white;
}
.specialty-badges {
max-width: 200px;
}
/* Свитч */
.form-switch .form-check-input {
width: 3em;
height: 1.5em;
}
/* Поля ввода */
.form-control:focus,
.form-select:focus {
border-color: #86b7fe;
box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
/* Кнопки */
.btn {
border-radius: 6px;
font-weight: 500;
transition: all 0.2s ease;
}
.btn-lg {
padding: 0.75rem 1.5rem;
font-size: 1.1rem;
}
/* Уведомления */
.alert-fixed {
position: fixed;
top: 80px;
right: 20px;
z-index: 1050;
min-width: 300px;
max-width: 400px;
}
.alert {
border-radius: 8px;
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;
}
/* Пользовательские стили */
.user-row {
cursor: pointer;
}
.user-row input:checked {
background-color: rgba(13,110,253,.15);
}
.user-row:hover td {
background-color: rgba(13, 110, 253, 0.05);
}
/* Статус планировщика */
#schedulerStatus .badge {
font-size: 0.85rem;
padding: 0.4em 0.8em;
}
/* Адаптивность */
@media (max-width: 768px) {
.table-responsive {
font-size: 0.9rem;
}
.specialty-badges .badge {
font-size: 0.7rem;
padding: 0.25em 0.5em;
margin-bottom: 0.25rem;
}
.btn {
padding: 0.375rem 0.75rem;
font-size: 0.875rem;
}
}
/* Пустая таблица */
.text-center.py-5 {
color: #6c757d;
}
.text-center.py-5 .display-1 {
font-size: 4rem;
margin-bottom: 1rem;
}