mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-28 20:52:21 +01:00
Merge branch '3.0.0-wip' of https://github.com/rvinay88/bootstrap into rvinay88-3.0.0-wip
This commit is contained in:
commit
2093635de1
36
docs/assets/css/bootstrap.css
vendored
36
docs/assets/css/bootstrap.css
vendored
@ -5112,68 +5112,68 @@ a.list-group-item.active > .badge,
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.visible-phone {
|
||||
.visible-sm {
|
||||
display: inherit !important;
|
||||
}
|
||||
|
||||
.visible-tablet {
|
||||
.visible-md {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.visible-desktop {
|
||||
.visible-lg {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.hidden-phone {
|
||||
.hidden-sm {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.hidden-tablet {
|
||||
.hidden-md {
|
||||
display: inherit !important;
|
||||
}
|
||||
|
||||
.hidden-desktop {
|
||||
.hidden-lg {
|
||||
display: inherit !important;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) and (max-width: 991px) {
|
||||
.visible-phone {
|
||||
.visible-sm {
|
||||
display: none !important;
|
||||
}
|
||||
.visible-tablet {
|
||||
.visible-md {
|
||||
display: inherit !important;
|
||||
}
|
||||
.visible-desktop {
|
||||
.visible-lg {
|
||||
display: none !important;
|
||||
}
|
||||
.hidden-phone {
|
||||
.hidden-sm {
|
||||
display: inherit !important;
|
||||
}
|
||||
.hidden-tablet {
|
||||
.hidden-md {
|
||||
display: none !important;
|
||||
}
|
||||
.hidden-desktop {
|
||||
.hidden-lg {
|
||||
display: inherit !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
.visible-phone {
|
||||
.visible-sm {
|
||||
display: none !important;
|
||||
}
|
||||
.visible-tablet {
|
||||
.visible-md {
|
||||
display: none !important;
|
||||
}
|
||||
.visible-desktop {
|
||||
.visible-lg {
|
||||
display: inherit !important;
|
||||
}
|
||||
.hidden-phone {
|
||||
.hidden-sm {
|
||||
display: inherit !important;
|
||||
}
|
||||
.hidden-tablet {
|
||||
.hidden-md {
|
||||
display: inherit !important;
|
||||
}
|
||||
.hidden-desktop {
|
||||
.hidden-lg {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
@ -1949,7 +1949,7 @@ For example, <code><section></code> should be wrapped as inline.
|
||||
<p class="lead">For faster mobile-friendly development, use these utility classes for showing and hiding content by device via media query. Also included are utility classes for toggling content when printed.</p>
|
||||
|
||||
<h3>Responsive classes</h3>
|
||||
<table class="table table-bordered table-striped responsive-utilities hidden-phone">
|
||||
<table class="table table-bordered table-striped responsive-utilities hidden-sm">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Class</th>
|
||||
@ -1960,37 +1960,37 @@ For example, <code><section></code> should be wrapped as inline.
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th><code>.visible-phone</code></th>
|
||||
<th><code>.visible-sm</code></th>
|
||||
<td class="is-visible">Visible</td>
|
||||
<td class="is-hidden">Hidden</td>
|
||||
<td class="is-hidden">Hidden</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><code>.visible-tablet</code></th>
|
||||
<th><code>.visible-md</code></th>
|
||||
<td class="is-hidden">Hidden</td>
|
||||
<td class="is-visible">Visible</td>
|
||||
<td class="is-hidden">Hidden</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><code>.visible-desktop</code></th>
|
||||
<th><code>.visible-lg</code></th>
|
||||
<td class="is-hidden">Hidden</td>
|
||||
<td class="is-hidden">Hidden</td>
|
||||
<td class="is-visible">Visible</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><code>.hidden-phone</code></th>
|
||||
<th><code>.hidden-sm</code></th>
|
||||
<td class="is-hidden">Hidden</td>
|
||||
<td class="is-visible">Visible</td>
|
||||
<td class="is-visible">Visible</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><code>.hidden-tablet</code></th>
|
||||
<th><code>.hidden-md</code></th>
|
||||
<td class="is-visible">Visible</td>
|
||||
<td class="is-hidden">Hidden</td>
|
||||
<td class="is-visible">Visible</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><code>.hidden-desktop</code></th>
|
||||
<th><code>.hidden-lg</code></th>
|
||||
<td class="is-visible">Visible</td>
|
||||
<td class="is-visible">Visible</td>
|
||||
<td class="is-hidden">Hidden</td>
|
||||
@ -2029,16 +2029,16 @@ For example, <code><section></code> should be wrapped as inline.
|
||||
<h4>Visible on...</h4>
|
||||
<p>Green checkmarks indicate that class is visible in your current viewport.</p>
|
||||
<ul class="responsive-utilities-test">
|
||||
<li>Phone<span class="visible-phone">✔ Phone</span></li>
|
||||
<li>Tablet<span class="visible-tablet">✔ Tablet</span></li>
|
||||
<li>Desktop<span class="visible-desktop">✔ Desktop</span></li>
|
||||
<li>Phone<span class="visible-sm">✔ Phone</span></li>
|
||||
<li>Tablet<span class="visible-md">✔ Tablet</span></li>
|
||||
<li>Desktop<span class="visible-lg">✔ Desktop</span></li>
|
||||
</ul>
|
||||
<h4>Hidden on...</h4>
|
||||
<p>Here, green checkmarks indicate that class is hidden in your current viewport.</p>
|
||||
<ul class="responsive-utilities-test hidden-on">
|
||||
<li>Phone<span class="hidden-phone">✔ Phone</span></li>
|
||||
<li>Tablet<span class="hidden-tablet">✔ Tablet</span></li>
|
||||
<li>Desktop<span class="hidden-desktop">✔ Desktop</span></li>
|
||||
<li>Phone<span class="hidden-sm">✔ Phone</span></li>
|
||||
<li>Tablet<span class="hidden-md">✔ Tablet</span></li>
|
||||
<li>Desktop<span class="hidden-lg">✔ Desktop</span></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
@ -36,35 +36,35 @@
|
||||
// Visibility utilities
|
||||
|
||||
// For Phones
|
||||
.visible-phone { display: inherit !important; }
|
||||
.visible-tablet { display: none !important; }
|
||||
.visible-desktop { display: none !important; }
|
||||
.visible-sm { display: inherit !important; }
|
||||
.visible-md { display: none !important; }
|
||||
.visible-lg { display: none !important; }
|
||||
|
||||
.hidden-phone { display: none !important; }
|
||||
.hidden-tablet { display: inherit !important; }
|
||||
.hidden-desktop { display: inherit !important; }
|
||||
.hidden-sm { display: none !important; }
|
||||
.hidden-md { display: inherit !important; }
|
||||
.hidden-lg { display: inherit !important; }
|
||||
|
||||
|
||||
// Tablets & small desktops only
|
||||
@media (min-width: @screen-tablet) and (max-width: @screen-tablet-max) {
|
||||
.visible-phone { display: none !important; }
|
||||
.visible-tablet { display: inherit !important; }
|
||||
.visible-desktop { display: none !important; }
|
||||
.visible-sm { display: none !important; }
|
||||
.visible-md { display: inherit !important; }
|
||||
.visible-lg { display: none !important; }
|
||||
|
||||
.hidden-phone { display: inherit !important; }
|
||||
.hidden-tablet { display: none !important; }
|
||||
.hidden-desktop { display: inherit !important; }
|
||||
.hidden-sm { display: inherit !important; }
|
||||
.hidden-md { display: none !important; }
|
||||
.hidden-lg { display: inherit !important; }
|
||||
}
|
||||
|
||||
// For desktops
|
||||
@media (min-width: @screen-desktop) {
|
||||
.visible-phone { display: none !important; }
|
||||
.visible-tablet { display: none !important; }
|
||||
.visible-desktop { display: inherit !important; }
|
||||
.visible-sm { display: none !important; }
|
||||
.visible-md { display: none !important; }
|
||||
.visible-lg { display: inherit !important; }
|
||||
|
||||
.hidden-phone { display: inherit !important; }
|
||||
.hidden-tablet { display: inherit !important; }
|
||||
.hidden-desktop { display: none !important; }
|
||||
.hidden-sm { display: inherit !important; }
|
||||
.hidden-md { display: inherit !important; }
|
||||
.hidden-lg { display: none !important; }
|
||||
}
|
||||
|
||||
// Print utilities
|
||||
|
Loading…
x
Reference in New Issue
Block a user