-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_popup.scss
73 lines (63 loc) · 1.28 KB
/
_popup.scss
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
68
69
70
71
72
73
@use './variables' as *;
.main#blur.active {
filter: blur(20px);
pointer-events: none; // Cannot interact with element
user-select: none; // Text cannot be selected
position: relative;
}
#popup__projectone {
position: fixed;
top: 40%;
left: 50%;
transform: translate(-50%, -50%);
width: 200px;
padding: 50px;
box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
background: $secondary-color;
visibility: hidden;
opacity: 0;
transition: 0.5s;
color: $primary-color;
.portfolio__button {
background-color: $primary-color;
color: $secondary-color;
}
}
#popup__projectone.active {
top: 50%;
visibility: visible;
opacity: 1;
transition: 0.5s;
}
#popup__buttonone {
position: fixed;
top: 40%;
left: 50%;
transform: translate(-50%, -50%);
width: 200px;
padding: 50px;
box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
background: $secondary-color;
visibility: hidden;
opacity: 0;
transition: 0.5s;
color: $primary-color;
.portfolio__button {
background-color: $primary-color;
color: $secondary-color;
}
.portfolio__button--git {
width: 80px;
}
}
#popup__buttonone.active {
top: 50%;
visibility: visible;
opacity: 1;
transition: 0.5s;
}
@media screen and (min-width: 768px) {
#popup__projectone{
width: 600px;
}
}