Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
haddock
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stephen Judkins
haddock
Commits
824ffde8
Commit
824ffde8
authored
14 years ago
by
Mark Lentczner
Browse files
Options
Downloads
Patches
Plain Diff
make info block and package bar links be floatable by placing them first in the dom tree
parent
d899296a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
html/Ocean.std-theme/ocean.css
+8
-8
8 additions, 8 deletions
html/Ocean.std-theme/ocean.css
src/Haddock/Backends/Xhtml.hs
+3
-3
3 additions, 3 deletions
src/Haddock/Backends/Xhtml.hs
with
11 additions
and
11 deletions
html/Ocean.std-theme/ocean.css
+
8
−
8
View file @
824ffde8
...
...
@@ -52,10 +52,9 @@ h1 + h2, h2 + h3, h3 + h4, h4 + h5, h5 + h6 {
ul
.links
{
list-style
:
none
;
text-align
:
left
;
position
:
absolute
;
right
:
5px
;
top
:
5px
;
float
:
right
;
display
:
inline-table
;
margin-left
:
1em
;
}
ul
.links
li
{
...
...
@@ -65,7 +64,9 @@ ul.links li {
padding
:
0
;
}
ul
.links
li
a
{
padding
:
5px
10px
;
}
ul
.links
li
a
{
padding
:
0.2em
0.5em
;
}
.hide
{
display
:
none
;
}
.show
{
display
:
inherit
;
}
...
...
@@ -138,7 +139,7 @@ img.coll {
background
:
rgb
(
41
,
56
,
69
);
border-top
:
5px
solid
rgb
(
78
,
98
,
114
);
color
:
#ddd
;
padding
:
5px
;
padding
:
0.2em
;
position
:
relative
;
text-align
:
left
;
}
...
...
@@ -170,9 +171,8 @@ dl.info {
font-size
:
75%
;
color
:
rgb
(
78
,
98
,
114
);
background-color
:
#fff
;
max-width
:
20em
;
margin-top
:
-6em
;
margin-bottom
:
1em
;
max-width
:
40%
;
margin
:
-1em
0
1em
1em
;
}
dl
.info
dt
{
...
...
This diff is collapsed.
Click to expand it.
src/Haddock/Backends/Xhtml.hs
+
3
−
3
View file @
824ffde8
...
...
@@ -167,13 +167,13 @@ bodyHtml doctitle iface themes
pageContent
=
body
<<
[
divPackageHeader
<<
[
nonEmpty
sectionName
<<
doctitle
,
unordList
(
catMaybes
[
srcButton
maybe_source_url
iface
,
wikiButton
maybe_wiki_url
(
ifaceMod
`
fmap
`
iface
),
contentsButton
maybe_contents_url
,
indexButton
maybe_index_url
]
++
[
styleMenu
themes
])
!
[
theclass
"links"
]
]
++
[
styleMenu
themes
])
!
[
theclass
"links"
],
nonEmpty
sectionName
<<
doctitle
],
divContent
<<
pageContent
,
divFooter
<<
paragraph
<<
(
...
...
@@ -453,7 +453,7 @@ ppHtmlModule odir doctitle themes
bodyHtml
doctitle
(
Just
iface
)
themes
maybe_source_url
maybe_wiki_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
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment