diff options
| author | Julian Thilo <[email protected]> | 2013-07-01 21:13:57 +0200 |
|---|---|---|
| committer | Julian Thilo <[email protected]> | 2013-07-01 21:13:57 +0200 |
| commit | fea69df80c3d304868d816a85a8b027b40a13f3d (patch) | |
| tree | 73b7c1eb9963e9aed3e3cba55a2d7d152681cfaf /docs | |
| parent | 534eac52428ca6201ee60e28de2a7a5e949f2144 (diff) | |
| download | bootstrap-fea69df80c3d304868d816a85a8b027b40a13f3d.tar.xz bootstrap-fea69df80c3d304868d816a85a8b027b40a13f3d.zip | |
Fix responsive utilities for table elements
This change prevents situations where specificity causes some rules to
be overridden by the ones intended for mobile.
* Added mixin `responsive-invisibility()`
* Swapped out `display: none !important;` for new mixin
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/assets/css/bootstrap.css | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 28f561a32..708ea42ea 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -4578,14 +4578,41 @@ td.visible-sm { display: none !important; } +tr.visible-md { + display: none !important; +} + +th.visible-md, +td.visible-md { + display: none !important; +} + .visible-lg { display: none !important; } +tr.visible-lg { + display: none !important; +} + +th.visible-lg, +td.visible-lg { + display: none !important; +} + .hidden-sm { display: none !important; } +tr.hidden-sm { + display: none !important; +} + +th.hidden-sm, +td.hidden-sm { + display: none !important; +} + .hidden-md { display: block !important; } @@ -4616,6 +4643,13 @@ td.hidden-lg { .visible-sm { display: none !important; } + tr.visible-sm { + display: none !important; + } + th.visible-sm, + td.visible-sm { + display: none !important; + } .visible-md { display: block !important; } @@ -4629,6 +4663,13 @@ td.hidden-lg { .visible-lg { display: none !important; } + tr.visible-lg { + display: none !important; + } + th.visible-lg, + td.visible-lg { + display: none !important; + } .hidden-sm { display: block !important; } @@ -4642,6 +4683,13 @@ td.hidden-lg { .hidden-md { display: none !important; } + tr.hidden-md { + display: none !important; + } + th.hidden-md, + td.hidden-md { + display: none !important; + } .hidden-lg { display: block !important; } @@ -4658,9 +4706,23 @@ td.hidden-lg { .visible-sm { display: none !important; } + tr.visible-sm { + display: none !important; + } + th.visible-sm, + td.visible-sm { + display: none !important; + } .visible-md { display: none !important; } + tr.visible-md { + display: none !important; + } + th.visible-md, + td.visible-md { + display: none !important; + } .visible-lg { display: block !important; } @@ -4694,11 +4756,25 @@ td.hidden-lg { .hidden-lg { display: none !important; } + tr.hidden-lg { + display: none !important; + } + th.hidden-lg, + td.hidden-lg { + display: none !important; + } } .visible-print { display: none !important; } +tr.visible-print { + display: none !important; +} +th.visible-print, +td.visible-print { + display: none !important; +} @media print { .visible-print { |
