[Pkg-owncloud-commits] [owncloud-doc] 67/80: Added space between title and headerlink Horizontal alignment prev-next links
David Prévot
taffit at moszumanska.debian.org
Fri Jul 4 02:54:54 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud-doc.
commit c99848a912334912653b76d43b2d9a3d5c34ad34
Author: Marieke <marieke at frogtips.nl>
Date: Tue May 6 22:25:33 2014 +0200
Added space between title and headerlink
Horizontal alignment prev-next links
---
_shared_assets/themes/owncloud_org/relations.html | 10 +++++++--
.../themes/owncloud_org/static/styles.css | 26 +++++++++++++++++++++-
2 files changed, 33 insertions(+), 3 deletions(-)
diff --git a/_shared_assets/themes/owncloud_org/relations.html b/_shared_assets/themes/owncloud_org/relations.html
index ccc4eee..f7cbd2a 100644
--- a/_shared_assets/themes/owncloud_org/relations.html
+++ b/_shared_assets/themes/owncloud_org/relations.html
@@ -1,6 +1,9 @@
{# Switch to icon instead of text in `sm` view size for BS3 only. #}
+{%- if prev or next %}
+<ul class="prevnext-title list-unstyled list-inline">
+{%- endif %}
{%- if prev %}
- <li>
+ <li class="prev">
<a href="{{ prev.link|e }}" title="{{ _('Previous Chapter: ') + prev.title|striptags }}">
{%- if theme_bootstrap_version == "3" -%}<span class="glyphicon glyphicon-chevron-left visible-sm"></span>{%- endif -%}
<span class="hidden-sm">{{ "«"|safe }} {{ prev.title|striptags|truncate(length=16, killwords=True) }}</span>
@@ -8,10 +11,13 @@
</li>
{%- endif %}
{%- if next %}
- <li>
+ <li class="next">
<a href="{{ next.link|e }}" title="{{ _('Next Chapter: ') + next.title|striptags }}">
{%- if theme_bootstrap_version == "3" -%}<span class="glyphicon glyphicon-chevron-right visible-sm"></span>{%- endif -%}
<span class="hidden-sm">{{ next.title|striptags|truncate(length=16, killwords=True) }} {{ "»"|safe }}</span>
</a>
</li>
{%- endif %}
+{%- if prev or next %}
+</ul>
+{%- endif %}
diff --git a/_shared_assets/themes/owncloud_org/static/styles.css b/_shared_assets/themes/owncloud_org/static/styles.css
index 26324d1..a472277 100644
--- a/_shared_assets/themes/owncloud_org/static/styles.css
+++ b/_shared_assets/themes/owncloud_org/static/styles.css
@@ -1,11 +1,35 @@
+/* This css file should only be used for Documentation, not replace the styles.css in owncloud.org website */
+
/* -- begin specific css for documentation -- */
+
ul#menu-support.menu {
padding-left: 0;
}
ul#menu-support.menu ul {
padding-left: 20px;
}
-/* -- end of specific css for documentation -- */
+.headerlink {
+ color: rgba(66, 139, 202,0.5);
+ display: none;
+ margin-left: 5px;
+}
+.section:hover > * > .headerlink {
+ display: inline-block;
+}
+.section:hover > dl > dt > .headerlink {
+ display: inline-block;
+}
+.method:hover .headerlink {
+ display: inline-block;
+}
+a:hover, a:active {
+ color: #3276B1;
+}
+li.next {
+ float: right;
+}
+
+/* -- End of specific css for documentation -- */
.navbar-header .logo {
width: 121px;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-doc.git
More information about the Pkg-owncloud-commits
mailing list