Стили для главной и личного кабинета
This commit is contained in:
parent
2f0968f77f
commit
f324ae26a8
2 changed files with 211 additions and 0 deletions
53
css/account.css
Normal file
53
css/account.css
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
/* Прикрепление footer внизу страницы с flexbox */
|
||||
body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
body > .container {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 1200px;
|
||||
}
|
||||
|
||||
.card {
|
||||
border: none;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.card-header {
|
||||
background-color: white;
|
||||
border-bottom: 1px solid #dee2e6;
|
||||
padding: 1.25rem;
|
||||
}
|
||||
|
||||
#emptyState i {
|
||||
font-size: 4rem;
|
||||
}
|
||||
|
||||
.table th {
|
||||
font-weight: 600;
|
||||
color: var(--dark-text);
|
||||
border-bottom: 2px solid #dee2e6;
|
||||
}
|
||||
|
||||
.btn-group-sm .btn {
|
||||
padding: 0.25rem 0.5rem;
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
/* Вертикальное расположение кнопок на мобильных */
|
||||
@media (max-width: 768px) {
|
||||
.btn-group {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.btn-group .btn {
|
||||
border-radius: 0.25rem !important;
|
||||
margin-bottom: 0.25rem;
|
||||
}
|
||||
}
|
||||
158
css/index.css
Normal file
158
css/index.css
Normal file
|
|
@ -0,0 +1,158 @@
|
|||
/* Фоновый градиент */
|
||||
.hero-section {
|
||||
background: linear-gradient(135deg, var(--primary-color) 0%,
|
||||
var(--secondary-color) 100%);
|
||||
padding: 120px 0 80px;
|
||||
margin-top: 56px;
|
||||
}
|
||||
|
||||
/* Плавная анимация при наведении на карточки */
|
||||
.advantages-section .card {
|
||||
transition: transform 0.3s, box-shadow 0.3s;
|
||||
}
|
||||
|
||||
.advantages-section .card:hover {
|
||||
transform: translateY(-5px);
|
||||
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
|
||||
}
|
||||
|
||||
.course-item {
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s, box-shadow 0.2s;
|
||||
border: 1px solid #dee2e6;
|
||||
border-radius: 8px;
|
||||
padding: 15px;
|
||||
margin-bottom: 10px;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.course-item:hover {
|
||||
background-color: rgba(230, 57, 70, 0.05);
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
/* Стиль для выбранного курса */
|
||||
.course-item.selected {
|
||||
background-color: rgba(230, 57, 70, 0.1);
|
||||
border-color: var(--primary-color);
|
||||
box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.2);
|
||||
}
|
||||
|
||||
.course-item-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: start;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.course-item-title {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
color: var(--dark-text);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.course-item-body {
|
||||
color: var(--muted-text);
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.course-item-details {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 15px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.course-item-details > div {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.level-badge {
|
||||
font-size: 0.75rem;
|
||||
padding: 0.25rem 0.5rem;
|
||||
}
|
||||
|
||||
.level-badge.beginner {
|
||||
background-color: var(--success-color);
|
||||
}
|
||||
|
||||
.level-badge.intermediate {
|
||||
background-color: var(--warning-color);
|
||||
}
|
||||
|
||||
.level-badge.advanced {
|
||||
background-color: var(--danger-color);
|
||||
}
|
||||
|
||||
#tutorsList tr {
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s;
|
||||
}
|
||||
|
||||
#tutorsList tr:hover {
|
||||
background-color: rgba(0, 0, 0, 0.02);
|
||||
}
|
||||
|
||||
#tutorsList tr.selected {
|
||||
background-color: rgba(230, 57, 70, 0.1);
|
||||
}
|
||||
|
||||
#resourcesList {
|
||||
max-height: 500px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.resource-item {
|
||||
padding: 15px;
|
||||
border-bottom: 1px solid #dee2e6;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s;
|
||||
}
|
||||
|
||||
.resource-item:hover {
|
||||
background-color: rgba(0, 0, 0, 0.02);
|
||||
}
|
||||
|
||||
.resource-item:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.resource-item h6 {
|
||||
margin-bottom: 8px;
|
||||
color: var(--dark-text);
|
||||
}
|
||||
|
||||
.resource-item p {
|
||||
margin-bottom: 5px;
|
||||
font-size: 0.9rem;
|
||||
color: var(--muted-text);
|
||||
}
|
||||
|
||||
/* Адаптивные кнопки фильтров карты */
|
||||
.map-filter-btn {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* Адаптация для планшетов и мобильных устройств */
|
||||
@media (max-width: 768px) {
|
||||
.course-item-details {
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.map-filter-btn {
|
||||
font-size: 0.85rem;
|
||||
padding: 0.375rem 0.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Адаптация для маленьких экранов */
|
||||
@media (max-width: 576px) {
|
||||
.map-filter-btn {
|
||||
font-size: 0.8rem;
|
||||
padding: 0.3rem 0.6rem;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue