Last change
on this file since 188ee53 was fa375fe, checked in by Ema <ema_spirova@…>, 3 years ago |
adding new components
|
-
Property mode
set to
100644
|
File size:
717 bytes
|
Line | |
---|
1 | // stylelint-disable selector-no-qualifying-type
|
---|
2 |
|
---|
3 | //
|
---|
4 | // Component animations
|
---|
5 | // --------------------------------------------------
|
---|
6 |
|
---|
7 | // Heads up!
|
---|
8 | //
|
---|
9 | // We don't use the `.opacity()` mixin here since it causes a bug with text
|
---|
10 | // fields in IE7-8. Source: https://github.com/twbs/bootstrap/pull/3552.
|
---|
11 |
|
---|
12 | .fade {
|
---|
13 | opacity: 0;
|
---|
14 | .transition(opacity .15s linear);
|
---|
15 |
|
---|
16 | &.in {
|
---|
17 | opacity: 1;
|
---|
18 | }
|
---|
19 | }
|
---|
20 |
|
---|
21 | .collapse {
|
---|
22 | display: none;
|
---|
23 |
|
---|
24 | &.in { display: block; }
|
---|
25 | tr&.in { display: table-row; }
|
---|
26 | tbody&.in { display: table-row-group; }
|
---|
27 | }
|
---|
28 |
|
---|
29 | .collapsing {
|
---|
30 | position: relative;
|
---|
31 | height: 0;
|
---|
32 | overflow: hidden;
|
---|
33 | .transition-property(~"height, visibility");
|
---|
34 | .transition-duration(.35s);
|
---|
35 | .transition-timing-function(ease);
|
---|
36 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.