Commit 7cf84099 authored by ccarigna's avatar ccarigna
Browse files

Removed date-views-pager and css, changed block classes

parent 375cd57d
.block-events-audience {margin-bottom: 1em;}
.block-events-archive ol {list-style-type: none; margin-left: 0;}
.block-events-archive li ol {list-style-type: square; margin-left: 1.2em;}
.block-events-archive li .item-list {margin-top: .2em;}
.view .event {border-bottom: solid 1px #ddd; margin-bottom: 1em;}
.view .event .event-title {border: none; font-size: 1.1em; font-weight: normal; margin-bottom: .2em;}
.view .event .event-title a {text-decoration: underline;}
.view .event .event-date {color: #555; margin-bottom: .5em;}
.page-events .view-footer {text-align: right;}
.view .date-nav-wrapper {margin-top: 0;}
.view .date-nav-wrapper .date-nav {min-height: inherit; height: auto; padding: 0;}
.view .date-nav-wrapper .date-heading {text-align: left; float: none;}
.view .date-nav-wrapper .date-prev, .view .date-nav-wrapper .date-next {padding: 0; margin: 0; background: none;}
.view .date-nav-wrapper .date-prev {right: 6.5em;}
.view .date-nav-wrapper .date-prev a, .view .date-nav-wrapper .date-next a {font-size: 1em; background: #ddd; padding: .2em; width:6em; display: block; text-align: center;}
.view .date-nav-wrapper .date-prev a:hover, .view .date-nav-wrapper .date-next a:hover {color: #03f; background: #eee;}
.view .date-nav-wrapper .date-prev a {border-radius:5px 0 0 0;}
.view .date-nav-wrapper .date-next a {border-radius:0 5px 0 0;}
.event-content .field_event_date .field-data {font-size: 1.3em; color: #555; margin-bottom: 1em;}
.event-content .field_event_date .date-display-end {white-space: nowrap;}
.event-content .field_event_date .field-data.multiple {font-size: 1em;}
......
......@@ -41,7 +41,7 @@
* @see template_process()
*/
?>
<div class="block-events-archive"<?php print $attributes; ?>>
<div class="block-list-archive"<?php print $attributes; ?>>
<?php if ($block->subject): ?>
<?php print render($title_prefix); ?>
<h2<?php print $title_attributes; ?>><?php print $block->subject ?></h2>
......
......@@ -41,7 +41,7 @@
* @see template_process()
*/
?>
<div class="block-events-audience"<?php print $attributes; ?>>
<div class="block-list-audience"<?php print $attributes; ?>>
<?php if ($block->subject): ?>
<?php print render($title_prefix); ?>
<h2<?php print $title_attributes; ?>><?php print $block->subject ?></h2>
......
<?php
/**
* @file
* Template file for the example display.
*
* Variables available:
* - $plugin: The pager plugin object. This contains the view as well as a lot
*
* $nav_title
* The formatted title for this view. In the case of block
* views, it will be a link to the full view, otherwise it will
* be the formatted name of the year, month, day, or week.
*
* $prev_url
* $next_url
* Urls for the previous and next calendar pages. The links are
* composed in the template to make it easier to change the text,
* add images, etc.
*
* $prev_options
* $next_options
* Query strings and other options for the links that need to
* be used in the l() function, including rel=nofollow.
*
* $block:
* Whether or not this view is in a block.
*
* $view
* The view object for this navigation.
*
* $pager_prefix
* Additional information that might be added by overriding template_process_date_views_pager().
*
* $extra_classes
* Extra classes for the wrapper, if any.
*
*/
?>
<?php if (!empty($pager_prefix)) print $pager_prefix; ?>
<div class="date-nav-wrapper clearfix<?php if (!empty($extra_classes)) print $extra_classes; ?>">
<div class="date-nav">
<div class="date-prev">
<?php if (!empty($prev_url)) : ?>
<?php print l('&laquo;' . ($mini ? '' : t('Previous', array(), array('context' => 'date_nav'))), $prev_url, $prev_options); ?>
<?php endif; ?>
</div>
<div class="date-heading">
<h2><?php print $nav_title ?></h2>
</div>
<div class="date-next">
<?php if (!empty($next_url)) : ?>
<?php print l(($mini ? '' : t('Next', array(), array('context' => 'date_nav'))) . ' &raquo;', $next_url, $next_options); ?>
<?php endif; ?>
</div>
</div>
</div>
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment