blob: 5951e45943a4274c201a52fa5b1dc0a8fde9ab7e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
//
// Modals
// --------------------------------------------------
.modal {
position: fixed;
top: 0;
opacity: 0;
z-index: 11;
width: 100%;
min-height: 100%;
overflow: hidden;
background-color: #fff;
@include transform(translate3d(0, 100%, 0));
@include transition(-webkit-transform .25s, opacity 1ms .25s);
// Active modal
&.active {
opacity: 1;
height: 100%;
@include transform(translate3d(0, 0, 0));
@include transition(-webkit-transform .25s);
}
}
|