Commit 322dc10d by Alexander Makarov

fixes #687

parent 9c97e3e3
...@@ -24,7 +24,7 @@ AppAsset::register($this); ...@@ -24,7 +24,7 @@ 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 { ...@@ -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;
} }
...@@ -25,7 +25,7 @@ AppAsset::register($this); ...@@ -25,7 +25,7 @@ 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 <?php
......
...@@ -44,35 +44,35 @@ body { ...@@ -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;
} }
...@@ -23,7 +23,7 @@ app\config\AppAsset::register($this); ...@@ -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 { ...@@ -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;
} }
Markdown is supported
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