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 { .screenshot {
width: 30%; width: 30%;
border: 2px solid; border: 1px solid;
margin-bottom: 10px;} 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. # built documents.
# #
# The short X.Y version. # The short X.Y version.
version = 'v1.4' version = '1.4'
# The full version, including alpha/beta/rc tags. # The full version, including alpha/beta/rc tags.
release = 'v1.4' release = '1.4'
# The language for content autogenerated by Sphinx. Refer to documentation # The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages. # for a list of supported languages.
@ -103,6 +103,7 @@ html_theme_options = {
'globaltoc_depth': 2, 'globaltoc_depth': 2,
'navbar_class': "navbar navbar-inverse", 'navbar_class': "navbar navbar-inverse",
'source_link_position': "", 'source_link_position': "",
'navbar_fixed_top': "false",
} }
# Add any paths that contain custom themes here, relative to this directory. # 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 .manage { width: 200px; float: right; min-height: 1px; padding-left: 5px; }
.agenda_list .title { float: left; padding-left: 5px;} .agenda_list .title { float: left; padding-left: 5px;}
.agenda_list .optional { float: left; } .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 .opener_closer .btn { padding: 0 2px; }
.agenda_list .optional { float: right; width: 208px; padding-left: 8px;} .agenda_list .optional { float: right; width: 208px; padding-left: 8px;}

View File

@ -46,7 +46,7 @@
{% if node.duration %} {% if node.duration %}
{{ node.duration }} h {{ node.duration }} h
{% if start and end %} {% 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> {{ end|date:"DATETIME_FORMAT" }}"><i class="icon-clock"></i>
</a> </a>
{% endif %} {% endif %}

View File

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