Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/stylesheets/bootstrap/_transitions.scss')
-rw-r--r--assets/stylesheets/bootstrap/_transitions.scss22
1 files changed, 4 insertions, 18 deletions
diff --git a/assets/stylesheets/bootstrap/_transitions.scss b/assets/stylesheets/bootstrap/_transitions.scss
index df5744b..c8d91e2 100644
--- a/assets/stylesheets/bootstrap/_transitions.scss
+++ b/assets/stylesheets/bootstrap/_transitions.scss
@@ -1,30 +1,16 @@
// stylelint-disable selector-no-qualifying-type
.fade {
- opacity: 0;
@include transition($transition-fade);
- &.show {
- opacity: 1;
+ &:not(.show) {
+ opacity: 0;
}
}
.collapse {
- display: none;
- &.show {
- display: block;
- }
-}
-
-tr {
- &.collapse.show {
- display: table-row;
- }
-}
-
-tbody {
- &.collapse.show {
- display: table-row-group;
+ &:not(.show) {
+ display: none;
}
}