-
Notifications
You must be signed in to change notification settings - Fork 2
/
ionic-wheel-2.css
69 lines (63 loc) · 1.23 KB
/
ionic-wheel-2.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
ion-wheel {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
width: 300px;
height: 300px;
border-radius: 50%;
}
#ionic-wheel {
position: relative;
height: 300px;
width: 300px;
border-radius: 50%;
}
ion-wheel-item.active {
top: calc(50% - 25px) !important;
left: calc(50% - 25px) !important;
opacity: 0;
transition-property: opacity, left, top;
transition-duration: 0.2s;
transition-timing-function: ease-out;
z-index: 9;
}
ion-wheel-item {
position: absolute;
width: 50px;
height: 50px;
border-radius: 50%;
background-color: #175D99;
box-shadow: 0px 2px 0px #000;
box-sizing: border-box;
border-radius: 50%;
opacity: 1;
transition-property: opacity, left, top;
transition-duration: 0.1s;
transition-timing-function: ease-out;
}
#ionic-wheel #activate {
height: 50px;
width: 50px;
position: absolute;
margin: 0 auto;
transform: translate(-50%, -50%);
top: 50%;
left: 50%;
background-color: #175D99;
border-radius: 50%;
z-index: 10;
}
ion-wheel-item i, #ionic-wheel #activate i {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: #fff;
font-size: 20px;
}
.background-peach {
background-color: #69D4FF;
}