-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyles.css
122 lines (106 loc) · 3.83 KB
/
styles.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
html, body {
margin: 0;
padding: 0;
min-height: 100%;
}
body {
background-color: #141414;
background-image: -webkit-linear-gradient(top, #CCC, #EEE 100%);
background-image: -moz-linear-gradient(top, #CCC, #EEE 100%);
background-image: -ms-linear-gradient(top, #CCC, #EEE 100%);
background-image: -o-linear-gradient(top, #CCC, #EEE 100%);
background-image: linear-gradient(top, #CCC, #EEE 100%);
color: #333;
font: 300 15px/1 Verdana;
}
body:before {
background-image: -webkit-radial-gradient(center, circle, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 100%);
background-image: -moz-radial-gradient(center, circle, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 100%);
background-image: -ms-radial-gradient(center, circle, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 100%);
background-image: -o-radial-gradient(center, circle, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 100%);
background-image: radial-gradient(center, circle, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 100%);
position: absolute;
content: '';
top: 0; right: 0; bottom: 0; left: 0;
}
/* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. */
body {
text-shadow: 1px 1px 1px rgba(255, 255, 255, .5);
}
.wrapper {
position: relative;
width: 500px;
margin: 100px auto;
}
h1, h2 {
font: bold 60px/1 'Ubuntu';
color: rgba(40, 40, 40, 0.8);
text-shadow: 1px 2px 3px #DDD, 0 0 0 #000, 1px 2px 3px #DDD;
letter-spacing: -5px;
}
h2 {
font-size: 30px;
letter-spacing: -2px;
text-shadow: 1px 2px 3px #DDD, 0 0 0 #222, 1px 2px 3px #DDD;
}
/* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. */
#container {
position: relative;
width: 500px;
height: 500px;
margin: 50px 0;
}
.wheel-of-life-canvas {
position: absolute;
}
.wheel-of-life-range {
position: absolute;
}
.wheel-of-life-range input {
position: absolute;
text-align: left;
direction: ltr;
left: -9999px;
}
.wheel-of-life-range-btn {
position: absolute;
top: 0; left: 0;
width: 38px;
height: 38px;
margin-top: -21px;
margin-left: -21px;
z-index: 2;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
border-radius: 50%;
border: 2px solid rgba(255, 255, 255, .8);
background-image: -webkit-radial-gradient(10px 10px, circle cover, #FFF, #DDD);
background-image: -moz-radial-gradient(10px 10px, circle cover, #FFF, #DDD);
background-image: -o-radial-gradient(10px 10px, circle cover, #FFF, #DDD);
background-image: radial-gradient(10px 10px, circle cover, #FFF, #DDD);
-webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.1), 0 2px 5px rgba(0, 0, 0, 0.3);
-moz-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.1), 0 2px 5px rgba(0, 0, 0, 0.3);
-o-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.1), 0 2px 5px rgba(0, 0, 0, 0.3);
box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.1), 0 2px 5px rgba(0, 0, 0, 0.3);
}
.wheel-of-life-range-btn:active {
border-color: rgba(255, 255, 255, .5);
top: 1px;
-webkit-box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1), 0px 1px 4px rgba(0, 0, 0, 0.3);
-moz-box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1), 0px 1px 4px rgba(0, 0, 0, 0.3);
-o-box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1), 0px 1px 4px rgba(0, 0, 0, 0.3);
box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1), 0px 1px 4px rgba(0, 0, 0, 0.3);
}
/* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. */
.wheel-of-life-range .btn {
-webkit-transition: 0.2s all ease-out;
-moz-transition: 0.2s all ease-out;
-o-transition: 0.2s all ease-out;
transition: 0.2s all ease-out;
}
.wheel-of-life-range.moving .btn {
-webkit-transition: none;
-moz-transition: none;
-o-transition: none;
transition: none;
}