-
-
Save zypA13510/1cf800402eca8b1824eab6befbdeeb0d to your computer and use it in GitHub Desktop.
Adds in the missing 480px-768px breakpoint range to Bootstrap 3 for SASS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .col-xs-1, .col-ms-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-ms-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-ms-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-ms-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-ms-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-ms-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-ms-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-ms-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-ms-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-ms-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-ms-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-ms-12, .col-sm-12, .col-md-12, .col-lg-12 { | |
| position: relative; | |
| min-height: 1px; | |
| padding-right: 15px; | |
| padding-left: 15px; | |
| } | |
| @media (min-width: 480px) and (max-width: 767px) { | |
| .container { | |
| max-width: 748px; | |
| } | |
| .hidden-xs { | |
| display: block !important; | |
| } | |
| } | |
| .col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 { | |
| float: left; | |
| } | |
| .col-xs-1 { | |
| width: 8.3333333333%; | |
| } | |
| .col-xs-2 { | |
| width: 16.6666666667%; | |
| } | |
| .col-xs-3 { | |
| width: 25%; | |
| } | |
| .col-xs-4 { | |
| width: 33.3333333333%; | |
| } | |
| .col-xs-5 { | |
| width: 41.6666666667%; | |
| } | |
| .col-xs-6 { | |
| width: 50%; | |
| } | |
| .col-xs-7 { | |
| width: 58.3333333333%; | |
| } | |
| .col-xs-8 { | |
| width: 66.6666666667%; | |
| } | |
| .col-xs-9 { | |
| width: 75%; | |
| } | |
| .col-xs-10 { | |
| width: 83.3333333333%; | |
| } | |
| .col-xs-11 { | |
| width: 91.6666666667%; | |
| } | |
| .col-xs-12 { | |
| width: 100%; | |
| } | |
| .col-xs-pull-0 { | |
| right: auto; | |
| } | |
| .col-xs-pull-1 { | |
| right: 8.3333333333%; | |
| } | |
| .col-xs-pull-2 { | |
| right: 16.6666666667%; | |
| } | |
| .col-xs-pull-3 { | |
| right: 25%; | |
| } | |
| .col-xs-pull-4 { | |
| right: 33.3333333333%; | |
| } | |
| .col-xs-pull-5 { | |
| right: 41.6666666667%; | |
| } | |
| .col-xs-pull-6 { | |
| right: 50%; | |
| } | |
| .col-xs-pull-7 { | |
| right: 58.3333333333%; | |
| } | |
| .col-xs-pull-8 { | |
| right: 66.6666666667%; | |
| } | |
| .col-xs-pull-9 { | |
| right: 75%; | |
| } | |
| .col-xs-pull-10 { | |
| right: 83.3333333333%; | |
| } | |
| .col-xs-pull-11 { | |
| right: 91.6666666667%; | |
| } | |
| .col-xs-pull-12 { | |
| right: 100%; | |
| } | |
| .col-xs-push-0 { | |
| left: auto; | |
| } | |
| .col-xs-push-1 { | |
| left: 8.3333333333%; | |
| } | |
| .col-xs-push-2 { | |
| left: 16.6666666667%; | |
| } | |
| .col-xs-push-3 { | |
| left: 25%; | |
| } | |
| .col-xs-push-4 { | |
| left: 33.3333333333%; | |
| } | |
| .col-xs-push-5 { | |
| left: 41.6666666667%; | |
| } | |
| .col-xs-push-6 { | |
| left: 50%; | |
| } | |
| .col-xs-push-7 { | |
| left: 58.3333333333%; | |
| } | |
| .col-xs-push-8 { | |
| left: 66.6666666667%; | |
| } | |
| .col-xs-push-9 { | |
| left: 75%; | |
| } | |
| .col-xs-push-10 { | |
| left: 83.3333333333%; | |
| } | |
| .col-xs-push-11 { | |
| left: 91.6666666667%; | |
| } | |
| .col-xs-push-12 { | |
| left: 100%; | |
| } | |
| .col-xs-offset-0 { | |
| margin-left: 0%; | |
| } | |
| .col-xs-offset-1 { | |
| margin-left: 8.3333333333%; | |
| } | |
| .col-xs-offset-2 { | |
| margin-left: 16.6666666667%; | |
| } | |
| .col-xs-offset-3 { | |
| margin-left: 25%; | |
| } | |
| .col-xs-offset-4 { | |
| margin-left: 33.3333333333%; | |
| } | |
| .col-xs-offset-5 { | |
| margin-left: 41.6666666667%; | |
| } | |
| .col-xs-offset-6 { | |
| margin-left: 50%; | |
| } | |
| .col-xs-offset-7 { | |
| margin-left: 58.3333333333%; | |
| } | |
| .col-xs-offset-8 { | |
| margin-left: 66.6666666667%; | |
| } | |
| .col-xs-offset-9 { | |
| margin-left: 75%; | |
| } | |
| .col-xs-offset-10 { | |
| margin-left: 83.3333333333%; | |
| } | |
| .col-xs-offset-11 { | |
| margin-left: 91.6666666667%; | |
| } | |
| .col-xs-offset-12 { | |
| margin-left: 100%; | |
| } | |
| @media (min-width: 480px) { | |
| .col-ms-1, .col-ms-2, .col-ms-3, .col-ms-4, .col-ms-5, .col-ms-6, .col-ms-7, .col-ms-8, .col-ms-9, .col-ms-10, .col-ms-11, .col-ms-12 { | |
| float: left; | |
| } | |
| .col-ms-1 { | |
| width: 8.3333333333%; | |
| } | |
| .col-ms-2 { | |
| width: 16.6666666667%; | |
| } | |
| .col-ms-3 { | |
| width: 25%; | |
| } | |
| .col-ms-4 { | |
| width: 33.3333333333%; | |
| } | |
| .col-ms-5 { | |
| width: 41.6666666667%; | |
| } | |
| .col-ms-6 { | |
| width: 50%; | |
| } | |
| .col-ms-7 { | |
| width: 58.3333333333%; | |
| } | |
| .col-ms-8 { | |
| width: 66.6666666667%; | |
| } | |
| .col-ms-9 { | |
| width: 75%; | |
| } | |
| .col-ms-10 { | |
| width: 83.3333333333%; | |
| } | |
| .col-ms-11 { | |
| width: 91.6666666667%; | |
| } | |
| .col-ms-12 { | |
| width: 100%; | |
| } | |
| .col-ms-pull-0 { | |
| right: auto; | |
| } | |
| .col-ms-pull-1 { | |
| right: 8.3333333333%; | |
| } | |
| .col-ms-pull-2 { | |
| right: 16.6666666667%; | |
| } | |
| .col-ms-pull-3 { | |
| right: 25%; | |
| } | |
| .col-ms-pull-4 { | |
| right: 33.3333333333%; | |
| } | |
| .col-ms-pull-5 { | |
| right: 41.6666666667%; | |
| } | |
| .col-ms-pull-6 { | |
| right: 50%; | |
| } | |
| .col-ms-pull-7 { | |
| right: 58.3333333333%; | |
| } | |
| .col-ms-pull-8 { | |
| right: 66.6666666667%; | |
| } | |
| .col-ms-pull-9 { | |
| right: 75%; | |
| } | |
| .col-ms-pull-10 { | |
| right: 83.3333333333%; | |
| } | |
| .col-ms-pull-11 { | |
| right: 91.6666666667%; | |
| } | |
| .col-ms-pull-12 { | |
| right: 100%; | |
| } | |
| .col-ms-push-0 { | |
| left: auto; | |
| } | |
| .col-ms-push-1 { | |
| left: 8.3333333333%; | |
| } | |
| .col-ms-push-2 { | |
| left: 16.6666666667%; | |
| } | |
| .col-ms-push-3 { | |
| left: 25%; | |
| } | |
| .col-ms-push-4 { | |
| left: 33.3333333333%; | |
| } | |
| .col-ms-push-5 { | |
| left: 41.6666666667%; | |
| } | |
| .col-ms-push-6 { | |
| left: 50%; | |
| } | |
| .col-ms-push-7 { | |
| left: 58.3333333333%; | |
| } | |
| .col-ms-push-8 { | |
| left: 66.6666666667%; | |
| } | |
| .col-ms-push-9 { | |
| left: 75%; | |
| } | |
| .col-ms-push-10 { | |
| left: 83.3333333333%; | |
| } | |
| .col-ms-push-11 { | |
| left: 91.6666666667%; | |
| } | |
| .col-ms-push-12 { | |
| left: 100%; | |
| } | |
| .col-ms-offset-0 { | |
| margin-left: 0%; | |
| } | |
| .col-ms-offset-1 { | |
| margin-left: 8.3333333333%; | |
| } | |
| .col-ms-offset-2 { | |
| margin-left: 16.6666666667%; | |
| } | |
| .col-ms-offset-3 { | |
| margin-left: 25%; | |
| } | |
| .col-ms-offset-4 { | |
| margin-left: 33.3333333333%; | |
| } | |
| .col-ms-offset-5 { | |
| margin-left: 41.6666666667%; | |
| } | |
| .col-ms-offset-6 { | |
| margin-left: 50%; | |
| } | |
| .col-ms-offset-7 { | |
| margin-left: 58.3333333333%; | |
| } | |
| .col-ms-offset-8 { | |
| margin-left: 66.6666666667%; | |
| } | |
| .col-ms-offset-9 { | |
| margin-left: 75%; | |
| } | |
| .col-ms-offset-10 { | |
| margin-left: 83.3333333333%; | |
| } | |
| .col-ms-offset-11 { | |
| margin-left: 91.6666666667%; | |
| } | |
| .col-ms-offset-12 { | |
| margin-left: 100%; | |
| } | |
| } | |
| @media (min-width: 768px) { | |
| .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; | |
| } | |
| .col-sm-1 { | |
| width: 8.3333333333%; | |
| } | |
| .col-sm-2 { | |
| width: 16.6666666667%; | |
| } | |
| .col-sm-3 { | |
| width: 25%; | |
| } | |
| .col-sm-4 { | |
| width: 33.3333333333%; | |
| } | |
| .col-sm-5 { | |
| width: 41.6666666667%; | |
| } | |
| .col-sm-6 { | |
| width: 50%; | |
| } | |
| .col-sm-7 { | |
| width: 58.3333333333%; | |
| } | |
| .col-sm-8 { | |
| width: 66.6666666667%; | |
| } | |
| .col-sm-9 { | |
| width: 75%; | |
| } | |
| .col-sm-10 { | |
| width: 83.3333333333%; | |
| } | |
| .col-sm-11 { | |
| width: 91.6666666667%; | |
| } | |
| .col-sm-12 { | |
| width: 100%; | |
| } | |
| .col-sm-pull-0 { | |
| right: auto; | |
| } | |
| .col-sm-pull-1 { | |
| right: 8.3333333333%; | |
| } | |
| .col-sm-pull-2 { | |
| right: 16.6666666667%; | |
| } | |
| .col-sm-pull-3 { | |
| right: 25%; | |
| } | |
| .col-sm-pull-4 { | |
| right: 33.3333333333%; | |
| } | |
| .col-sm-pull-5 { | |
| right: 41.6666666667%; | |
| } | |
| .col-sm-pull-6 { | |
| right: 50%; | |
| } | |
| .col-sm-pull-7 { | |
| right: 58.3333333333%; | |
| } | |
| .col-sm-pull-8 { | |
| right: 66.6666666667%; | |
| } | |
| .col-sm-pull-9 { | |
| right: 75%; | |
| } | |
| .col-sm-pull-10 { | |
| right: 83.3333333333%; | |
| } | |
| .col-sm-pull-11 { | |
| right: 91.6666666667%; | |
| } | |
| .col-sm-pull-12 { | |
| right: 100%; | |
| } | |
| .col-sm-push-0 { | |
| left: auto; | |
| } | |
| .col-sm-push-1 { | |
| left: 8.3333333333%; | |
| } | |
| .col-sm-push-2 { | |
| left: 16.6666666667%; | |
| } | |
| .col-sm-push-3 { | |
| left: 25%; | |
| } | |
| .col-sm-push-4 { | |
| left: 33.3333333333%; | |
| } | |
| .col-sm-push-5 { | |
| left: 41.6666666667%; | |
| } | |
| .col-sm-push-6 { | |
| left: 50%; | |
| } | |
| .col-sm-push-7 { | |
| left: 58.3333333333%; | |
| } | |
| .col-sm-push-8 { | |
| left: 66.6666666667%; | |
| } | |
| .col-sm-push-9 { | |
| left: 75%; | |
| } | |
| .col-sm-push-10 { | |
| left: 83.3333333333%; | |
| } | |
| .col-sm-push-11 { | |
| left: 91.6666666667%; | |
| } | |
| .col-sm-push-12 { | |
| left: 100%; | |
| } | |
| .col-sm-offset-0 { | |
| margin-left: 0%; | |
| } | |
| .col-sm-offset-1 { | |
| margin-left: 8.3333333333%; | |
| } | |
| .col-sm-offset-2 { | |
| margin-left: 16.6666666667%; | |
| } | |
| .col-sm-offset-3 { | |
| margin-left: 25%; | |
| } | |
| .col-sm-offset-4 { | |
| margin-left: 33.3333333333%; | |
| } | |
| .col-sm-offset-5 { | |
| margin-left: 41.6666666667%; | |
| } | |
| .col-sm-offset-6 { | |
| margin-left: 50%; | |
| } | |
| .col-sm-offset-7 { | |
| margin-left: 58.3333333333%; | |
| } | |
| .col-sm-offset-8 { | |
| margin-left: 66.6666666667%; | |
| } | |
| .col-sm-offset-9 { | |
| margin-left: 75%; | |
| } | |
| .col-sm-offset-10 { | |
| margin-left: 83.3333333333%; | |
| } | |
| .col-sm-offset-11 { | |
| margin-left: 91.6666666667%; | |
| } | |
| .col-sm-offset-12 { | |
| margin-left: 100%; | |
| } | |
| } | |
| @media (min-width: 992px) { | |
| .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; | |
| } | |
| .col-md-1 { | |
| width: 8.3333333333%; | |
| } | |
| .col-md-2 { | |
| width: 16.6666666667%; | |
| } | |
| .col-md-3 { | |
| width: 25%; | |
| } | |
| .col-md-4 { | |
| width: 33.3333333333%; | |
| } | |
| .col-md-5 { | |
| width: 41.6666666667%; | |
| } | |
| .col-md-6 { | |
| width: 50%; | |
| } | |
| .col-md-7 { | |
| width: 58.3333333333%; | |
| } | |
| .col-md-8 { | |
| width: 66.6666666667%; | |
| } | |
| .col-md-9 { | |
| width: 75%; | |
| } | |
| .col-md-10 { | |
| width: 83.3333333333%; | |
| } | |
| .col-md-11 { | |
| width: 91.6666666667%; | |
| } | |
| .col-md-12 { | |
| width: 100%; | |
| } | |
| .col-md-pull-0 { | |
| right: auto; | |
| } | |
| .col-md-pull-1 { | |
| right: 8.3333333333%; | |
| } | |
| .col-md-pull-2 { | |
| right: 16.6666666667%; | |
| } | |
| .col-md-pull-3 { | |
| right: 25%; | |
| } | |
| .col-md-pull-4 { | |
| right: 33.3333333333%; | |
| } | |
| .col-md-pull-5 { | |
| right: 41.6666666667%; | |
| } | |
| .col-md-pull-6 { | |
| right: 50%; | |
| } | |
| .col-md-pull-7 { | |
| right: 58.3333333333%; | |
| } | |
| .col-md-pull-8 { | |
| right: 66.6666666667%; | |
| } | |
| .col-md-pull-9 { | |
| right: 75%; | |
| } | |
| .col-md-pull-10 { | |
| right: 83.3333333333%; | |
| } | |
| .col-md-pull-11 { | |
| right: 91.6666666667%; | |
| } | |
| .col-md-pull-12 { | |
| right: 100%; | |
| } | |
| .col-md-push-0 { | |
| left: auto; | |
| } | |
| .col-md-push-1 { | |
| left: 8.3333333333%; | |
| } | |
| .col-md-push-2 { | |
| left: 16.6666666667%; | |
| } | |
| .col-md-push-3 { | |
| left: 25%; | |
| } | |
| .col-md-push-4 { | |
| left: 33.3333333333%; | |
| } | |
| .col-md-push-5 { | |
| left: 41.6666666667%; | |
| } | |
| .col-md-push-6 { | |
| left: 50%; | |
| } | |
| .col-md-push-7 { | |
| left: 58.3333333333%; | |
| } | |
| .col-md-push-8 { | |
| left: 66.6666666667%; | |
| } | |
| .col-md-push-9 { | |
| left: 75%; | |
| } | |
| .col-md-push-10 { | |
| left: 83.3333333333%; | |
| } | |
| .col-md-push-11 { | |
| left: 91.6666666667%; | |
| } | |
| .col-md-push-12 { | |
| left: 100%; | |
| } | |
| .col-md-offset-0 { | |
| margin-left: 0%; | |
| } | |
| .col-md-offset-1 { | |
| margin-left: 8.3333333333%; | |
| } | |
| .col-md-offset-2 { | |
| margin-left: 16.6666666667%; | |
| } | |
| .col-md-offset-3 { | |
| margin-left: 25%; | |
| } | |
| .col-md-offset-4 { | |
| margin-left: 33.3333333333%; | |
| } | |
| .col-md-offset-5 { | |
| margin-left: 41.6666666667%; | |
| } | |
| .col-md-offset-6 { | |
| margin-left: 50%; | |
| } | |
| .col-md-offset-7 { | |
| margin-left: 58.3333333333%; | |
| } | |
| .col-md-offset-8 { | |
| margin-left: 66.6666666667%; | |
| } | |
| .col-md-offset-9 { | |
| margin-left: 75%; | |
| } | |
| .col-md-offset-10 { | |
| margin-left: 83.3333333333%; | |
| } | |
| .col-md-offset-11 { | |
| margin-left: 91.6666666667%; | |
| } | |
| .col-md-offset-12 { | |
| margin-left: 100%; | |
| } | |
| } | |
| @media (min-width: 1200px) { | |
| .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 { | |
| float: left; | |
| } | |
| .col-lg-1 { | |
| width: 8.3333333333%; | |
| } | |
| .col-lg-2 { | |
| width: 16.6666666667%; | |
| } | |
| .col-lg-3 { | |
| width: 25%; | |
| } | |
| .col-lg-4 { | |
| width: 33.3333333333%; | |
| } | |
| .col-lg-5 { | |
| width: 41.6666666667%; | |
| } | |
| .col-lg-6 { | |
| width: 50%; | |
| } | |
| .col-lg-7 { | |
| width: 58.3333333333%; | |
| } | |
| .col-lg-8 { | |
| width: 66.6666666667%; | |
| } | |
| .col-lg-9 { | |
| width: 75%; | |
| } | |
| .col-lg-10 { | |
| width: 83.3333333333%; | |
| } | |
| .col-lg-11 { | |
| width: 91.6666666667%; | |
| } | |
| .col-lg-12 { | |
| width: 100%; | |
| } | |
| .col-lg-pull-0 { | |
| right: auto; | |
| } | |
| .col-lg-pull-1 { | |
| right: 8.3333333333%; | |
| } | |
| .col-lg-pull-2 { | |
| right: 16.6666666667%; | |
| } | |
| .col-lg-pull-3 { | |
| right: 25%; | |
| } | |
| .col-lg-pull-4 { | |
| right: 33.3333333333%; | |
| } | |
| .col-lg-pull-5 { | |
| right: 41.6666666667%; | |
| } | |
| .col-lg-pull-6 { | |
| right: 50%; | |
| } | |
| .col-lg-pull-7 { | |
| right: 58.3333333333%; | |
| } | |
| .col-lg-pull-8 { | |
| right: 66.6666666667%; | |
| } | |
| .col-lg-pull-9 { | |
| right: 75%; | |
| } | |
| .col-lg-pull-10 { | |
| right: 83.3333333333%; | |
| } | |
| .col-lg-pull-11 { | |
| right: 91.6666666667%; | |
| } | |
| .col-lg-pull-12 { | |
| right: 100%; | |
| } | |
| .col-lg-push-0 { | |
| left: auto; | |
| } | |
| .col-lg-push-1 { | |
| left: 8.3333333333%; | |
| } | |
| .col-lg-push-2 { | |
| left: 16.6666666667%; | |
| } | |
| .col-lg-push-3 { | |
| left: 25%; | |
| } | |
| .col-lg-push-4 { | |
| left: 33.3333333333%; | |
| } | |
| .col-lg-push-5 { | |
| left: 41.6666666667%; | |
| } | |
| .col-lg-push-6 { | |
| left: 50%; | |
| } | |
| .col-lg-push-7 { | |
| left: 58.3333333333%; | |
| } | |
| .col-lg-push-8 { | |
| left: 66.6666666667%; | |
| } | |
| .col-lg-push-9 { | |
| left: 75%; | |
| } | |
| .col-lg-push-10 { | |
| left: 83.3333333333%; | |
| } | |
| .col-lg-push-11 { | |
| left: 91.6666666667%; | |
| } | |
| .col-lg-push-12 { | |
| left: 100%; | |
| } | |
| .col-lg-offset-0 { | |
| margin-left: 0%; | |
| } | |
| .col-lg-offset-1 { | |
| margin-left: 8.3333333333%; | |
| } | |
| .col-lg-offset-2 { | |
| margin-left: 16.6666666667%; | |
| } | |
| .col-lg-offset-3 { | |
| margin-left: 25%; | |
| } | |
| .col-lg-offset-4 { | |
| margin-left: 33.3333333333%; | |
| } | |
| .col-lg-offset-5 { | |
| margin-left: 41.6666666667%; | |
| } | |
| .col-lg-offset-6 { | |
| margin-left: 50%; | |
| } | |
| .col-lg-offset-7 { | |
| margin-left: 58.3333333333%; | |
| } | |
| .col-lg-offset-8 { | |
| margin-left: 66.6666666667%; | |
| } | |
| .col-lg-offset-9 { | |
| margin-left: 75%; | |
| } | |
| .col-lg-offset-10 { | |
| margin-left: 83.3333333333%; | |
| } | |
| .col-lg-offset-11 { | |
| margin-left: 91.6666666667%; | |
| } | |
| .col-lg-offset-12 { | |
| margin-left: 100%; | |
| } | |
| } | |
| .visible-ms { | |
| display: none !important; | |
| } | |
| .visible-xs-block, | |
| .visible-xs-inline, | |
| .visible-xs-inline-block, | |
| .visible-ms-block, | |
| .visible-ms-inline, | |
| .visible-ms-inline-block { | |
| display: none !important; | |
| } | |
| @media (max-width: 479px) { | |
| .visible-xs { | |
| display: block !important; | |
| } | |
| table.visible-xs { | |
| display: table !important; | |
| } | |
| tr.visible-xs { | |
| display: table-row !important; | |
| } | |
| th.visible-xs, | |
| td.visible-xs { | |
| display: table-cell !important; | |
| } | |
| } | |
| @media (max-width: 479px) { | |
| .visible-xs-block { | |
| display: block !important; | |
| } | |
| } | |
| @media (max-width: 479px) { | |
| .visible-xs-inline { | |
| display: inline !important; | |
| } | |
| } | |
| @media (max-width: 479px) { | |
| .visible-xs-inline-block { | |
| display: inline-block !important; | |
| } | |
| } | |
| @media (min-width: 480px) and (max-width: 767px) { | |
| .visible-ms { | |
| display: block !important; | |
| } | |
| table.visible-ms { | |
| display: table !important; | |
| } | |
| tr.visible-ms { | |
| display: table-row !important; | |
| } | |
| th.visible-ms, | |
| td.visible-ms { | |
| display: table-cell !important; | |
| } | |
| } | |
| @media (min-width: 480px) and (max-width: 767px) { | |
| .visible-ms-block { | |
| display: block !important; | |
| } | |
| } | |
| @media (min-width: 480px) and (max-width: 767px) { | |
| .visible-ms-inline { | |
| display: inline !important; | |
| } | |
| } | |
| @media (min-width: 480px) and (max-width: 767px) { | |
| .visible-ms-inline-block { | |
| display: inline-block !important; | |
| } | |
| } | |
| @media (max-width: 479px) { | |
| .hidden-xs { | |
| display: none !important; | |
| } | |
| } | |
| @media (min-width: 480px) and (max-width: 767px) { | |
| .hidden-ms { | |
| display: none !important; | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Bootstrap Mid-Small - col-ms-* - the missing grid set for Bootstrap3. | |
| // | |
| // This is a hack to fill the gap between 480 and 767 pixels - a missing range | |
| // in the bootstrap responsive grid structure. Use these classes to style pages | |
| // on cellphones when they transition from portrait to landscape. | |
| // | |
| // Contains: | |
| // Columns, Offsets, Pushes, Pulls for the Mid-Small layout | |
| // Visibility classes for the Mid-Small layout | |
| // Redefined visibility classes for the Extra Small layout | |
| // | |
| // See https://github.com/twbs/bootstrap/issues/10203 for more info. | |
| // Original gist: https://gist.github.com/Jakobud/c057577daddbde4dd709 | |
| // | |
| // Instructions: this is a standalone version for bootstrap 3.4.1. | |
| // @import url(https://raw.githubusercontent.com/twbs/bootstrap-sass/v3.4.1/assets/stylesheets/bootstrap/_variables.scss); | |
| $screen-xs: 480px !default; | |
| $screen-xs-min: $screen-xs !default; | |
| $screen-sm: 768px !default; | |
| $screen-sm-min: $screen-sm !default; | |
| $screen-md: 992px !default; | |
| $screen-md-min: $screen-md !default; | |
| $screen-lg: 1200px !default; | |
| $screen-lg-min: $screen-lg !default; | |
| $screen-xs-max: ($screen-sm-min - 1) !default; | |
| $screen-sm-max: ($screen-md-min - 1) !default; | |
| $screen-md-max: ($screen-lg-min - 1) !default; | |
| $grid-columns: 12 !default; | |
| $grid-gutter-width: 30px !default; | |
| // @import url(https://raw.githubusercontent.com/twbs/bootstrap-sass/v3.4.1/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss); | |
| @mixin responsive-visibility($parent) { | |
| #{$parent} { | |
| display: block !important; | |
| } | |
| table#{$parent} { display: table !important; } | |
| tr#{$parent} { display: table-row !important; } | |
| th#{$parent}, | |
| td#{$parent} { display: table-cell !important; } | |
| } | |
| @mixin responsive-invisibility($parent) { | |
| #{$parent} { | |
| display: none !important; | |
| } | |
| } | |
| // @import url(https://raw.githubusercontent.com/twbs/bootstrap-sass/v3.4.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss); | |
| @mixin float-grid-columns($class, $i: 1, $list: ".col-#{$class}-#{$i}") { | |
| @for $i from (1 + 1) through $grid-columns { | |
| $list: "#{$list}, .col-#{$class}-#{$i}"; | |
| } | |
| #{$list} { | |
| float: left; | |
| } | |
| } | |
| @mixin calc-grid-column($index, $class, $type) { | |
| @if ($type == width) and ($index > 0) { | |
| .col-#{$class}-#{$index} { | |
| width: percentage(($index / $grid-columns)); | |
| } | |
| } | |
| @if ($type == push) and ($index > 0) { | |
| .col-#{$class}-push-#{$index} { | |
| left: percentage(($index / $grid-columns)); | |
| } | |
| } | |
| @if ($type == push) and ($index == 0) { | |
| .col-#{$class}-push-0 { | |
| left: auto; | |
| } | |
| } | |
| @if ($type == pull) and ($index > 0) { | |
| .col-#{$class}-pull-#{$index} { | |
| right: percentage(($index / $grid-columns)); | |
| } | |
| } | |
| @if ($type == pull) and ($index == 0) { | |
| .col-#{$class}-pull-0 { | |
| right: auto; | |
| } | |
| } | |
| @if ($type == offset) { | |
| .col-#{$class}-offset-#{$index} { | |
| margin-left: percentage(($index / $grid-columns)); | |
| } | |
| } | |
| } | |
| @mixin loop-grid-columns($columns, $class, $type) { | |
| @for $i from 0 through $columns { | |
| @include calc-grid-column($i, $class, $type); | |
| } | |
| } | |
| @mixin make-grid($class) { | |
| @include float-grid-columns($class); | |
| @include loop-grid-columns($grid-columns, $class, width); | |
| @include loop-grid-columns($grid-columns, $class, pull); | |
| @include loop-grid-columns($grid-columns, $class, push); | |
| @include loop-grid-columns($grid-columns, $class, offset); | |
| } | |
| // Mid-Small breakpoint | |
| $screen-ms: 480px !default; | |
| $screen-ms-min: $screen-ms !default; | |
| $screen-ms-max: ($screen-sm-min - 1) !default; | |
| // Redefined Extra Small max value | |
| $screen-xs-max: ($screen-ms-min - 1); | |
| // Common styles (see make-grid-columns() in bootstrap/mixins/_grid-framework.scss) | |
| @mixin make-grid-columns($i: 1, $list: ".col-xs-#{$i}, .col-ms-#{$i}, .col-sm-#{$i}, .col-md-#{$i}, .col-lg-#{$i}") { | |
| @for $i from (1 + 1) through $grid-columns { | |
| $list: "#{$list}, .col-xs-#{$i}, .col-ms-#{$i}, .col-sm-#{$i}, .col-md-#{$i}, .col-lg-#{$i}"; | |
| } | |
| #{$list} { | |
| position: relative; | |
| // Prevent columns from collapsing when empty | |
| min-height: 1px; | |
| // Inner gutter via padding | |
| padding-right: floor(($grid-gutter-width / 2)); | |
| padding-left: ceil(($grid-gutter-width / 2)); | |
| } | |
| } | |
| @include make-grid-columns; | |
| // Misc. class adjustments for col-ms | |
| @media (min-width: $screen-ms) and (max-width: $screen-ms-max) { | |
| .container { | |
| max-width: $screen-sm - 20px; | |
| } | |
| .hidden-xs { | |
| display: block !important; | |
| } | |
| } | |
| // col-ms grid | |
| @include make-grid(xs); | |
| @media (min-width: $screen-ms-min) { | |
| @include make-grid(ms); | |
| } | |
| @media (min-width: $screen-sm-min) { | |
| @include make-grid(sm); | |
| } | |
| @media (min-width: $screen-md-min) { | |
| @include make-grid(md); | |
| } | |
| @media (min-width: $screen-lg-min) { | |
| @include make-grid(lg); | |
| } | |
| // Visibility utilities | |
| @include responsive-invisibility('.visible-ms'); | |
| .visible-xs-block, | |
| .visible-xs-inline, | |
| .visible-xs-inline-block, | |
| .visible-ms-block, | |
| .visible-ms-inline, | |
| .visible-ms-inline-block { | |
| display: none !important; | |
| } | |
| @media (max-width: $screen-xs-max) { | |
| @include responsive-visibility('.visible-xs'); | |
| } | |
| .visible-xs-block { | |
| @media (max-width: $screen-xs-max) { | |
| display: block !important; | |
| } | |
| } | |
| .visible-xs-inline { | |
| @media (max-width: $screen-xs-max) { | |
| display: inline !important; | |
| } | |
| } | |
| .visible-xs-inline-block { | |
| @media (max-width: $screen-xs-max) { | |
| display: inline-block !important; | |
| } | |
| } | |
| @media (min-width: $screen-ms-min) and (max-width: $screen-ms-max) { | |
| @include responsive-visibility('.visible-ms'); | |
| } | |
| .visible-ms-block { | |
| @media (min-width: $screen-ms-min) and (max-width: $screen-ms-max) { | |
| display: block !important; | |
| } | |
| } | |
| .visible-ms-inline { | |
| @media (min-width: $screen-ms-min) and (max-width: $screen-ms-max) { | |
| display: inline !important; | |
| } | |
| } | |
| .visible-ms-inline-block { | |
| @media (min-width: $screen-ms-min) and (max-width: $screen-ms-max) { | |
| display: inline-block !important; | |
| } | |
| } | |
| @media (max-width: $screen-xs-max) { | |
| @include responsive-invisibility('.hidden-xs'); | |
| } | |
| @media (min-width: $screen-ms-min) and (max-width: $screen-ms-max) { | |
| @include responsive-invisibility('.hidden-ms'); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Bootstrap Mid-Small - col-ms-* - the missing grid set for Bootstrap3. | |
| // | |
| // This is a hack to fill the gap between 480 and 767 pixels - a missing range | |
| // in the bootstrap responsive grid structure. Use these classes to style pages | |
| // on cellphones when they transition from portrait to landscape. | |
| // | |
| // Contains: | |
| // Columns, Offsets, Pushes, Pulls for the Mid-Small layout | |
| // Visibility classes for the Mid-Small layout | |
| // Redefined visibility classes for the Extra Small layout | |
| // | |
| // See https://github.com/twbs/bootstrap/issues/10203 for more info. | |
| // Original gist: https://gist.github.com/Jakobud/c057577daddbde4dd709 | |
| // | |
| // Instructions: Add the following to the end of bootstrap.scss | |
| // | |
| // @import "bootstrap-ms"; | |
| // | |
| // Mid-Small breakpoint | |
| $screen-ms: 480px !default; | |
| $screen-ms-min: $screen-ms !default; | |
| $screen-ms-max: ($screen-sm-min - 1) !default; | |
| // Redefined Extra Small max value (Can't override non-default variables in SASS) | |
| $screen-xs-max-new: ($screen-ms-min - 1) !default; | |
| // Common styles (see make-grid-columns() in bootstrap/mixins/_grid-framework.scss) | |
| .col-ms-1, | |
| .col-ms-2, | |
| .col-ms-3, | |
| .col-ms-4, | |
| .col-ms-5, | |
| .col-ms-6, | |
| .col-ms-7, | |
| .col-ms-8, | |
| .col-ms-9, | |
| .col-ms-10, | |
| .col-ms-11, | |
| .col-ms-12 { | |
| position: relative; | |
| // Prevent columns from collapsing when empty | |
| min-height: 1px; | |
| // Inner gutter via padding | |
| padding-left: ($grid-gutter-width / 2); | |
| padding-right: ($grid-gutter-width / 2); | |
| } | |
| // Misc. class adjustments for col-ms | |
| @media (min-width: $screen-ms) and (max-width: $screen-ms-max) { | |
| .container { | |
| max-width: $screen-sm - 20px; | |
| } | |
| .hidden-xs { | |
| display: block !important; | |
| } | |
| } | |
| // col-ms grid | |
| @media (min-width: $screen-ms-min) { | |
| @include make-grid(ms); | |
| } | |
| // Visibility utilities | |
| @include responsive-invisibility('.visible-xs, .visible-ms'); | |
| .visible-xs-block, | |
| .visible-xs-inline, | |
| .visible-xs-inline-block, | |
| .visible-ms-block, | |
| .visible-ms-inline, | |
| .visible-ms-inline-block { | |
| display: none !important; | |
| } | |
| @media (max-width: $screen-xs-max-new) { | |
| @include responsive-visibility('.visible-xs'); | |
| } | |
| .visible-xs-block { | |
| @media (max-width: $screen-xs-max-new) { | |
| display: block !important; | |
| } | |
| } | |
| .visible-xs-inline { | |
| @media (max-width: $screen-xs-max-new) { | |
| display: inline !important; | |
| } | |
| } | |
| .visible-xs-inline-block { | |
| @media (max-width: $screen-xs-max-new) { | |
| display: inline-block !important; | |
| } | |
| } | |
| @media (min-width: $screen-ms-min) and (max-width: $screen-ms-max) { | |
| @include responsive-visibility('.visible-ms'); | |
| } | |
| .visible-ms-block { | |
| @media (min-width: $screen-ms-min) and (max-width: $screen-ms-max) { | |
| display: block !important; | |
| } | |
| } | |
| .visible-ms-inline { | |
| @media (min-width: $screen-ms-min) and (max-width: $screen-ms-max) { | |
| display: inline !important; | |
| } | |
| } | |
| .visible-ms-inline-block { | |
| @media (min-width: $screen-ms-min) and (max-width: $screen-ms-max) { | |
| display: inline-block !important; | |
| } | |
| } | |
| @media (max-width: $screen-xs-max-new) { | |
| @include responsive-invisibility('.hidden-xs'); | |
| } | |
| @media (min-width: $screen-ms-min) and (max-width: $screen-ms-max) { | |
| @include responsive-invisibility('.hidden-ms'); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment