fixes #687
This commit is contained in:
parent
da0afe1957
commit
2285c83fb8
@ -23,7 +23,7 @@ app\config\AppAsset::register($this);
|
|||||||
<div class="masthead">
|
<div class="masthead">
|
||||||
<h3 class="muted">My Company</h3>
|
<h3 class="muted">My Company</h3>
|
||||||
|
|
||||||
<div class="navbar">
|
<div class="navbar fullwidth">
|
||||||
<div class="navbar-inner">
|
<div class="navbar-inner">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<?php echo Menu::widget(array(
|
<?php echo Menu::widget(array(
|
||||||
|
@ -44,35 +44,35 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Customize the navbar links to be fill the entire space of the .navbar */
|
/* Customize the navbar links to be fill the entire space of the .navbar */
|
||||||
.navbar .navbar-inner {
|
.navbar.fullwidth .navbar-inner {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar .nav {
|
.navbar.fullwidth .nav {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
display: table;
|
display: table;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar .nav li {
|
.navbar.fullwidth .nav li {
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
width: 1%;
|
width: 1%;
|
||||||
float: none;
|
float: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar .nav li a {
|
.navbar.fullwidth .nav li a {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-left: 1px solid rgba(255, 255, 255, .75);
|
border-left: 1px solid rgba(255, 255, 255, .75);
|
||||||
border-right: 1px solid rgba(0, 0, 0, .1);
|
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-left: 0;
|
||||||
border-radius: 3px 0 0 3px;
|
border-radius: 3px 0 0 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar .nav li:last-child a {
|
.navbar.fullwidth .nav li:last-child a {
|
||||||
border-right: 0;
|
border-right: 0;
|
||||||
border-radius: 0 3px 3px 0;
|
border-radius: 0 3px 3px 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user