added prev next nav in perf nodes
This commit is contained in:
@@ -2267,6 +2267,36 @@ html.classic-nav body.node-type-performance #main #center #content .node.type-pe
|
||||
font-weight: 500;
|
||||
font-size: 12px;
|
||||
}
|
||||
html.no-js body.node-type-performance #block-perfart-perf-prevnext ul#perf-prev-next-btns,
|
||||
html.classic-nav body.node-type-performance #block-perfart-perf-prevnext ul#perf-prev-next-btns {
|
||||
display: flex;
|
||||
flex-flow: row nowrap;
|
||||
}
|
||||
html.no-js body.node-type-performance #block-perfart-perf-prevnext ul#perf-prev-next-btns li.perf-prev-link,
|
||||
html.classic-nav body.node-type-performance #block-perfart-perf-prevnext ul#perf-prev-next-btns li.perf-prev-link,
|
||||
html.no-js body.node-type-performance #block-perfart-perf-prevnext ul#perf-prev-next-btns li.perf-next-link,
|
||||
html.classic-nav body.node-type-performance #block-perfart-perf-prevnext ul#perf-prev-next-btns li.perf-next-link {
|
||||
flex: 1 1 100%;
|
||||
width: 50%;
|
||||
}
|
||||
html.no-js body.node-type-performance #block-perfart-perf-prevnext ul#perf-prev-next-btns li.perf-next-link,
|
||||
html.classic-nav body.node-type-performance #block-perfart-perf-prevnext ul#perf-prev-next-btns li.perf-next-link {
|
||||
text-align: right;
|
||||
}
|
||||
html.no-js body.node-type-performance #block-perfart-perf-prevnext ul#perf-prev-next-btns a,
|
||||
html.classic-nav body.node-type-performance #block-perfart-perf-prevnext ul#perf-prev-next-btns a {
|
||||
text-decoration: none;
|
||||
font-family: "MuseoSans", Arial, sans-serif;
|
||||
-moz-font-feature-settings: "calt=0,liga=0";
|
||||
font-size: 10px;
|
||||
font-weight: 500;
|
||||
}
|
||||
@media screen and (min-width: 1201px) {
|
||||
html.no-js body.node-type-performance #block-perfart-perf-prevnext ul#perf-prev-next-btns a,
|
||||
html.classic-nav body.node-type-performance #block-perfart-perf-prevnext ul#perf-prev-next-btns a {
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
body.node-type-document #main,
|
||||
.node-type-document-sonor #main,
|
||||
.node-type-object #main,
|
||||
|
||||
@@ -1070,7 +1070,25 @@ html.no-js, html.classic-nav{
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
#block-perfart-perf-prevnext{
|
||||
ul#perf-prev-next-btns{
|
||||
display: flex;
|
||||
flex-flow: row nowrap;
|
||||
li.perf-prev-link,
|
||||
li.perf-next-link{
|
||||
flex:1 1 100%;
|
||||
width: 50%;
|
||||
}
|
||||
li.perf-next-link{
|
||||
text-align: right;
|
||||
}
|
||||
a{
|
||||
text-decoration: none;
|
||||
.fs-filters-list;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
<!-- start article.node -->
|
||||
<article id="node-<?php print $node->nid; ?>" class="node type-<?php print $node->type; ?><?php if ($sticky) { print " sticky"; } ?><?php if (!$status) { print " unpublished"; } ?>">
|
||||
<?php if ($page == 0 && isset($title)): ?>
|
||||
<h1 class="nodetitle">
|
||||
<?php $types = ['document', 'document_video', 'document_sonor', 'object']; // , 'effectuation' ?>
|
||||
<?php if (!in_array($node->type, $types)) : ?>
|
||||
<a href="<?php print $node_url?>"><?php print $title?></a>
|
||||
<?php else: ?>
|
||||
<?php print $title?>
|
||||
<?php endif; ?>
|
||||
</h1>
|
||||
<?php endif; ?>
|
||||
|
||||
<section class="content">
|
||||
<?php
|
||||
hide($content['comments']);
|
||||
hide($content['links']);
|
||||
print render($content);
|
||||
?>
|
||||
</section>
|
||||
|
||||
<?php if ($submitted): ?>
|
||||
<aside class="submitted">
|
||||
<?php print $submitted?>
|
||||
</aside>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($links = render($content['links'])): ?>
|
||||
<nav class="nav">
|
||||
<?php print $links; ?>
|
||||
</nav>
|
||||
<?php endif; ?>
|
||||
|
||||
</article>
|
||||
<!-- end article.node -->
|
||||
Reference in New Issue
Block a user