.container -> .tb-container (fixes #165)

This commit is contained in:
vitaut 2015-05-23 12:28:41 -07:00
parent 079c6442e1
commit 921f1bae46
4 changed files with 7 additions and 7 deletions

View File

@ -31,7 +31,7 @@
{% block header %} {% block header %}
<nav class="navbar navbar-inverse"> <nav class="navbar navbar-inverse">
<div class="container"> <div class="tb-container">
<div class="row"> <div class="row">
<div class="navbar-content"> <div class="navbar-content">
{# Brand and toggle get grouped for better mobile display #} {# Brand and toggle get grouped for better mobile display #}

View File

@ -7,7 +7,7 @@
// //
// Set the container width, and override it for fixed navbars in media queries. // Set the container width, and override it for fixed navbars in media queries.
.container { .tb-container {
.container-fixed(); .container-fixed();
@media (min-width: @screen-sm-min) { @media (min-width: @screen-sm-min) {

View File

@ -24,19 +24,19 @@
border-top-color: darken(@jumbotron-bg, 10%); border-top-color: darken(@jumbotron-bg, 10%);
} }
.container &, .tb-container &,
.container-fluid & { .container-fluid & {
border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container
} }
.container { .tb-container {
max-width: 100%; max-width: 100%;
} }
@media screen and (min-width: @screen-sm-min) { @media screen and (min-width: @screen-sm-min) {
padding: (@jumbotron-padding * 1.6) 0; padding: (@jumbotron-padding * 1.6) 0;
.container &, .tb-container &,
.container-fluid & { .container-fluid & {
padding-left: (@jumbotron-padding * 2); padding-left: (@jumbotron-padding * 2);
padding-right: (@jumbotron-padding * 2); padding-right: (@jumbotron-padding * 2);

View File

@ -103,7 +103,7 @@
// //
// When a container is present, change the behavior of the header and collapse. // When a container is present, change the behavior of the header and collapse.
.container, .tb-container,
.container-fluid { .container-fluid {
> .navbar-header, > .navbar-header,
> .navbar-collapse { > .navbar-collapse {
@ -177,7 +177,7 @@
} }
@media (min-width: @grid-float-breakpoint) { @media (min-width: @grid-float-breakpoint) {
.navbar > .container &, .navbar > .tb-container &,
.navbar > .container-fluid & { .navbar > .container-fluid & {
margin-left: -@navbar-padding-horizontal; margin-left: -@navbar-padding-horizontal;
} }