Skip to content
Snippets Groups Projects
Commit 824ffde8 authored by Mark Lentczner's avatar Mark Lentczner
Browse files

make info block and package bar links be floatable by placing them first in the dom tree

parent d899296a
No related branches found
No related tags found
No related merge requests found
...@@ -52,10 +52,9 @@ h1 + h2, h2 + h3, h3 + h4, h4 + h5, h5 + h6 { ...@@ -52,10 +52,9 @@ h1 + h2, h2 + h3, h3 + h4, h4 + h5, h5 + h6 {
ul.links { ul.links {
list-style: none; list-style: none;
text-align: left; text-align: left;
position: absolute; float: right;
right: 5px;
top: 5px;
display: inline-table; display: inline-table;
margin-left: 1em;
} }
ul.links li { ul.links li {
...@@ -65,7 +64,9 @@ ul.links li { ...@@ -65,7 +64,9 @@ ul.links li {
padding: 0; padding: 0;
} }
ul.links li a { padding: 5px 10px; } ul.links li a {
padding: 0.2em 0.5em;
}
.hide { display: none; } .hide { display: none; }
.show { display: inherit; } .show { display: inherit; }
...@@ -138,7 +139,7 @@ img.coll { ...@@ -138,7 +139,7 @@ img.coll {
background: rgb(41,56,69); background: rgb(41,56,69);
border-top: 5px solid rgb(78,98,114); border-top: 5px solid rgb(78,98,114);
color: #ddd; color: #ddd;
padding: 5px; padding: 0.2em;
position: relative; position: relative;
text-align: left; text-align: left;
} }
...@@ -170,9 +171,8 @@ dl.info { ...@@ -170,9 +171,8 @@ dl.info {
font-size: 75%; font-size: 75%;
color: rgb(78,98,114); color: rgb(78,98,114);
background-color: #fff; background-color: #fff;
max-width: 20em; max-width: 40%;
margin-top: -6em; margin: -1em 0 1em 1em;
margin-bottom: 1em;
} }
dl.info dt { dl.info dt {
......
...@@ -167,13 +167,13 @@ bodyHtml doctitle iface themes ...@@ -167,13 +167,13 @@ bodyHtml doctitle iface themes
pageContent = pageContent =
body << [ body << [
divPackageHeader << [ divPackageHeader << [
nonEmpty sectionName << doctitle,
unordList (catMaybes [ unordList (catMaybes [
srcButton maybe_source_url iface, srcButton maybe_source_url iface,
wikiButton maybe_wiki_url (ifaceMod `fmap` iface), wikiButton maybe_wiki_url (ifaceMod `fmap` iface),
contentsButton maybe_contents_url, contentsButton maybe_contents_url,
indexButton maybe_index_url indexButton maybe_index_url
] ++ [styleMenu themes]) ! [theclass "links"] ] ++ [styleMenu themes]) ! [theclass "links"],
nonEmpty sectionName << doctitle
], ],
divContent << pageContent, divContent << pageContent,
divFooter << paragraph << ( divFooter << paragraph << (
...@@ -453,7 +453,7 @@ ppHtmlModule odir doctitle themes ...@@ -453,7 +453,7 @@ ppHtmlModule odir doctitle themes
bodyHtml doctitle (Just iface) themes bodyHtml doctitle (Just iface) themes
maybe_source_url maybe_wiki_url maybe_source_url maybe_wiki_url
maybe_contents_url maybe_index_url << [ maybe_contents_url maybe_index_url << [
divModuleHeader << (sectionName << mdl_str +++ moduleInfo iface), divModuleHeader << (moduleInfo iface +++ (sectionName << mdl_str)),
ifaceToHtml maybe_source_url maybe_wiki_url iface unicode ifaceToHtml maybe_source_url maybe_wiki_url iface unicode
] ]
......
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