Commit a9d6c9b0 authored by Kevin Abel's avatar Kevin Abel
Browse files

Use alternate styling for unofficial building abbreviations

parent c9237fed
......@@ -320,6 +320,10 @@
min-width: 4.5em;
}
&.unofficial .buildingCode {
border-style: dashed;
}
&:hover {
.buildingCode {
background: @triad;
......
......@@ -57,6 +57,7 @@ WDN.loadCSS('<?php echo UNL_TourMap::getURL(); ?>css/map.css');
<section id="mapnav" class="wdn-band">
<div id="pointlist" class="wdn-inner-wrapper">
<h2 class="clear-top wdn-center">All Buildings</h2>
<p>Note: Building abbreviations with a dashed border are unofficial and are listed here only for convenience.</p>
<?php echo $savvy->render($context->markers, 'UNL/TourMap/MarkerList.tpl.php'); ?>
</div>
</section>
......
<li class="building"><a href="<?php echo $context->getUrl(); ?>"><span class="buildingCode"><?php echo $context->code; ?></span> <span class="format"><?php echo $context->title; ?></span> <span class="campus">(<?php echo $context->getFormattedCampus(); ?>)</span> </a></li>
<li class="building<?php echo !$context->isOfficial() ? ' unofficial' : '' ?>"><a href="<?php echo $context->getUrl(); ?>"><span class="buildingCode"><?php echo $context->code; ?></span> <span class="format"><?php echo $context->title; ?></span> <span class="campus">(<?php echo $context->getFormattedCampus(); ?>)</span> </a></li>
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