1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

Fixed bootstrap @grid-float-breakpoint

http://getbootstrap.com/components/
Look in that page for: "Changing the collapsed mobile navbar breakpoint"

Fixed collapse fixed width from 768px to the width of our current
navbar: 1010px
This commit is contained in:
markheloking 2014-12-08 15:14:52 +01:00
parent f4450bec46
commit f2bcc7217c

View File

@ -1108,7 +1108,7 @@ p {
font-weight: 300; font-weight: 300;
line-height: 1.4; line-height: 1.4;
} }
@media (min-width: 768px) { @media (min-width: 1010px) {
.lead { .lead {
font-size: 21px; font-size: 21px;
} }
@ -1257,7 +1257,7 @@ dt {
dd { dd {
margin-left: 0; margin-left: 0;
} }
@media (min-width: 768px) { @media (min-width: 1010px) {
.dl-horizontal dt { .dl-horizontal dt {
float: left; float: left;
width: 160px; width: 160px;
@ -1396,12 +1396,12 @@ pre code {
margin-right: auto; margin-right: auto;
margin-left: auto; margin-left: auto;
} }
@media (min-width: 768px) { @media (min-width: 1010px) {
.container { .container {
width: 750px; width: 750px;
} }
} }
@media (min-width: 992px) { @media (min-width: 1011px) {
.container { .container {
width: 970px; width: 970px;
} }
@ -1583,7 +1583,7 @@ pre code {
.col-xs-offset-0 { .col-xs-offset-0 {
margin-left: 0; margin-left: 0;
} }
@media (min-width: 768px) { @media (min-width: 1010px) {
.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 { .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
float: left; float: left;
} }
@ -1741,7 +1741,7 @@ pre code {
margin-left: 0; margin-left: 0;
} }
} }
@media (min-width: 992px) { @media (min-width: 1011px) {
.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 { .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
float: left; float: left;
} }
@ -2636,7 +2636,7 @@ select[multiple].input-lg {
margin-bottom: 10px; margin-bottom: 10px;
color: #737373; color: #737373;
} }
@media (min-width: 768px) { @media (min-width: 1010px) {
.form-inline .form-group { .form-inline .form-group {
display: inline-block; display: inline-block;
margin-bottom: 0; margin-bottom: 0;
@ -2699,7 +2699,7 @@ select[multiple].input-lg {
margin-right: -15px; margin-right: -15px;
margin-left: -15px; margin-left: -15px;
} }
@media (min-width: 768px) { @media (min-width: 1010px) {
.form-horizontal .control-label { .form-horizontal .control-label {
padding-top: 7px; padding-top: 7px;
margin-bottom: 0; margin-bottom: 0;
@ -2710,12 +2710,12 @@ select[multiple].input-lg {
top: 0; top: 0;
right: 15px; right: 15px;
} }
@media (min-width: 768px) { @media (min-width: 1010px) {
.form-horizontal .form-group-lg .control-label { .form-horizontal .form-group-lg .control-label {
padding-top: 14.3px; padding-top: 14.3px;
} }
} }
@media (min-width: 768px) { @media (min-width: 1010px) {
.form-horizontal .form-group-sm .control-label { .form-horizontal .form-group-sm .control-label {
padding-top: 6px; padding-top: 6px;
} }
@ -3239,7 +3239,7 @@ tbody.collapse.in {
bottom: 100%; bottom: 100%;
margin-bottom: 1px; margin-bottom: 1px;
} }
@media (min-width: 768px) { @media (min-width: 1010px) {
.navbar-right .dropdown-menu { .navbar-right .dropdown-menu {
right: 0; right: 0;
left: auto; left: auto;
@ -3658,7 +3658,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
top: auto; top: auto;
left: auto; left: auto;
} }
@media (min-width: 768px) { @media (min-width: 1010px) {
.nav-tabs.nav-justified > li { .nav-tabs.nav-justified > li {
display: table-cell; display: table-cell;
width: 1%; width: 1%;
@ -3676,7 +3676,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
.nav-tabs.nav-justified > .active > a:focus { .nav-tabs.nav-justified > .active > a:focus {
border: 1px solid #ddd; border: 1px solid #ddd;
} }
@media (min-width: 768px) { @media (min-width: 1010px) {
.nav-tabs.nav-justified > li > a { .nav-tabs.nav-justified > li > a {
border-bottom: 1px solid #ddd; border-bottom: 1px solid #ddd;
border-radius: 4px 4px 0 0; border-radius: 4px 4px 0 0;
@ -3723,7 +3723,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
top: auto; top: auto;
left: auto; left: auto;
} }
@media (min-width: 768px) { @media (min-width: 1010px) {
.nav-justified > li { .nav-justified > li {
display: table-cell; display: table-cell;
width: 1%; width: 1%;
@ -3744,7 +3744,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
.nav-tabs-justified > .active > a:focus { .nav-tabs-justified > .active > a:focus {
border: 1px solid #ddd; border: 1px solid #ddd;
} }
@media (min-width: 768px) { @media (min-width: 1010px) {
.nav-tabs-justified > li > a { .nav-tabs-justified > li > a {
border-bottom: 1px solid #ddd; border-bottom: 1px solid #ddd;
border-radius: 4px 4px 0 0; border-radius: 4px 4px 0 0;
@ -3772,12 +3772,12 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
margin-bottom: 20px; margin-bottom: 20px;
border: 1px solid transparent; border: 1px solid transparent;
} }
@media (min-width: 768px) { @media (min-width: 1010px) {
.navbar { .navbar {
border-radius: 4px; border-radius: 4px;
} }
} }
@media (min-width: 768px) { @media (min-width: 1010px) {
.navbar-header { .navbar-header {
float: left; float: left;
} }
@ -3794,7 +3794,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
.navbar-collapse.in { .navbar-collapse.in {
overflow-y: auto; overflow-y: auto;
} }
@media (min-width: 768px) { @media (min-width: 1010px) {
.navbar-collapse { .navbar-collapse {
width: auto; width: auto;
border-top: 0; border-top: 0;
@ -3834,7 +3834,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
margin-right: -15px; margin-right: -15px;
margin-left: -15px; margin-left: -15px;
} }
@media (min-width: 768px) { @media (min-width: 1010px) {
.container > .navbar-header, .container > .navbar-header,
.container-fluid > .navbar-header, .container-fluid > .navbar-header,
.container > .navbar-collapse, .container > .navbar-collapse,
@ -3847,7 +3847,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
z-index: 1000; z-index: 1000;
border-width: 0 0 1px; border-width: 0 0 1px;
} }
@media (min-width: 768px) { @media (min-width: 1010px) {
.navbar-static-top { .navbar-static-top {
border-radius: 0; border-radius: 0;
} }
@ -3859,7 +3859,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
left: 0; left: 0;
z-index: 1030; z-index: 1030;
} }
@media (min-width: 768px) { @media (min-width: 1010px) {
.navbar-fixed-top, .navbar-fixed-top,
.navbar-fixed-bottom { .navbar-fixed-bottom {
border-radius: 0; border-radius: 0;
@ -3885,7 +3885,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
.navbar-brand:focus { .navbar-brand:focus {
text-decoration: none; text-decoration: none;
} }
@media (min-width: 768px) { @media (min-width: 1010px) {
.navbar > .container .navbar-brand, .navbar > .container .navbar-brand,
.navbar > .container-fluid .navbar-brand { .navbar > .container-fluid .navbar-brand {
margin-left: -15px; margin-left: -15px;
@ -3915,7 +3915,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
.navbar-toggle .icon-bar + .icon-bar { .navbar-toggle .icon-bar + .icon-bar {
margin-top: 4px; margin-top: 4px;
} }
@media (min-width: 768px) { @media (min-width: 1010px) {
.navbar-toggle { .navbar-toggle {
display: none; display: none;
} }
@ -3951,7 +3951,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
background-image: none; background-image: none;
} }
} }
@media (min-width: 768px) { @media (min-width: 1010px) {
.navbar-nav { .navbar-nav {
float: left; float: left;
margin: 0; margin: 0;
@ -3967,7 +3967,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
margin-right: -15px; margin-right: -15px;
} }
} }
@media (min-width: 768px) { @media (min-width: 1010px) {
.navbar-left { .navbar-left {
float: left !important; float: left !important;
} }
@ -3986,7 +3986,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1); -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);
} }
@media (min-width: 768px) { @media (min-width: 1010px) {
.navbar-form .form-group { .navbar-form .form-group {
display: inline-block; display: inline-block;
margin-bottom: 0; margin-bottom: 0;
@ -4038,7 +4038,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
margin-bottom: 5px; margin-bottom: 5px;
} }
} }
@media (min-width: 768px) { @media (min-width: 1010px) {
.navbar-form { .navbar-form {
width: auto; width: auto;
padding-top: 0; padding-top: 0;
@ -4078,7 +4078,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
margin-top: 15px; margin-top: 15px;
margin-bottom: 15px; margin-bottom: 15px;
} }
@media (min-width: 768px) { @media (min-width: 1010px) {
.navbar-text { .navbar-text {
float: left; float: left;
margin-right: 15px; margin-right: 15px;
@ -4565,7 +4565,7 @@ a.list-group-item.active > .badge,
.jumbotron .container { .jumbotron .container {
max-width: 100%; max-width: 100%;
} }
@media screen and (min-width: 768px) { @media screen and (min-width: 1010px) {
.jumbotron { .jumbotron {
padding-top: 48px; padding-top: 48px;
padding-bottom: 48px; padding-bottom: 48px;
@ -5473,7 +5473,7 @@ button.close {
height: 50px; height: 50px;
overflow: scroll; overflow: scroll;
} }
@media (min-width: 768px) { @media (min-width: 1010px) {
.modal-dialog { .modal-dialog {
width: 600px; width: 600px;
margin: 30px auto; margin: 30px auto;
@ -5486,7 +5486,7 @@ button.close {
width: 300px; width: 300px;
} }
} }
@media (min-width: 992px) { @media (min-width: 1011px) {
.modal-lg { .modal-lg {
width: 900px; width: 900px;
} }
@ -5873,7 +5873,7 @@ button.close {
.carousel-caption .btn { .carousel-caption .btn {
text-shadow: none; text-shadow: none;
} }
@media screen and (min-width: 768px) { @media screen and (min-width: 1010px) {
.carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right, .carousel-control .glyphicon-chevron-right,
.carousel-control .icon-prev, .carousel-control .icon-prev,
@ -6040,7 +6040,7 @@ button.close {
display: inline-block !important; display: inline-block !important;
} }
} }
@media (min-width: 768px) and (max-width: 991px) { @media (min-width: 1010px) and (max-width: 1012px) {
.visible-sm { .visible-sm {
display: block !important; display: block !important;
} }
@ -6055,22 +6055,22 @@ button.close {
display: table-cell !important; display: table-cell !important;
} }
} }
@media (min-width: 768px) and (max-width: 991px) { @media (min-width: 1010px) and (max-width: 1012px) {
.visible-sm-block { .visible-sm-block {
display: block !important; display: block !important;
} }
} }
@media (min-width: 768px) and (max-width: 991px) { @media (min-width: 1010px) and (max-width: 1012px) {
.visible-sm-inline { .visible-sm-inline {
display: inline !important; display: inline !important;
} }
} }
@media (min-width: 768px) and (max-width: 991px) { @media (min-width: 1010px) and (max-width: 1012px) {
.visible-sm-inline-block { .visible-sm-inline-block {
display: inline-block !important; display: inline-block !important;
} }
} }
@media (min-width: 992px) and (max-width: 1199px) { @media (min-width: 1011px) and (max-width: 1199px) {
.visible-md { .visible-md {
display: block !important; display: block !important;
} }
@ -6085,17 +6085,17 @@ button.close {
display: table-cell !important; display: table-cell !important;
} }
} }
@media (min-width: 992px) and (max-width: 1199px) { @media (min-width: 1011px) and (max-width: 1199px) {
.visible-md-block { .visible-md-block {
display: block !important; display: block !important;
} }
} }
@media (min-width: 992px) and (max-width: 1199px) { @media (min-width: 1011px) and (max-width: 1199px) {
.visible-md-inline { .visible-md-inline {
display: inline !important; display: inline !important;
} }
} }
@media (min-width: 992px) and (max-width: 1199px) { @media (min-width: 1011px) and (max-width: 1199px) {
.visible-md-inline-block { .visible-md-inline-block {
display: inline-block !important; display: inline-block !important;
} }
@ -6135,12 +6135,12 @@ button.close {
display: none !important; display: none !important;
} }
} }
@media (min-width: 768px) and (max-width: 991px) { @media (min-width: 1010px) and (max-width: 1012px) {
.hidden-sm { .hidden-sm {
display: none !important; display: none !important;
} }
} }
@media (min-width: 992px) and (max-width: 1199px) { @media (min-width: 1011px) and (max-width: 1199px) {
.hidden-md { .hidden-md {
display: none !important; display: none !important;
} }