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
2fb05da5
Commit
2fb05da5
authored
Feb 16, 2012
by
Kyle Fiedler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More edits to the print styles
--HG-- branch : templates-kf-print
parent
3cb33e68
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
1 deletions
+21
-1
main.html
+0
-1
sass/courseware/_courseware.scss
+16
-0
sass/layout/_layout.scss
+5
-0
No files found.
main.html
View file @
2fb05da5
...
...
@@ -5,7 +5,6 @@
<link
rel=
"stylesheet"
href=
"${ settings.LIB_URL }jquery.treeview.css"
type=
"text/css"
media=
"all"
/>
<link
rel=
"stylesheet"
href=
"/static/css/application.css"
type=
"text/css"
media=
"all"
/>
<link
href=
"/static/css/print.css"
rel=
"stylesheet"
type=
"text/css"
media=
"print"
/>
<script
type=
"text/javascript"
src=
"${ settings.LIB_URL }jquery-1.6.2.min.js"
></script>
<script
type=
"text/javascript"
src=
"${ settings.LIB_URL }jquery-ui-1.8.16.custom.min.js"
></script>
...
...
sass/courseware/_courseware.scss
View file @
2fb05da5
...
...
@@ -50,6 +50,12 @@ div.course-wrapper {
width
:
auto
;
border-right
:
0
;
}
@media
print
{
display
:
block
;
width
:
auto
;
border-right
:
0
;
}
}
section
.problem
{
...
...
@@ -63,6 +69,16 @@ div.course-wrapper {
padding
:
0
;
}
@media
print
{
display
:
block
;
width
:
auto
;
padding
:
0
;
canvas
,
img
{
page-break-inside
:
avoid
;
}
}
span
{
&
.unanswered
,
&
.ui-icon-bullet
{
@include
inline-block
();
...
...
sass/layout/_layout.scss
View file @
2fb05da5
...
...
@@ -17,6 +17,11 @@ html {
background
:
#fff
;
border-bottom
:
1px
solid
#bbb
;
@media
print
{
border-bottom
:
0
;
@include
border-radius
(
none
);
}
@media
screen
and
(
min-width
:
1400px
)
{
// @include border-radius(3px);
@include
box-shadow
(
0
0
4px
#dfdfdf
);
...
...
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