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
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
}

.outline-sidebar-heading-wrapper {
border: 1px solid #d7d3d1;
border: 1px solid var(--pgn-color-light-700);

&.sticky {
position: sticky;
Expand All @@ -29,7 +29,11 @@

.course-sidebar-section {
background: var(--pgn-color-white);
border: 1px solid #d7d3d1;
border: 1px solid var(--pgn-color-light-700);

&.active-section button {
background-color: var(--pgn-color-info-100);
}

button {
line-height: 1.75rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,10 @@ const SidebarSection = ({ section, handleSelectSection }) => {
);

return (
<li className="mb-2 course-sidebar-section">
<li className={classNames('mb-2 course-sidebar-section', { 'active-section': isActiveSection })}>
<Button
variant="tertiary"
className={classNames(
'd-flex align-items-center w-100 px-4 py-3.5 rounded-0 justify-content-start',
{ 'bg-info-100': isActiveSection },
)}
className="d-flex align-items-center w-100 px-4 py-3.5 rounded-0 justify-content-start"
onClick={() => handleSelectSection(id)}
>
{sectionTitle}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const SidebarUnit = ({
const unitIcon = <UnitIcon type={iconType} isCompleted={completeAndEnabled} />;
return (
<li className={classNames({
'bg-info-100': isActive,
'active-unit bg-info-100': isActive,
'border-top border-light': !isFirst,
})}
>
Expand Down
Loading