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
OpenEdx
edx-platform
Commits
da785eae
Commit
da785eae
authored
Sep 28, 2017
by
Tyler Hallada
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Button print subsection styling
parent
9dd48e19
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
common/lib/xmodule/xmodule/css/capa/display.scss
+1
-1
common/lib/xmodule/xmodule/js/src/sequence/display.js
+1
-1
lms/static/sass/shared/_header.scss
+1
-1
lms/templates/courseware/courseware.html
+1
-1
No files found.
common/lib/xmodule/xmodule/css/capa/display.scss
View file @
da785eae
...
@@ -144,7 +144,7 @@ div.problem-progress {
...
@@ -144,7 +144,7 @@ div.problem-progress {
font-size
:
em
(
14
);
font-size
:
em
(
14
);
}
}
div
.problem-wrapper
{
div
.problem
s
-wrapper
{
@media
print
{
@media
print
{
page-break-inside
:
avoid
;
page-break-inside
:
avoid
;
}
}
...
...
common/lib/xmodule/xmodule/js/src/sequence/display.js
View file @
da785eae
...
@@ -75,7 +75,7 @@
...
@@ -75,7 +75,7 @@
this
.
$
(
'#sequence-list .nav-item'
).
on
(
'focus mouseenter'
,
this
.
displayTabTooltip
);
this
.
$
(
'#sequence-list .nav-item'
).
on
(
'focus mouseenter'
,
this
.
displayTabTooltip
);
this
.
$
(
'#sequence-list .nav-item'
).
on
(
'blur mouseleave'
,
this
.
hideTabTooltip
);
this
.
$
(
'#sequence-list .nav-item'
).
on
(
'blur mouseleave'
,
this
.
hideTabTooltip
);
// lol hackathon
// lol hackathon
$
(
'.print-sub
module
'
).
click
(
$
.
proxy
(
this
.
printSubmodule
,
this
));
$
(
'.print-sub
section
'
).
click
(
$
.
proxy
(
this
.
printSubmodule
,
this
));
};
};
Sequence
.
prototype
.
previousNav
=
function
(
focused
,
index
)
{
Sequence
.
prototype
.
previousNav
=
function
(
focused
,
index
)
{
...
...
lms/static/sass/shared/_header.scss
View file @
da785eae
...
@@ -914,7 +914,7 @@
...
@@ -914,7 +914,7 @@
display
:
inline-block
;
display
:
inline-block
;
}
}
.print-sub
module
{
.print-sub
section
{
float
:
right
;
float
:
right
;
display
:
inline-block
;
display
:
inline-block
;
...
...
lms/templates/courseware/courseware.html
View file @
da785eae
...
@@ -182,7 +182,7 @@ ${HTML(fragment.foot_html())}
...
@@ -182,7 +182,7 @@ ${HTML(fragment.foot_html())}
</div>
</div>
</nav>
</nav>
</div>
</div>
<button
class=
"btn print-sub
module"
>
Print Submodule
</button>
<button
class=
"btn print-sub
section"
><span
class=
"icon fa fa-print"
aria-hidden=
"true"
></span>
Print Subsection
</button>
</header>
</header>
<main
id=
"main"
tabindex=
"-1"
aria-label=
"Content"
>
<main
id=
"main"
tabindex=
"-1"
aria-label=
"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