forked from atjn/timewarp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
116 lines (94 loc) · 2.6 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
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
<!DOCTYPE html>
<html lang="da-DK">
<head>
<meta charset="UTF-8">
<meta name="robots" content="noindex,nofollow">
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-37612972-5"></script>
<script src="js/gtag.js"></script>
<link rel="stylesheet" href="css/main.css"/>
<script src="js/main.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#442939">
<title>Timewarp</title>
<link rel="icon" href="img/logo_192.min.png">
<link rel="manifest" href="manifest.json">
</head>
<body class="finput">
<h2 class="input" >Indtast tidsperiodæ</h2>
<a class="input">
<input class="input" type="time" id="start" aria-label="Tidspunkt hvor du begyndte at arbejde" autofocus>
</a>
<p class="input">→</p>
<a class="input">
<input class="input" type="time" id="end" aria-label="Tidpsunkt hvor du stoppede med at arbejde">
</a>
<h2 class="output" >Du har arbejdet i</h2>
<input class="output" id="result" name="result" aria-label="Du har arbejdet i">
<label class="output" for="result">timer</label>
<svg class="output" viewBox="0 0 20 20" id="copy" width="0" height="0">
<defs>
<filter id="fshadow" x="-1" y="-1" width="300%" height="300%">
<feOffset result="offOut" in="SourceGraphic" dx="0.05" dy="0.05" />
<feGaussianBlur id="shadowBlur" result="blurOut" in="offOut" stdDeviation="1" />
<feBlend in="SourceGraphic" in2="blurOut" mode="normal" />
</filter>
<animate
xlink:href="#shadowBlur"
attributeName="stdDeviation"
from="0.1"
to="0.1"
dur="3s"
begin="0s"
values="0.2; 0.5; 0.2"
keyTimes="0; 0.5; 1"
calcMode="spline"
keySplines="
.42 0 .58 1 ;
.42 0 .58 1
"
repeatCount="indefinite"
/>
</defs>
<path class="shadow" filter="url(#fshadow)" d="
M 8 6
h 4
v 7
h -3
v -4
h -1
Z
"
stroke-linejoin="round"
/>
<a>
<defs>
<filter id="fmain" x="-1" y="-1" width="300%" height="300%">
<feOffset result="offOut" in="SourceGraphic" dx="0.1" dy="0.1" />
<feGaussianBlur result="blurOut" in="offOut" stdDeviation="0.1" />
<feBlend in="SourceGraphic" in2="blurOut" mode="normal" />
</filter>
</defs>
<path class="main" filter="url(#fmain)" d="
M 8 6
h 4
v 7
h -3
v -4
h -1
Z
"
stroke-linejoin="round"
/>
<text
x="10"
y="7.5"
font-size="1"
text-anchor="middle"
alignment-baseline="middle"
>
Kopiér
</text>
</a>
</svg>
</body>
</html>