-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathmenuhexagonal.css
More file actions
222 lines (197 loc) · 4.92 KB
/
menuhexagonal.css
File metadata and controls
222 lines (197 loc) · 4.92 KB
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
#hexcontainer {
text-align:center;
background-color:#EEEEEE;
position:relative;
margin:50px 0 35px 0;
padding:20px 0;
}
.hex1, .hex2 {
position:relative;
display:inline-block;
height:220px;
width:190px;
overflow:hidden;
}
.hex1 {
-webkit-transform:rotate(60deg);
-moz-transform:rotate(60deg);
-ms-transform:rotate(60deg);
-o-transform:rotate(60deg);
transform:rotate(60deg);
margin:-20px 10px;
}
.hex2 {
-webkit-transform:rotate(60deg);
-moz-transform:rotate(60deg);
-ms-transform:rotate(60deg);
-o-transform:rotate(60deg);
transform:rotate(60deg);
}
.hexlink {
-webkit-transform:rotate(-120deg);
-moz-transform:rotate(-120deg);
-ms-transform:rotate(-120deg);
-o-transform:rotate(-120deg);
transform:rotate(-120deg);
position:relative;
display:inline-block;
text-decoration:none;
height:220px;
width:190px;
background-position:center center;
background-size:cover;
}
#hl1 {background-image:url("pca3d.png");}
#hl2 {background-image:url("deg.png");}
#hl3 {background-image:url("heatmap.png");}
#hl4 {background-image:url("expression.png");}
#hl5 {background-image:url("geneset.png");}
#hl6 {background-image:url("pattern.png");}
#hl7 {background-image:url("correlation.png");}
#hl8 {background-image:url("venn.png");}
#hl9 {background-image:url("pcsf.png");}
#hl10 {background-image:url("wgcna.png");}
#hl11 {background-image:url("ic50.png");}
#hl12 {background-image:url("dromics.png");}
#hl13 {background-image:url("monotonic.png");}
#hl14 {background-image:url("mergedata.png");}
#hl15 {background-image:url("under-construction.png");}
.hexcover {
position:absolute;
top:0;
left:0;
height:100%;
width:100%;
background-color:transparent;
opacity:0.9;
}
.hexlink h3 {
position:absolute;
top:50%;
-webkit-transform:translateY(-50%);
-moz-transform:translateY(-50%);
-ms-transform:translateY(-50%);
-o-transform:translateY(-50%);
transform:translateY(-50%);
width:100%;
margin:0;
text-align:center;
#text-transform:uppercase;
font-family:"Slabo 13px", sans-serif;
font-size:1.5em;
font-weight:normal;
word-spacing:5px;
color:transparent;
cursor:pointer;
opacity:1;
}
.plus {
position:absolute;
bottom:16%;
left:50%;
-webkit-transform:translateX(-50%);
-moz-transform:translateX(-50%);
-ms-transform:translateX(-50%);
-o-transform:translateX(-50%);
transform:translateX(-50%);
height:40px;
width:40px;
cursor:pointer;
}
.plus:before, .plus:after {
content:"";
position:absolute;
top:10px;
left:18px;
width:4px;
height:20px;
border-radius:2px;
background-color:transparent;
opacity:1;
}
.plus:after {
-webkit-transform:rotate(90deg);
-moz-transform:rotate(90deg);
-ms-transform:rotate(90deg);
-o-transform:rotate(90deg);
transform:rotate(90deg);
}
.minus {
position:absolute;
bottom:16%;
left:50%;
-webkit-transform:translateX(-50%);
-moz-transform:translateX(-50%);
-ms-transform:translateX(-50%);
-o-transform:translateX(-50%);
transform:translateX(-50%);
height:40px;
width:40px;
cursor:pointer;
}
.minus:before, .minus:after {
content:"";
position:absolute;
top:10px;
left:18px;
width:4px;
height:20px;
border-radius:2px;
background-color:transparent;
opacity:1;
-webkit-transform:rotate(90deg);
-moz-transform:rotate(90deg);
-ms-transform:rotate(90deg);
-o-transform:rotate(90deg);
transform:rotate(90deg);
}
@-webkit-keyframes plusBump {
0% {width:4px; height:20px; left:18px; top:10px;}
100% {width:5px; height:25px; left:17.5px; top:7.5px;}
}
@-moz-keyframes plusBump {
0% {width:4px; height:20px; left:18px; top:10px;}
100% {width:5px; height:25px; left:17.5px; top:7.5px;}
}
@-o-keyframes plusBump {
0% {width:4px; height:20px; left:18px; top:10px;}
100% {width:5px; height:25px; left:17.5px; top:7.5px;}
}
@keyframes plusBump {
0% {width:4px; height:20px; left:18px; top:10px;}
100% {width:5px; height:25px; left:17.5px; top:7.5px;}
}
.hexlink:hover .hexcover {background-color:#C9CFD9;}
.hexlink:hover h3 {color:#566676;}
.hexlink:hover .plus:before, .hexlink:hover .plus:after {
background-color:#FFFFFF;
-webkit-animation:plusBump 150ms ease 0.4s 4 alternate;
-moz-animation:plusBump 150ms ease 0.4s 4 alternate;
-o-animation:plusBump 150ms ease 0.4s 4 alternate;
animation:plusBump 150ms ease 0.4s 4 alternate;
}
.hexlink:hover .minus:before, .hexlink:hover .minus:after {
background-color:#FFFFFF;
-webkit-animation:plusBump 150ms ease 0.4s 4 alternate;
-moz-animation:plusBump 150ms ease 0.4s 4 alternate;
-o-animation:plusBump 150ms ease 0.4s 4 alternate;
animation:plusBump 150ms ease 0.4s 4 alternate;
}
.notes {
font-family:"Slabo 13px", sans-serif;
font-weight:normal;
color:#566676;
}
.notes a {
text-decoration:none;
font-family:"Slabo 13px", sans-serif;
font-weight:normal;
color:#D8334A;
}
.notes a:hover {color:#F8536A;}
.hexcover, .hexlink h3, .plus, .plus:before, .plus:after, .minus, .minus:before, .minus:after, .notes a {
-webkit-transition-duration:0.3s;
-moz-transition-duration:0.3s;
-o-transition-duration:0.3s;
transition-duration:0.3s;
}