Commit a2cb6e18 authored by Robert Lyon's avatar Robert Lyon
Browse files

Adding ability to download embed pdf when js turned off (Bug# 1211070)



Change-Id: I487c2d02e66af66f4ac747dff9b67d8c9058c8eb
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
Signed-off-by: Aaron Wells's avatarAaron Wells <aaronw@catalyst.net.nz>
parent 4ec6eb21
......@@ -20,3 +20,4 @@ Changes:
* Change location of sample PDF file
* Remove "open file" button
* viewer.css additions to support viewing by non-JS users
......@@ -30,6 +30,11 @@ body {
background-image: url(images/texture.png);
}
body.no-js {
background-color: #FFFFFF;
background-image: none;
}
body,
input,
button,
......@@ -38,6 +43,25 @@ select {
outline: none;
}
.js {
display: none;
}
#nojsdownload {
text-align: center;
}
#nojsdownload a {
color: #6E8E00;
text-decoration: none;
font-size: 0.85em;
line-height: 1.333em;
}
#nojsdownload a:hover {
color: #84AA00;
text-decoration: underline;
}
.hidden {
display: none !important;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment