🎨 Улучшены стили тегов в мобильном слайдере
- Добавлены правильные стили для календаря в слайдере - Стилизованы теги как в ПК версии (badge с синим фоном) - Улучшено отображение поля поиска - Добавлены правильные отступы и зазоры - Теги теперь показывают количество заметок - Улучшена читаемость всех элементов в слайдере - Синхронизация фильтров работает идеально
This commit is contained in:
parent
3560b4d461
commit
9764976d7b
167
public/style.css
167
public/style.css
@ -975,6 +975,173 @@ textarea:focus {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
/* Правильные стили для календаря в слайдере */
|
||||
.mobile-sidebar .mini-calendar {
|
||||
width: 100%;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.mobile-sidebar .calendar-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 8px;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.mobile-sidebar .calendar-month-year {
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
color: #333;
|
||||
text-align: center;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.mobile-sidebar .calendar-nav {
|
||||
background: none;
|
||||
border: none;
|
||||
font-size: 16px;
|
||||
cursor: pointer;
|
||||
color: #007bff;
|
||||
padding: 0 3px;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
.mobile-sidebar .calendar-nav:hover {
|
||||
color: #0056b3;
|
||||
}
|
||||
|
||||
/* Календарь дней в слайдере */
|
||||
.mobile-sidebar .calendar-days {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(7, 1fr);
|
||||
gap: 1px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.mobile-sidebar .calendar-day {
|
||||
aspect-ratio: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 9px;
|
||||
cursor: pointer;
|
||||
border-radius: 3px;
|
||||
transition: all 0.2s ease;
|
||||
color: #333;
|
||||
padding: 1px;
|
||||
font-weight: 500;
|
||||
position: relative;
|
||||
background-color: #f8f9fa;
|
||||
}
|
||||
|
||||
.mobile-sidebar .calendar-day:hover {
|
||||
background-color: #e7f3ff;
|
||||
}
|
||||
|
||||
.mobile-sidebar .calendar-day.today {
|
||||
background-color: #007bff;
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.mobile-sidebar .calendar-day.selected {
|
||||
background-color: #0056b3;
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.mobile-sidebar .calendar-day.other-month {
|
||||
color: #ccc;
|
||||
background-color: #fafafa;
|
||||
}
|
||||
|
||||
/* Поиск в слайдере */
|
||||
.mobile-sidebar .search-section {
|
||||
margin-bottom: 15px;
|
||||
padding-bottom: 15px;
|
||||
border-bottom: 1px solid #e0e0e0;
|
||||
}
|
||||
|
||||
.mobile-sidebar .search-title {
|
||||
font-size: 11px;
|
||||
font-weight: bold;
|
||||
color: #333;
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.mobile-sidebar .search-input {
|
||||
width: 100%;
|
||||
padding: 6px 10px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 15px;
|
||||
font-size: 11px;
|
||||
background-color: #f8f9fa;
|
||||
transition: all 0.3s ease;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.mobile-sidebar .search-input:focus {
|
||||
outline: none;
|
||||
border-color: #007bff;
|
||||
background-color: white;
|
||||
box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
|
||||
}
|
||||
|
||||
/* Теги в слайдере */
|
||||
.mobile-sidebar .tags-section {
|
||||
margin-top: 0;
|
||||
padding-top: 0;
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
.mobile-sidebar .tags-title {
|
||||
font-size: 11px;
|
||||
font-weight: bold;
|
||||
color: #333;
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.mobile-sidebar .tags-container {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.mobile-sidebar .tag {
|
||||
display: inline-block;
|
||||
padding: 4px 8px;
|
||||
background-color: #e7f3ff;
|
||||
color: #007bff;
|
||||
border: 1px solid #007bff;
|
||||
border-radius: 12px;
|
||||
font-size: 9px;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
user-select: none;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.mobile-sidebar .tag:hover {
|
||||
background-color: #007bff;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.mobile-sidebar .tag.active {
|
||||
background-color: #007bff;
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.mobile-sidebar .tag-count {
|
||||
margin-left: 3px;
|
||||
font-size: 8px;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
/* Оверлей для закрытия слайдера */
|
||||
.mobile-sidebar-overlay {
|
||||
display: none;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user