Skip to content
Snippets Groups Projects
Commit a9d6c9b0 authored by Kevin Abel's avatar Kevin Abel
Browse files

Use alternate styling for unofficial building abbreviations

parent c9237fed
No related branches found
No related tags found
No related merge requests found
...@@ -320,6 +320,10 @@ ...@@ -320,6 +320,10 @@
min-width: 4.5em; min-width: 4.5em;
} }
&.unofficial .buildingCode {
border-style: dashed;
}
&:hover { &:hover {
.buildingCode { .buildingCode {
background: @triad; background: @triad;
......
...@@ -57,6 +57,7 @@ WDN.loadCSS('<?php echo UNL_TourMap::getURL(); ?>css/map.css'); ...@@ -57,6 +57,7 @@ WDN.loadCSS('<?php echo UNL_TourMap::getURL(); ?>css/map.css');
<section id="mapnav" class="wdn-band"> <section id="mapnav" class="wdn-band">
<div id="pointlist" class="wdn-inner-wrapper"> <div id="pointlist" class="wdn-inner-wrapper">
<h2 class="clear-top wdn-center">All Buildings</h2> <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'); ?> <?php echo $savvy->render($context->markers, 'UNL/TourMap/MarkerList.tpl.php'); ?>
</div> </div>
</section> </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>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment