-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbutton-help.css
69 lines (60 loc) · 1.21 KB
/
button-help.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
.help-button-wrapper {
position: fixed;
bottom: 1em;
right: 1em;
text-align: center;
}
.help-button {
height: 6em;
width: 6em;
font-size: 14px;
border-radius: 50%;
border: 0 none;
background: #72ab59;
color: #fff;
cursor: pointer;
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
transform: scale(1);
transition: all 200ms ease;
}
.help-button:hover,
.help-button:focus,
.help-button:active {
box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2);
outline: 0;
}
.help-button span {
display: block;
font-size: 2em;
transform: scale(1);
transition: transform 100ms ease;
}
.help-button:hover span,
.expanded .help-button span,
.expanded .help-button span {
transform: scale(1.25);
}
.expanded .help-button {
transform: scale(0.5);
color: rgba(255, 255, 255, 0.5);
background: #ffaa00;
}
.help-list {
list-style: none;
padding: 0;
margin: 0;
transition: all 200ms ease;
transform: translate(0, 90px) scale(0.5);
transform-origin: bottom center;
opacity: 0;
}
.expanded .help-list {
transform: translate(0px, 20px) scale(1);
opacity: 1;
}
.help-list li {
margin-bottom: 1em;
}
.help-list a {
color: #212121;
}