-
Notifications
You must be signed in to change notification settings - Fork 0
/
ball.css
82 lines (68 loc) · 1.18 KB
/
ball.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
70
71
72
73
74
75
76
77
78
79
80
81
82
body {
margin: 0;
font-size: 16px;
font-family: Avenir, "Helvetica Neue", arial, sans-serif;
}
* {
box-sizing: border-box;
}
.ball {
height: 40px;
width: 40px;
border-radius: 50%;
background: #ebebeb;
position: absolute;
transform-origin: center;
transition: transform 0.3s;
}
.ball.highlighted:hover {
border: 2px solid salmon;
}
.icon {
background: #fff;
border-radius: 50%;
height: 44px;
width: 44px;
}
.title {
}
.subtitle {
font-size: 0.8rem;
}
.info {
display: flex;
align-items: center;
}
.info > *:not(:last-child) {
margin-right: 8px;
}
.toolbar {
background: #18b4f6;
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px;
color: #fff;
}
.toolbar > *:not(:last-child) {
margin-right: 8px;
}
button {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background: transparent;
outline: none;
border: none;
height: 44px;
width: 44px;
border-radius: 50%;
padding: 4px;
cursor: pointer;
}
button:hover {
background: rgba(0,0,0,0.2);
}
button:active {
background: rgba(0,0,0,0.5);
}