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

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorStarsam80 <samraskauskas@gmail.com>2016-10-28 01:13:17 +0300
committerStarsam80 <samraskauskas@gmail.com>2016-12-08 07:20:15 +0300
commitbf39bb3ac3d2aef4687b3cd4762015d5f218e2bc (patch)
tree968d25a858633f88255e3cc6c923f07a7c44d36c /scss
parentede925d79bf92d5983a4508c6ed6fda9310e1e8b (diff)
Rename `.active` to `.show`
Diffstat (limited to 'scss')
-rw-r--r--scss/_animation.scss8
-rw-r--r--scss/_dropdown.scss2
-rw-r--r--scss/_modal.scss4
-rw-r--r--scss/_tooltip.scss2
4 files changed, 8 insertions, 8 deletions
diff --git a/scss/_animation.scss b/scss/_animation.scss
index 2586bf2d16..31ecf7479c 100644
--- a/scss/_animation.scss
+++ b/scss/_animation.scss
@@ -3,26 +3,26 @@
@include transition(opacity .15s linear);
- &.active {
+ &.show {
opacity: 1;
}
}
.collapse {
display: none;
- &.active {
+ &.show {
display: block;
}
}
tr {
- &.collapse.active {
+ &.collapse.show {
display: table-row;
}
}
tbody {
- &.collapse.active {
+ &.collapse.show {
display: table-row-group;
}
}
diff --git a/scss/_dropdown.scss b/scss/_dropdown.scss
index b287e20376..1f37acef29 100644
--- a/scss/_dropdown.scss
+++ b/scss/_dropdown.scss
@@ -111,7 +111,7 @@
}
// Open state for the dropdown
-.active {
+.show {
// Show the menu
> .dropdown-menu {
display: block;
diff --git a/scss/_modal.scss b/scss/_modal.scss
index 85aef719b6..b6aea7ac03 100644
--- a/scss/_modal.scss
+++ b/scss/_modal.scss
@@ -31,7 +31,7 @@
@include transition(transform .3s ease-out);
transform: translate(0, -25%);
}
- &.active .modal-dialog { transform: translate(0, 0); }
+ &.show .modal-dialog { transform: translate(0, 0); }
}
.modal-open .modal {
overflow-x: hidden;
@@ -69,7 +69,7 @@
// Fade for backdrop
&.fade { opacity: 0; }
- &.active { opacity: $modal-backdrop-opacity; }
+ &.show { opacity: $modal-backdrop-opacity; }
}
// Modal header
diff --git a/scss/_tooltip.scss b/scss/_tooltip.scss
index abfa9bdb51..24e198d464 100644
--- a/scss/_tooltip.scss
+++ b/scss/_tooltip.scss
@@ -11,7 +11,7 @@
word-wrap: break-word;
opacity: 0;
- &.active { opacity: $tooltip-opacity; }
+ &.show { opacity: $tooltip-opacity; }
&.tooltip-top,
&.bs-tether-element-attached-bottom {