blob: 3106e0488a642491441e72ab47a54d371cb77fb1 (
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
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
|
$closebutton-size: 40px;
#imagelightbox-close {
border-radius: 50%;
background-color: #666;
height: $closebutton-size;
position: fixed;
right: $closebutton-size;
text-align: left;
text-indent: -9999px;
top: $closebutton-size;
transition: color .3s ease;
width: $closebutton-size;
z-index: 10002;
cursor: pointer;
&:hover {
background-color: #111;
}
&:before,
&:after {
background-color: #fff;
bottom: 20%;
content: '';
left: 50%;
margin-left: -1px;
position: absolute;
top: 20%;
width: 2px;
}
&:before {
rotate: 45deg;
}
&:after {
rotate: -45deg;
}
animation: fade-in .25s linear;
}
@keyframes fade-in {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@media only screen and (max-width: 660px) {
#imagelightbox-close {
right: 20px;
top: 20px;
}
}
|