-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
53 lines (51 loc) · 1.01 KB
/
style.css
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
#mapEditToggle:focus:hover {
outline: none;
}
#mapEditToggle {
-webkit-appearance: none;
background-color: #f7f6fb;
width: 50px;
height: 50px;
}
#mapEditToggle:checked {
background-color: #eb6ea5;
}
#mapEditToggle:not(:checked) ~ .selectChara img {
animation-name: hideMapEdit;
animation-duration: 400ms;
animation-fill-mode: forwards;
}
.selectChara input {
display: none;
}
.selectChara img {
width: 40px;
height: 40px;
padding: 10px;
border: 1px solid #aaa;
background-color: #f7f6fb;
animation-duration: 400ms;
animation-name: viewMapEdit;
animation-fill-mode: forwards;
}
.selectChara input:checked + img {
background-color: #eb6ea5;
}
@keyframes viewMapEdit{
from{
display: none;
transform: scaleY(0) translateY(-50px);
}
to{
transform: scaleY(1) translateY(0px);
}
}
@keyframes hideMapEdit{
from{
transform: scaleY(1);
}
to{
transform: scaleY(0);
display: none;
}
}