mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-11 00:02:19 -05:00
23 lines
322 B
SCSS
23 lines
322 B
SCSS
|
//
|
||
|
// Component animations
|
||
|
// --------------------------------------------------
|
||
|
|
||
|
|
||
|
.fade {
|
||
|
opacity: 0;
|
||
|
@include transition(opacity .15s linear);
|
||
|
&.in {
|
||
|
opacity: 1;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.collapse {
|
||
|
position: relative;
|
||
|
height: 0;
|
||
|
overflow: hidden;
|
||
|
@include transition(height .35s ease);
|
||
|
&.in {
|
||
|
height: auto;
|
||
|
}
|
||
|
}
|