-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
82 lines (68 loc) · 1.89 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link href="https://fonts.googleapis.com/css?family=Rubik" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/4.6.0/d3.min.js"></script>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<title>Wikipedia visuals</title>
<style>
body{
text-align: center;
font-family: Rubik;
}
button{
appearance: none;
-webkit-appearance: none;
border: none;
background: none;
color: white;
outline: none;
height: 50px;
}
button:hover > i{
font-size: 45px;
margin-top: -5px;
transition: 0.1s;
}
i.material-icons{
font-size: 35px;
color: #4AA071;
}
div #ise_liitunud {
position: absolute;
left: 50%;
margin-left: -350px;
margin-top: -80px;
display: none;
}
div #kutsutud {
position: absolute;
right: 50%;
margin-right: -350px;
margin-top: -80px;
display: none;
}
.uuteChart {
margin-top: 100px;
}
</style>
</head>
<body>
<div class="isikuteChart" id="isikuteChart">
<svg></svg>
<div class="label" id="ise_liitunud">Ise liitunud kasutajad</div>
<div class="label" id="kutsutud">Kutsutud kasutajad</div>
</div>
<button id="separate"><i class="material-icons">keyboard_arrow_left</i><i class="material-icons">keyboard_arrow_right</i></button>
<button id="combine" style="display: none"><i class="material-icons">keyboard_arrow_right</i><i class="material-icons">keyboard_arrow_left</i></button>
<div class="uuteChart" id="uuteChart">
<svg></svg>
</div>
<script src="isikudChart.js"></script>
<script src="uuedChart.js"></script>
</body>
</html>