Commit df230391 authored by Son Nguyen's avatar Son Nguyen Committed by Gerrit Code Review
Browse files

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

parents 64c44c3a 5ea7b4ce
......@@ -21,3 +21,4 @@ Changes:
* Minify js files for faster loading
* Change location of sample PDF file
* Remove "open file" button
* viewer.css additions to support viewing by non-JS users
......@@ -178,6 +178,11 @@ body {
background-image: url(images/texture.png);
}
body.no-js {
background-color: #FFFFFF;
background-image: none;
}
body,
input,
button,
......@@ -186,6 +191,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;
}
......
Supports Markdown
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