Skip to content

Commit 758f982

Browse files
work progress
1 parent d454f46 commit 758f982

28 files changed

+160
-65
lines changed

src/components/FilterBar.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ const FilterBar = ({
104104
className="filter-bar collapsible-card-lg border-0"
105105
>
106106
<Collapsible.Trigger className="collapsible-trigger border-0">
107-
<span className="text-primary-700 pr-4">
107+
<span className="pr-4 dark-black-color">
108108
{intl.formatMessage(messages.sortFilterStatus, {
109109
own: false,
110110
type: selectedFilters.postType,

src/components/PostPreviewPanel.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const PostPreviewPanel = ({
4949
variant="link"
5050
size="sm"
5151
onClick={() => setShowPreviewPane(true)}
52-
className={`text-primary-500 font-style p-0 ${editExisting && 'mb-4.5'}`}
52+
className={`dark-black-color font-style p-0 ${editExisting && 'mb-4.5'}`}
5353
style={{ lineHeight: '26px' }}
5454
data-testid="show-preview-button"
5555
>

src/discussions/common/AuthorLabel.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const AuthorLabel = ({
3131

3232
const isRetiredUser = author ? author.startsWith('retired__user') : false;
3333
const showTextPrimary = !authorLabelMessage && !isRetiredUser && !alert;
34-
const className = classNames('d-flex align-items-center', { 'mb-0.5': !postOrComment }, labelColor);
34+
const className = classNames('d-flex align-items-center dark-black-color', { 'mb-0.5': !postOrComment }, labelColor);
3535

3636
const showUserNameAsLink = linkToProfile && author && author !== intl.formatMessage(messages.anonymous)
3737
&& !enableInContextSidebar;

src/discussions/discussions-home/DiscussionContent.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const DiscussionContent = () => {
1313
const postEditorVisible = useSelector((state) => state.threads.postEditorVisible);
1414

1515
return (
16-
<div className="d-flex bg-light-400 flex-column w-75 w-xs-100 w-xl-75 align-items-center overflow-auto">
16+
<div className="d-flex discussionContentWrapper flex-column w-75 w-xs-100 w-xl-75 align-items-center overflow-auto">
1717
<div className="d-flex flex-column w-100">
1818
<Suspense fallback={(<Spinner />)}>
1919
<Routes>

src/discussions/discussions-home/DiscussionSidebar.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const DiscussionSidebar = ({ displaySidebar, postActionBarRef }) => {
5151
ref={sidebarRef}
5252
className={classNames('flex-column position-sticky', {
5353
'd-none': !displaySidebar,
54-
'd-flex overflow-auto box-shadow-centered-1': displaySidebar,
54+
'd-flex overflow-auto': displaySidebar,
5555
'w-100': !isOnDesktop,
5656
'sidebar-desktop-width': isOnDesktop && !isOnXLDesktop,
5757
'sidebar-tablet-width': isOnTablet && !isOnDesktop,

src/discussions/discussions-home/DiscussionsHome.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ const DiscussionsHome = () => {
8686
{!enableInContextSidebar && <CourseTabsNavigation />}
8787
{(isEnrolled || !isUserLearner) && (
8888
<div
89-
className={classNames('header-action-bar bg-white position-sticky', {
89+
className={classNames('header-action-bar bg-white position-sticky headerWrapper', {
9090
'shadow-none border-light-300 border-bottom': enableInContextSidebar,
9191
})}
9292
ref={postActionBarRef}
@@ -135,7 +135,7 @@ const DiscussionsHome = () => {
135135
</Routes>
136136
</Suspense>
137137
) : (
138-
<div className="d-flex flex-row position-relative">
138+
<div className="d-flex flex-row position-relative sidebarWrapper">
139139
<Suspense fallback={(<Spinner />)}>
140140
<DiscussionSidebar displaySidebar={displaySidebar} postActionBarRef={postActionBarRef} />
141141
</Suspense>

src/discussions/empty-posts/EmptyPage.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ const EmptyPage = ({
1414
fullWidth = false,
1515
}) => {
1616
const containerClasses = classNames(
17-
'min-content-height justify-content-center align-items-center d-flex w-100 flex-column',
18-
{ 'bg-light-400': !fullWidth },
17+
'min-content-height justify-content-center align-items-center d-flex w-100 flex-column bg-light-grey',
18+
{ 'bg-light-grey': !fullWidth },
1919
);
2020

2121
return (

src/discussions/in-context-topics/topic/ArchivedBaseGroup.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const ArchivedBaseGroup = ({
3434
className="discussion-topic-group d-flex flex-column text-primary-500"
3535
data-testid="archived-group"
3636
>
37-
<div className="pt-3 px-4 font-weight-bold">{intl.formatMessage(messages.archivedTopics)}</div>
37+
<div className="pt-3 px-4 font-weight-bold dark-black-color">{intl.formatMessage(messages.archivedTopics)}</div>
3838
{renderArchivedTopics}
3939
</div>
4040
</>

src/discussions/in-context-topics/topic/SectionBaseGroup.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const SectionBaseGroup = ({
6565
data-section-id={sectionId}
6666
data-testid="section-group"
6767
>
68-
<div className="pt-3 px-4 font-weight-bold">
68+
<div className="pt-3 px-4 font-weight-bold dark-black-color">
6969
{sectionTitle || intl.formatMessage(messages.unnamedSection)}
7070
</div>
7171
{renderSection}

src/discussions/in-context-topics/topic/Topic.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ const Topic = ({
3838
tabIndex={(isSelected(topic.id) || index === 0) ? 0 : -1}
3939
>
4040
<div className="d-flex flex-row pt-2.5 pb-2 px-4">
41-
<div className="d-flex flex-column flex-fill" style={{ minWidth: 0 }}>
41+
<div className="d-flex flex-column flex-fill dark-black-color" style={{ minWidth: 0 }}>
4242
<div className="d-flex flex-column justify-content-start mw-100 flex-fill">
43-
<div className="topic-name text-truncate">
43+
<div className="topic-name text-truncate dark-black-color">
4444
{topic?.name || topic?.displayName || intl.formatMessage(messages.unnamedTopicSubCategories)}
4545
</div>
4646
</div>

0 commit comments

Comments
 (0)