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
c4e5b201
Commit
c4e5b201
authored
Jun 30, 2016
by
Brian Jacobel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Separate reading and hover states a bit
parent
ce310f6a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletions
+10
-1
lms/static/sass/discussion/elements/_navigation.scss
+8
-1
lms/static/sass/discussion/utilities/_variables-v1.scss
+1
-0
lms/static/sass/discussion/utilities/_variables-v2.scss
+1
-0
No files found.
lms/static/sass/discussion/elements/_navigation.scss
View file @
c4e5b201
...
@@ -229,11 +229,18 @@
...
@@ -229,11 +229,18 @@
padding
:
(
$baseline
/
4
)
(
$baseline
/
2
);
padding
:
(
$baseline
/
4
)
(
$baseline
/
2
);
transition
:
none
;
transition
:
none
;
&
.is-active
,
&
:hover
{
&
:hover
{
color
:
$forum-color-background
;
color
:
$forum-color-background
;
background-color
:
$forum-color-hover-thread
;
background-color
:
$forum-color-hover-thread
;
}
&
.is-active
{
color
:
$forum-color-background
;
background-color
:
$forum-color-reading-thread
;
}
&
.is-active
,
&
:hover
{
.forum-nav-thread-labels
>
li
{
.forum-nav-thread-labels
>
li
{
border-color
:
$forum-color-background
;
border-color
:
$forum-color-background
;
color
:
$forum-color-background
;
color
:
$forum-color-background
;
...
...
lms/static/sass/discussion/utilities/_variables-v1.scss
View file @
c4e5b201
...
@@ -15,6 +15,7 @@ $forum-color-marked-answer: $green-d1 !default;
...
@@ -15,6 +15,7 @@ $forum-color-marked-answer: $green-d1 !default;
$forum-color-border
:
$gray-l3
!
default
;
$forum-color-border
:
$gray-l3
!
default
;
$forum-color-error
:
$red
!
default
;
$forum-color-error
:
$red
!
default
;
$forum-color-hover-thread
:
$gray-d3
!
default
;
$forum-color-hover-thread
:
$gray-d3
!
default
;
$forum-color-reading-thread
:
$gray-d3
!
default
;
// post images
// post images
$post-image-dimension
:
(
$baseline
*
3
)
!
default
;
// image size + margin
$post-image-dimension
:
(
$baseline
*
3
)
!
default
;
// image size + margin
...
...
lms/static/sass/discussion/utilities/_variables-v2.scss
View file @
c4e5b201
...
@@ -15,6 +15,7 @@ $forum-color-marked-answer: $green-d1 !default;
...
@@ -15,6 +15,7 @@ $forum-color-marked-answer: $green-d1 !default;
$forum-color-border
:
palette
(
grayscale
,
base
)
!
default
;
$forum-color-border
:
palette
(
grayscale
,
base
)
!
default
;
$forum-color-error
:
palette
(
error
,
accent
)
!
default
;
$forum-color-error
:
palette
(
error
,
accent
)
!
default
;
$forum-color-hover-thread
:
palette
(
grayscale
,
dark
)
!
default
;
$forum-color-hover-thread
:
palette
(
grayscale
,
dark
)
!
default
;
$forum-color-reading-thread
:
palette
(
grayscale
,
dark
)
!
default
;
// post images
// post images
$post-image-dimension
:
(
$baseline
*
3
)
!
default
;
// image size + margin
$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