Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
a229e1f0
Commit
a229e1f0
authored
Sep 13, 2016
by
Brian Jacobel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix DiscussionHomePageTest color-contrast issues - TNL-4635
parent
a19274c8
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
14 deletions
+8
-14
common/test/acceptance/tests/discussion/test_discussion.py
+0
-1
lms/static/sass/course/layout/_courseware_header.scss
+2
-11
lms/static/sass/discussion/_discussion.scss
+1
-1
lms/static/sass/discussion/_mixins.scss
+1
-1
lms/static/sass/discussion/utilities/_variables-v1.scss
+2
-0
lms/static/sass/discussion/utilities/_variables-v2.scss
+2
-0
No files found.
common/test/acceptance/tests/discussion/test_discussion.py
View file @
a229e1f0
...
...
@@ -211,7 +211,6 @@ class DiscussionHomePageTest(UniqueCourseTest):
self
.
page
.
a11y_audit
.
config
.
set_rules
({
"ignore"
:
[
'section'
,
# TODO: AC-491
'color-contrast'
,
# TNL-4635
'icon-aria-hidden'
,
# TNL-4637
]
})
...
...
lms/static/sass/course/layout/_courseware_header.scss
View file @
a229e1f0
...
...
@@ -43,20 +43,11 @@
text-decoration
:
none
;
&
:hover
,
&
:focus
{
&
:focus
,
&
.active
{
color
:
$uxpl-blue-hover-active
;
border-bottom
:
4px
solid
$uxpl-blue-hover-active
;
}
&
.active
{
border-bottom
:
4px
solid
$uxpl-blue-base
;
color
:
$uxpl-blue-base
;
&
:hover
,
&
:focus
{
color
:
$uxpl-blue-base
;
}
}
}
}
}
...
...
lms/static/sass/discussion/_discussion.scss
View file @
a229e1f0
...
...
@@ -444,7 +444,7 @@ section.discussion-pagination {
.response-display-count
{
display
:
block
;
padding
:
(
$baseline
/
2
)
0
;
color
:
$
gray-d2
;
color
:
$
forum-color-response-count
;
font-size
:
$forum-base-font-size
;
}
...
...
lms/static/sass/discussion/_mixins.scss
View file @
a229e1f0
...
...
@@ -61,7 +61,7 @@
@include
padding-left
(
$baseline
/
4
);
padding-top
:
3px
;
width
:
100%
;
color
:
$
gray-d2
;
color
:
$
forum-color-editor-preview-label
;
font-size
:
$forum-small-font-size
;
}
...
...
lms/static/sass/discussion/utilities/_variables-v1.scss
View file @
a229e1f0
...
...
@@ -19,6 +19,8 @@ $forum-color-hover-thread: #f6f6f6 !default;
$forum-color-reading-thread
:
$gray-d3
!
default
;
$forum-color-read-post
:
$blue
!
default
;
$forum-color-never-read-post
:
$gray-d3
!
default
;
$forum-color-editor-preview-label
:
$gray-d2
!
default
;
$forum-color-response-count
:
$gray-d2
!
default
;
// post images
$post-image-dimension
:
(
$baseline
*
3
)
!
default
;
// image size + margin
...
...
lms/static/sass/discussion/utilities/_variables-v2.scss
View file @
a229e1f0
...
...
@@ -19,6 +19,8 @@ $forum-color-hover-thread: palette(grayscale, x-back) !default;
$forum-color-reading-thread
:
palette
(
primary
,
base
)
!
default
;
$forum-color-read-post
:
palette
(
grayscale
,
base
)
!
default
;
$forum-color-never-read-post
:
palette
(
primary
,
base
)
!
default
;
$forum-color-editor-preview-label
:
palette
(
grayscale
,
base
)
!
default
;
$forum-color-response-count
:
palette
(
grayscale
,
base
)
!
default
;
// post images
$post-image-dimension
:
(
$baseline
*
3
)
!
default
;
// image size + margin
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment