-
Notifications
You must be signed in to change notification settings - Fork 17
/
gear-toy.css
122 lines (100 loc) · 1.73 KB
/
gear-toy.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
* {
padding: 0;
margin: 0;
}
body {
background: #222;
font-family: Georgia, Times, "Times New Roman", serif;
color: #aaa;
}
body.dragging {
cursor: -webkit-grabbing !important;
}
.container {
max-width: 1024px;
margin: 0 auto;
padding: 70px 5%;
}
.container h1 {
color: #fff;
display: block;
margin: 0 0 1em 0;
font-weight: normal;
font-size: 30px;
}
.container p,
.container ul li {
margin: 0 0 1em 0;
color: #bbb;
font-size: 12px;
}
.container ul {
list-style: square;
}
.nav {
margin: 0 0 2em 0;
font-size: 16px;
}
.container a,
.container a:link,
.container a:visited,
.container a:active,
.container a:hover {
color: #aaa;
text-decoration: none;
border-bottom: 1px solid #555;
padding: 0 0 2px 0;
}
.nav-sep {
padding: 0 5px;
}
.ie .gears-d3-canvas {
/* ie fix :( */
height: 768px;
}
.gears-d3-canvas svg {
border: 1px solid #333;
background: #252525;
margin: 30px 0 0 0;
overflow: hidden;
max-width: 1024px;
max-height: 768px;
}
.gear.dragging path,
.gear path:active {
opacity: 0.5;
cursor: -webkit-grabbing !important;
}
.gear path {
cursor: move;
}
.gear:hover path {
opacity: 0.9;
stroke: #F6B25D;
stroke-width: 2px;
}
.gear .bulb-path .bulb-light {
opacity: 0;
transition: all 800ms ease-in-out;
-webkit-transition: all 800ms ease-in-out;
-moz-transition: all 800ms ease-in-out;
-o-transition: all 800ms ease-in-out;
}
.gear.powered path {
fill: #FFAE21 !important;
}
.style-0 path {
fill: #556270;
}
.style-1 path {
fill: #4ECDC4;
}
.style-2 path {
fill: #C7F464;
}
.style-3 path {
fill: #FF6B6B;
}
.style-4 path {
fill: #C44D58;
}