From bf39bb3ac3d2aef4687b3cd4762015d5f218e2bc Mon Sep 17 00:00:00 2001 From: Starsam80 Date: Thu, 27 Oct 2016 16:13:17 -0600 Subject: Rename `.active` to `.show` --- scss/_animation.scss | 8 ++++---- scss/_dropdown.scss | 2 +- scss/_modal.scss | 4 ++-- scss/_tooltip.scss | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'scss') diff --git a/scss/_animation.scss b/scss/_animation.scss index 2586bf2d1..31ecf7479 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 b287e2037..1f37acef2 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 85aef719b..b6aea7ac0 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 abfa9bdb5..24e198d46 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 { -- cgit v1.2.3