Some template and doc fixes

- Fixed #766 (agenda overview parent item look).
- Fixed #767 (Documentation sphinx bootstrap theme: html header)
- Fixed #785 (Enlarged doc screenshots by hover via CSS)
- Updated sphinx-bootstrap-theme to 0.2.4
- Add btn class for agenda end time tooltip
This commit is contained in:
Emanuel Schuetze 2013-06-25 20:16:15 +02:00
parent 0e29200bac
commit 64e7cfd98e
5 changed files with 18 additions and 7 deletions

View File

@ -4,5 +4,15 @@
.screenshot {
width: 30%;
border: 2px solid;
margin-bottom: 10px;}
border: 1px solid;
margin-bottom: 10px;
}
.screenshot:hover{
width: 80%;
}
a.headerlink {
visibility: hidden;
}
h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, h4:hover > a.headerlink, h5:hover > a.headerlink, h6:hover > a.headerlink, dt:hover > a.headerlink {
visibility: visible;
}

View File

@ -48,9 +48,9 @@ copyright = u'20122013, OpenSlides Team'
# built documents.
#
# The short X.Y version.
version = 'v1.4'
version = '1.4'
# The full version, including alpha/beta/rc tags.
release = 'v1.4'
release = '1.4'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
@ -103,6 +103,7 @@ html_theme_options = {
'globaltoc_depth': 2,
'navbar_class': "navbar navbar-inverse",
'source_link_position': "",
'navbar_fixed_top': "false",
}
# Add any paths that contain custom themes here, relative to this directory.

View File

@ -58,7 +58,7 @@ ol.agenda_list {
.agenda_list .manage { width: 200px; float: right; min-height: 1px; padding-left: 5px; }
.agenda_list .title { float: left; padding-left: 5px;}
.agenda_list .optional { float: left; }
.agenda_list .opener_closer { float: left; margin-right: 10px; margin-left:-6px;}
.agenda_list .opener_closer { float: left; margin-right: 8px; margin-left:-4px;}
.agenda_list .opener_closer .btn { padding: 0 2px; }
.agenda_list .optional { float: right; width: 208px; padding-left: 8px;}

View File

@ -46,7 +46,7 @@
{% if node.duration %}
{{ node.duration }} h
{% if start and end %}
<a rel="tooltip" data-original-title="{% trans 'End' %}:
<a class="btn btn-mini" rel="tooltip" data-original-title="{% trans 'End' %}:
{{ end|date:"DATETIME_FORMAT" }}"><i class="icon-clock"></i>
</a>
{% endif %}

View File

@ -9,7 +9,7 @@ pep8==1.4.5
# Requirements for OpenSlides handbook/documentation
Sphinx==1.2b1
sphinx-bootstrap-theme==0.2.3
sphinx-bootstrap-theme==0.2.4
# For Python 2.6 support
argparse==1.2.1