-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtimeTracker.html
executable file
·36 lines (36 loc) · 1.14 KB
/
timeTracker.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
<html>
<head>
<link rel="stylesheet" href="https://trello.com/power-ups/power-up.css">
<script src="https://trello.com/power-ups/power-up.min.js"></script>
</head>
<body>
<style type="text/css">
button { width: 100%; margin: 0 0 6px 0; }
.timer {
text-align: center;
font-weight: 600;
font-size: 20px;
margin: 10px 0 10px 0;
height: 18px;
}
button.negate {
color: #fff;
background-color: #CF513D;
background: linear-gradient(to bottom, #CF513D 0%, #B04632 100%);
box-shadow: 0 2px 0 #833327;
}
button.negate:focus, button.negate:hover {
color: #fff;
background-color: #CF513D;
background: linear-gradient(to bottom, #CF513D 0%, #9d3e2c 100%);
box-shadow: 0 2px 0 #833327;
}
</style>
<div id="content">
<div class="timer" id="timePlace">00:00:00</div>
<button id="buttonStart" class="mod-primary">Start timer</button>
<button id="buttonStop" class="negate" style="display: none;">Stop timer</button>
</div>
<script src="./js/timeTracker.js"></script>
</body>
</html>