This commit is contained in:
Alexander Makarov 2013-08-05 12:10:08 +04:00
parent da0afe1957
commit 2285c83fb8
2 changed files with 7 additions and 7 deletions

View File

@ -23,7 +23,7 @@ app\config\AppAsset::register($this);
<div class="masthead">
<h3 class="muted">My Company</h3>
<div class="navbar">
<div class="navbar fullwidth">
<div class="navbar-inner">
<div class="container">
<?php echo Menu::widget(array(

View File

@ -44,35 +44,35 @@ body {
}
/* Customize the navbar links to be fill the entire space of the .navbar */
.navbar .navbar-inner {
.navbar.fullwidth .navbar-inner {
padding: 0;
}
.navbar .nav {
.navbar.fullwidth .nav {
margin: 0;
display: table;
width: 100%;
}
.navbar .nav li {
.navbar.fullwidth .nav li {
display: table-cell;
width: 1%;
float: none;
}
.navbar .nav li a {
.navbar.fullwidth .nav li a {
font-weight: bold;
text-align: center;
border-left: 1px solid rgba(255, 255, 255, .75);
border-right: 1px solid rgba(0, 0, 0, .1);
}
.navbar .nav li:first-child a {
.navbar.fullwidth .nav li:first-child a {
border-left: 0;
border-radius: 3px 0 0 3px;
}
.navbar .nav li:last-child a {
.navbar.fullwidth .nav li:last-child a {
border-right: 0;
border-radius: 0 3px 3px 0;
}