Skip to content
Snippets Groups Projects
Commit 48ba0aa5 authored by Ximin Luo's avatar Ximin Luo
Browse files

presenters/html: don't show pointer-cursor when jquery is disabled

parent ccd926fa
No related branches found
No related tags found
No related merge requests found
......@@ -118,31 +118,12 @@ STYLES = u"""body.diffoscope {
.diffoscope .diffheader:hover .anchor {
display: inline;
}
.diffoscope table.diff tr.ondemand td, .diffoscope div.ondemand-details {
background: #f99;
text-align: center;
padding: 0.5em 0;
}
.diffoscope table.diff tr.ondemand:hover td, .diffoscope div.ondemand-details:hover {
background: #faa;
cursor: pointer;
}
.diffoscope .diffcontrol, .diffoscope .diffcontrol-nochildren {
float: left;
margin-right: 0.3em;
cursor: pointer;
display: none; /* currently, only available in html-dir output where jquery is enabled */
}
.diffoscope .diffheader {
cursor: pointer;
}
.diffoscope .diffheader:hover .diffcontrol {
color: #080;
font-weight: bold;
}
.diffoscope .diffcontrol-double {
line-height: 250%;
}
.diffoscope .colines {
width: 3em;
}
......@@ -209,6 +190,27 @@ $(function() {
$(".diffcontrol-nochildren").show();
});
</script>
<style type="text/css">
.diffoscope table.diff tr.ondemand td, .diffoscope div.ondemand-details {
background: #f99;
text-align: center;
padding: 0.5em 0;
}
.diffoscope table.diff tr.ondemand:hover td, .diffoscope div.ondemand-details:hover {
background: #faa;
cursor: pointer;
}
.diffoscope .diffheader {
cursor: pointer;
}
.diffoscope .diffheader:hover .diffcontrol {
color: #080;
font-weight: bold;
}
.diffoscope .diffcontrol-double {
line-height: 250%%;
}
</style>
"""
DIFFNODE_LAZY_LOAD = u"""<div class="ondemand-details" title="the size refers to the raw diff and includes all children;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment