CSS: Introduce .primary-nav

refs #5543
This commit is contained in:
Eric Lippmann 2015-09-27 16:06:46 +02:00
parent 8cd715f2d4
commit ab50fcc091
4 changed files with 8 additions and 9 deletions

View File

@ -13,4 +13,4 @@ if ($searchDashboard->search('dummy')->getPane('search')->hasDashlets()): ?>
/>
</form>
<?php endif; ?>
<?= $menuRenderer->setHeading(t('Navigation'))->setElementTag('nav'); ?>
<?= $menuRenderer->setCssClass('primary-nav')->setElementTag('nav')->setHeading(t('Navigation')); ?>

View File

@ -20,7 +20,7 @@ class Tabs extends AbstractWidget implements Countable
* @var string
*/
private $baseTpl = <<< 'EOT'
<ul class="tabs">
<ul class="tabs primary-nav">
{TABS}
{DROPDOWN}
{REFRESH}

View File

@ -38,6 +38,12 @@
}
}
.primary-nav {
a {
font-weight: normal;
}
}
.pull-left {
float: left;
}

View File

@ -11,13 +11,6 @@ li.nav-item {
}
}
// TODO(el): Use tab-nav in the Tabs widget
.tabs {
a {
font-weight: normal;
}
}
ul.nav {
// Reset defaults
margin: 0;