blob: 522ecfa6b37887f4038d8fe1f6722764da80106e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
//Modals
.modal-backdrop {
position: fixed;
z-index: 1000;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: #000;
&.fade, &.fade-large {
.transition(e('opacity .2s linear'));
.opacity(0);
}
}
.modal-backdrop, .modal-backdrop.fade.in {
.opacity(50);
}
.modal {
position: fixed;
top: 0;
left: 240px;
z-index: 1050;
overflow: auto;
width: 400px;
height: 100%;
background-color: #fff;
border-right: 1px solid @text-color;
.box-shadow(0 0 7px rgba(0,0,0,0.5));
}
.modal {
&.fade-large {
width: 700px;
.transition(e('left .4s ease-out'));
left: -1100px;
}
&.fade {
.transition(e('left .4s ease-out'));
left: -700px;
}
&.fade.in, &.fade-large.in { left: 240px; }
}
.close {
float: right;
font-size: 26px;
line-height: 30px;
font-weight: bold;
color: #000;
background-color: #fff;
text-shadow: 0 1px 0 rgba(255,255,255,1);
.opacity(20);
&:hover {
color: #000;
text-decoration: none;
cursor: pointer;
.opacity(40);
}
}
|