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
2cdd0a98
Commit
2cdd0a98
authored
Oct 22, 2015
by
Chris Rodriguez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing contrast issues in the forums
parent
1f2f3de4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
37 additions
and
31 deletions
+37
-31
lms/static/sass/discussion/elements/_navigation.scss
+31
-24
lms/static/sass/discussion/utilities/_shame.scss
+0
-5
lms/static/sass/discussion/utilities/_variables.scss
+1
-1
lms/static/sass/discussion/views/_thread.scss
+5
-1
No files found.
lms/static/sass/discussion/elements/_navigation.scss
View file @
2cdd0a98
...
...
@@ -172,11 +172,19 @@
}
.forum-nav-thread
{
border-bottom
:
1px
solid
$gray-l
3
;
background-color
:
$gray-l
5
;
border-bottom
:
1px
solid
$gray-l
4
;
background-color
:
$gray-l
6
;
&
.is-unread
{
background-color
:
$white
;
.forum-nav-thread-comments-count
{
background-color
:
$blue-d1
;
color
:
$white
;
&
:after
{
border-right-color
:
$blue-d1
;
}
}
}
}
...
...
@@ -184,9 +192,24 @@
display
:
block
;
padding
:
(
$baseline
/
4
)
(
$baseline
/
2
);
&
.is-active
,
&
:hover
,
&
:focus
{
&
.is-active
,
&
:hover
,
&
:focus
{
background-color
:
$forum-color-active-thread
;
}
&
.is-active
{
color
:
$base-font-color
;
.forum-nav-thread-comments-count
{
background-color
:
$gray-l4
;
color
:
$base-font-color
;
&
:after
{
border-right-color
:
$gray-l4
;
}
}
}
}
%forum-nav-thread-wrapper
{
...
...
@@ -263,7 +286,7 @@
border-radius
:
2px
;
padding
:
(
$baseline
/
10
)
(
$baseline
/
5
);
min-width
:
2em
;
// Fit most comment counts but allow expansion if necessary
background-color
:
$gray-l
3
;
background-color
:
$gray-l
4
;
// Speech bubble tail
&
:after
{
...
...
@@ -276,24 +299,7 @@
height
:
0
;
border-style
:
solid
;
@include
border-width
(
0
,
(
$baseline
/
4
)
,
(
$baseline
/
4
)
,
0
);
@include
border-color
(
transparent
,
$gray-l3
,
transparent
,
transparent
);
}
&
.is-unread
{
background-color
:
$white
;
&
:after
{
border-right-color
:
$white
}
}
}
.forum-nav-thread.is-unread
.forum-nav-thread-comments-count
{
background-color
:
$blue
;
color
:
$white
;
&
:after
{
border-right-color
:
$blue
;
@include
border-color
(
transparent
,
$gray-l4
,
transparent
,
transparent
);
}
}
...
...
@@ -312,7 +318,8 @@
@extend
%forum-nav-load-more-content
;
color
:
$link-color
;
&
:hover
,
&
:focus
{
&
:hover
,
&
:focus
{
color
:
$link-color
;
background-color
:
$forum-color-active-thread
;
}
...
...
lms/static/sass/discussion/utilities/_shame.scss
View file @
2cdd0a98
...
...
@@ -164,9 +164,4 @@ li[class*=forum-nav-thread-label-] {
.wrapper-post-header
.post-title
{
margin-bottom
:
0
!
important
;
// overrides "#seq_content h1" styling
}
.posted-details
{
font-size
:
12px
!
important
;
color
:
#919191
!
important
;
}
}
lms/static/sass/discussion/utilities/_variables.scss
View file @
2cdd0a98
...
...
@@ -2,7 +2,7 @@
// ====================
// color variables
$forum-color-active-thread
:
tint
(
$blue
,
85%
)
;
$forum-color-active-thread
:
$white
;
$forum-color-pinned
:
$pink
;
$forum-color-reported
:
$pink
;
$forum-color-closed
:
$black
;
...
...
lms/static/sass/discussion/views/_thread.scss
View file @
2cdd0a98
...
...
@@ -32,6 +32,10 @@ body.discussion, .discussion-module {
@include
float
(
right
);
width
:
flex-grid
(
3
,
12
);
}
.posted-details
{
color
:
$gray-d1
;
}
}
// response layout
...
...
@@ -127,7 +131,7 @@ body.discussion {
.posted-details
{
@extend
%t-copy-sub2
;
margin-top
:
(
$baseline
/
5
);
color
:
$gray-
l
1
;
color
:
$gray-
d
1
;
.username
{
@extend
%t-strong
;
...
...
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