222 lines
3.6 KiB
CSS
222 lines
3.6 KiB
CSS
/* Courses-specific styles */
|
|
.courses-page h1 {
|
|
margin-bottom: 2rem;
|
|
color: #1f2937;
|
|
}
|
|
|
|
.back-link {
|
|
display: inline-block;
|
|
margin-bottom: 2rem;
|
|
color: #6b7280;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.back-link:hover {
|
|
color: #2563eb;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.course-detail-page {
|
|
background-color: white;
|
|
padding: 2rem;
|
|
border-radius: 10px;
|
|
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.course-header {
|
|
margin-bottom: 2rem;
|
|
padding-bottom: 1.5rem;
|
|
border-bottom: 2px solid #e5e7eb;
|
|
}
|
|
|
|
.course-header h1 {
|
|
font-size: 2.5rem;
|
|
margin-bottom: 1rem;
|
|
color: #1f2937;
|
|
}
|
|
|
|
.course-meta {
|
|
display: flex;
|
|
gap: 1.5rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.course-content {
|
|
display: grid;
|
|
grid-template-columns: 2fr 1fr;
|
|
gap: 3rem;
|
|
}
|
|
|
|
.course-description h3 {
|
|
margin-bottom: 1rem;
|
|
color: #374151;
|
|
}
|
|
|
|
.course-description p {
|
|
font-size: 1.1rem;
|
|
line-height: 1.8;
|
|
color: #4b5563;
|
|
}
|
|
|
|
.course-actions-panel {
|
|
background-color: #f9fafb;
|
|
padding: 1.5rem;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.action-group {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.action-group h3 {
|
|
margin-bottom: 1rem;
|
|
color: #374151;
|
|
}
|
|
|
|
.action-group p {
|
|
margin-bottom: 1rem;
|
|
color: #6b7280;
|
|
}
|
|
|
|
.progress-display {
|
|
background-color: white;
|
|
padding: 1rem;
|
|
border-radius: 8px;
|
|
border: 1px solid #e5e7eb;
|
|
}
|
|
|
|
.auth-prompt {
|
|
background-color: #eff6ff;
|
|
padding: 1.5rem;
|
|
border-radius: 8px;
|
|
border: 1px solid #dbeafe;
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.auth-prompt p {
|
|
color: #1e40af;
|
|
}
|
|
|
|
.auth-prompt a {
|
|
color: #2563eb;
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.auth-prompt a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Progress page */
|
|
.progress-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
.progress-item {
|
|
background-color: white;
|
|
padding: 1.5rem;
|
|
border-radius: 10px;
|
|
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.progress-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.progress-header h3 {
|
|
margin: 0;
|
|
color: #1f2937;
|
|
}
|
|
|
|
.progress-percentage {
|
|
font-size: 1.5rem;
|
|
font-weight: bold;
|
|
color: #2563eb;
|
|
}
|
|
|
|
.progress-details {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.progress-details span {
|
|
color: #6b7280;
|
|
}
|
|
|
|
.btn-update-progress {
|
|
background: none;
|
|
border: 1px solid #d1d5db;
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
color: #4b5563;
|
|
transition: background-color 0.3s;
|
|
}
|
|
|
|
.btn-update-progress:hover {
|
|
background-color: #f3f4f6;
|
|
}
|
|
|
|
/* Available courses */
|
|
.available-courses {
|
|
margin-top: 3rem;
|
|
padding-top: 2rem;
|
|
border-top: 2px solid #e5e7eb;
|
|
}
|
|
|
|
.available-courses h2 {
|
|
margin-bottom: 1.5rem;
|
|
color: #1f2937;
|
|
}
|
|
|
|
.available-courses .courses-grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
|
}
|
|
|
|
.course-card.small {
|
|
text-align: center;
|
|
}
|
|
|
|
.course-card.small h4 {
|
|
margin-bottom: 0.5rem;
|
|
color: #1f2937;
|
|
}
|
|
|
|
.btn-start-course {
|
|
width: 100%;
|
|
margin-top: 1rem;
|
|
background-color: #2563eb;
|
|
color: white;
|
|
border: none;
|
|
padding: 0.75rem;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.btn-start-course:hover {
|
|
background-color: #1d4ed8;
|
|
}
|
|
|
|
/* Favorites page */
|
|
.btn-remove-favorite {
|
|
background: none;
|
|
border: 1px solid #fca5a5;
|
|
color: #dc2626;
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s;
|
|
}
|
|
|
|
.btn-remove-favorite:hover {
|
|
background-color: #fef2f2;
|
|
} |