Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions tutorindigo/templates/indigo/lms/static/sass/course/_new-home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ section.home {
align-items: center;
justify-content: center;
flex-direction: column;
transition: background-color 0.3s ease;

&__heading {
color: var(--fx-2025-indigo-white-color);
text-shadow: 0 0 10px var(--fx-2025-indigo-black);
Expand Down Expand Up @@ -161,6 +163,16 @@ section.home {
.platformMainWrap {
margin-top: 64px;
padding: 40px;
border-radius: 16px;

// Add smooth transitions for background color changes
transition: background-color 0.3s ease;

// Ensure proper spacing when background is applied
&[style*="background-color"]:not([style*="background-color: transparent"]) {
padding: 48px 40px;
margin-bottom: 24px;
}
}
.courseMainWrapper {
background-color: $concrete-color;
Expand Down Expand Up @@ -844,3 +856,16 @@ section.home {
}
}
}

// Paragraph section styling for background colors
.fx-raw-html-paragraph-container {
border-radius: 16px;
transition: background-color 0.3s ease;

// Add padding when background color is applied
&[style*="background-color"]:not([style*="background-color: transparent"]) {
padding: 40px;
margin-top: 64px;
margin-bottom: 24px;
}
}
37 changes: 37 additions & 0 deletions tutorindigo/templates/indigo/lms/static/sass/home/_home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -206,4 +206,41 @@ body.indigo-dark-theme {
}
}
}
}

// Course Category Tabs - Theme Integration
.fx-course-categories-section {
.fx-category-tab-btn.active {
background: $primary;
}

.fx-category-tab-btn:focus {
outline-color: $primary;
}
}

body.indigo-dark-theme {
.fx-course-categories-section {
.fx-category-tabs {
background: $primary-light-d;
}

.fx-category-tab-btn {
color: $text-color-d;

&:hover {
background: rgba($primary-d, 0.3);
color: $text-color-d;
}

&.active {
background: $primary-d;
color: $btn-color-d;
}

&:focus {
outline-color: $primary-d;
}
}
}
}
Loading