diff options
Diffstat (limited to 'portal-FE-common/src/styles/bootstrap/_transitions.scss')
-rw-r--r-- | portal-FE-common/src/styles/bootstrap/_transitions.scss | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/portal-FE-common/src/styles/bootstrap/_transitions.scss b/portal-FE-common/src/styles/bootstrap/_transitions.scss new file mode 100644 index 00000000..df5744b2 --- /dev/null +++ b/portal-FE-common/src/styles/bootstrap/_transitions.scss @@ -0,0 +1,36 @@ +// stylelint-disable selector-no-qualifying-type + +.fade { + opacity: 0; + @include transition($transition-fade); + + &.show { + opacity: 1; + } +} + +.collapse { + display: none; + &.show { + display: block; + } +} + +tr { + &.collapse.show { + display: table-row; + } +} + +tbody { + &.collapse.show { + display: table-row-group; + } +} + +.collapsing { + position: relative; + height: 0; + overflow: hidden; + @include transition($transition-collapse); +} |