mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-20 12:21:35 +02:00
add [hidden] utility for hiding any html element (see #15274 for more context)
This commit is contained in:
12
dist/css/bootstrap.css
vendored
12
dist/css/bootstrap.css
vendored
@@ -4625,7 +4625,7 @@ a.list-group-item-state.active, a.list-group-item-state.active:hover, a.list-gro
|
|||||||
bottom: -11px;
|
bottom: -11px;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
margin-left: -11px;
|
margin-left: -11px;
|
||||||
border-top-color: fadein(rgba(0, 0, 0, .2), 5%);
|
border-top-color: rgba(0, 0, 0, .25);
|
||||||
border-bottom-width: 0;
|
border-bottom-width: 0;
|
||||||
}
|
}
|
||||||
.popover.top > .arrow:after {
|
.popover.top > .arrow:after {
|
||||||
@@ -4639,7 +4639,7 @@ a.list-group-item-state.active, a.list-group-item-state.active:hover, a.list-gro
|
|||||||
top: 50%;
|
top: 50%;
|
||||||
left: -11px;
|
left: -11px;
|
||||||
margin-top: -11px;
|
margin-top: -11px;
|
||||||
border-right-color: fadein(rgba(0, 0, 0, .2), 5%);
|
border-right-color: rgba(0, 0, 0, .25);
|
||||||
border-left-width: 0;
|
border-left-width: 0;
|
||||||
}
|
}
|
||||||
.popover.right > .arrow:after {
|
.popover.right > .arrow:after {
|
||||||
@@ -4654,7 +4654,7 @@ a.list-group-item-state.active, a.list-group-item-state.active:hover, a.list-gro
|
|||||||
left: 50%;
|
left: 50%;
|
||||||
margin-left: -11px;
|
margin-left: -11px;
|
||||||
border-top-width: 0;
|
border-top-width: 0;
|
||||||
border-bottom-color: fadein(rgba(0, 0, 0, .2), 5%);
|
border-bottom-color: rgba(0, 0, 0, .25);
|
||||||
}
|
}
|
||||||
.popover.bottom > .arrow:after {
|
.popover.bottom > .arrow:after {
|
||||||
top: 1px;
|
top: 1px;
|
||||||
@@ -4668,7 +4668,7 @@ a.list-group-item-state.active, a.list-group-item-state.active:hover, a.list-gro
|
|||||||
right: -11px;
|
right: -11px;
|
||||||
margin-top: -11px;
|
margin-top: -11px;
|
||||||
border-right-width: 0;
|
border-right-width: 0;
|
||||||
border-left-color: fadein(rgba(0, 0, 0, .2), 5%);
|
border-left-color: rgba(0, 0, 0, .25);
|
||||||
}
|
}
|
||||||
.popover.left > .arrow:after {
|
.popover.left > .arrow:after {
|
||||||
right: 1px;
|
right: 1px;
|
||||||
@@ -4936,6 +4936,10 @@ a.list-group-item-state.active, a.list-group-item-state.active:hover, a.list-gro
|
|||||||
display: block !important;
|
display: block !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[hidden] {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
.invisible {
|
.invisible {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
2
dist/css/bootstrap.css.map
vendored
2
dist/css/bootstrap.css.map
vendored
File diff suppressed because one or more lines are too long
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
2
docs/assets/css/docs.min.css
vendored
2
docs/assets/css/docs.min.css
vendored
File diff suppressed because one or more lines are too long
12
docs/dist/css/bootstrap.css
vendored
12
docs/dist/css/bootstrap.css
vendored
@@ -4625,7 +4625,7 @@ a.list-group-item-state.active, a.list-group-item-state.active:hover, a.list-gro
|
|||||||
bottom: -11px;
|
bottom: -11px;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
margin-left: -11px;
|
margin-left: -11px;
|
||||||
border-top-color: fadein(rgba(0, 0, 0, .2), 5%);
|
border-top-color: rgba(0, 0, 0, .25);
|
||||||
border-bottom-width: 0;
|
border-bottom-width: 0;
|
||||||
}
|
}
|
||||||
.popover.top > .arrow:after {
|
.popover.top > .arrow:after {
|
||||||
@@ -4639,7 +4639,7 @@ a.list-group-item-state.active, a.list-group-item-state.active:hover, a.list-gro
|
|||||||
top: 50%;
|
top: 50%;
|
||||||
left: -11px;
|
left: -11px;
|
||||||
margin-top: -11px;
|
margin-top: -11px;
|
||||||
border-right-color: fadein(rgba(0, 0, 0, .2), 5%);
|
border-right-color: rgba(0, 0, 0, .25);
|
||||||
border-left-width: 0;
|
border-left-width: 0;
|
||||||
}
|
}
|
||||||
.popover.right > .arrow:after {
|
.popover.right > .arrow:after {
|
||||||
@@ -4654,7 +4654,7 @@ a.list-group-item-state.active, a.list-group-item-state.active:hover, a.list-gro
|
|||||||
left: 50%;
|
left: 50%;
|
||||||
margin-left: -11px;
|
margin-left: -11px;
|
||||||
border-top-width: 0;
|
border-top-width: 0;
|
||||||
border-bottom-color: fadein(rgba(0, 0, 0, .2), 5%);
|
border-bottom-color: rgba(0, 0, 0, .25);
|
||||||
}
|
}
|
||||||
.popover.bottom > .arrow:after {
|
.popover.bottom > .arrow:after {
|
||||||
top: 1px;
|
top: 1px;
|
||||||
@@ -4668,7 +4668,7 @@ a.list-group-item-state.active, a.list-group-item-state.active:hover, a.list-gro
|
|||||||
right: -11px;
|
right: -11px;
|
||||||
margin-top: -11px;
|
margin-top: -11px;
|
||||||
border-right-width: 0;
|
border-right-width: 0;
|
||||||
border-left-color: fadein(rgba(0, 0, 0, .2), 5%);
|
border-left-color: rgba(0, 0, 0, .25);
|
||||||
}
|
}
|
||||||
.popover.left > .arrow:after {
|
.popover.left > .arrow:after {
|
||||||
right: 1px;
|
right: 1px;
|
||||||
@@ -4936,6 +4936,10 @@ a.list-group-item-state.active, a.list-group-item-state.active:hover, a.list-gro
|
|||||||
display: block !important;
|
display: block !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[hidden] {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
.invisible {
|
.invisible {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
2
docs/dist/css/bootstrap.css.map
vendored
2
docs/dist/css/bootstrap.css.map
vendored
File diff suppressed because one or more lines are too long
2
docs/dist/css/bootstrap.min.css
vendored
2
docs/dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -58,7 +58,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="album text-muted">
|
<div class="album text-muted">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@@ -103,7 +103,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</div>
|
||||||
|
|
||||||
<footer class="text-muted">
|
<footer class="text-muted">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
@@ -51,9 +51,16 @@
|
|||||||
.show {
|
.show {
|
||||||
display: block !important;
|
display: block !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Always hide an element with the `hidden` HTML attribute (from PureCSS).
|
||||||
|
[hidden] {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
.invisible {
|
.invisible {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-hide {
|
.text-hide {
|
||||||
@include text-hide();
|
@include text-hide();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user