diff options
| author | Mark Otto <[email protected]> | 2013-04-20 12:33:09 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-04-20 12:33:09 -0700 |
| commit | 510c9a6ad87a1148fe59a7b8531d9b9e11b0ae17 (patch) | |
| tree | 21a47e231dd710043de760df3f6865056abdc89b /docs/assets/css/bootstrap.css | |
| parent | 04d782efabb8648bdd67c2d0d164518c01d2603e (diff) | |
| download | bootstrap-510c9a6ad87a1148fe59a7b8531d9b9e11b0ae17.tar.xz bootstrap-510c9a6ad87a1148fe59a7b8531d9b9e11b0ae17.zip | |
First pass at updated responsive utilities to be mobile-first. Pulled from #7490 by @apotropaic
Diffstat (limited to 'docs/assets/css/bootstrap.css')
| -rw-r--r-- | docs/assets/css/bootstrap.css | 42 |
1 files changed, 31 insertions, 11 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 1e86761f4..d24999c4a 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -5310,47 +5310,67 @@ a.list-group-item.active > .badge, } .visible-phone { - display: none !important; + display: inherit !important; } .visible-tablet { display: none !important; } -.hidden-desktop { +.visible-desktop { display: none !important; } -.visible-desktop { +.hidden-phone { + display: none !important; +} + +.hidden-tablet { + display: inherit !important; +} + +.hidden-desktop { display: inherit !important; } @media (min-width: 768px) and (max-width: 979px) { - .hidden-desktop { + .visible-phone { + display: none !important; + } + .visible-tablet { display: inherit !important; } .visible-desktop { - display: none !important ; + display: none !important; } - .visible-tablet { + .hidden-phone { display: inherit !important; } .hidden-tablet { display: none !important; } -} - -@media (max-width: 767px) { .hidden-desktop { display: inherit !important; } - .visible-desktop { +} + +@media (min-width: 980px) { + .visible-phone { display: none !important; } - .visible-phone { + .visible-tablet { + display: none !important; + } + .visible-desktop { display: inherit !important; } .hidden-phone { + display: inherit !important; + } + .hidden-tablet { + display: inherit !important; + } + .hidden-desktop { display: none !important; } } |
