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
26fb3fc5
Commit
26fb3fc5
authored
Jan 16, 2015
by
Brian Talbot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
LMS: student notes - styling links to appear in highlighted text
parent
5958ffb3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
1 deletions
+28
-1
lms/static/sass/base/_base.scss
+1
-1
lms/static/sass/course/modules/_student-notes.scss
+27
-0
No files found.
lms/static/sass/base/_base.scss
View file @
26fb3fc5
...
@@ -103,7 +103,7 @@ a:link, a:visited {
...
@@ -103,7 +103,7 @@ a:link, a:visited {
}
}
&
:disabled
,
&
.is-disabled
,
&
.disabled
{
&
:disabled
,
&
.is-disabled
,
&
.disabled
{
pointer-events
:
none
;
@extend
%ui-disabled
;
opacity
:
0
.5
;
opacity
:
0
.5
;
cursor
:
not
-
allowed
;
cursor
:
not
-
allowed
;
}
}
...
...
lms/static/sass/course/modules/_student-notes.scss
View file @
26fb3fc5
...
@@ -215,6 +215,33 @@ $notes-annotator-background-dark: rgba(122,122,122,0.6); // taken from annotator
...
@@ -215,6 +215,33 @@ $notes-annotator-background-dark: rgba(122,122,122,0.6); // taken from annotator
// highlight
// highlight
.annotator-hl
{
.annotator-hl
{
background
:
$student-notes-highlight-color-focus
;
background
:
$student-notes-highlight-color-focus
;
// CASE: a highlight contains a link
a
{
color
:
$link-color
;
// STATE: hover/focus
&
:hover
,
&
:focus
{
text-decoration
:
underline
;
}
// STATE: disabled
&
:disabled
,
&
.is-disabled
{
@extend
%ui-disabled
;
opacity
:
0
.5
;
cursor
:
not
-
allowed
;
}
}
}
// CASE: a link contains a highlight
a
.annotator-hl
{
color
:
$link-color
;
// STATE: hover/focus
&
:hover
,
&
:focus
{
text-decoration
:
underline
;
}
}
}
// content
// content
...
...
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