-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmini-fab.html
More file actions
34 lines (34 loc) · 1.58 KB
/
mini-fab.html
File metadata and controls
34 lines (34 loc) · 1.58 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>VoxFab FAB</title>
<link rel="stylesheet" href="mini-fab.css">
</head>
<body>
<div class="fab-container" id="fab-container">
<div class="fab-circle" id="fab-circle">
<div class="spinner-visual-container hidden" id="fab-spinner" aria-hidden="true">
<div class="rotating-spinner"></div>
</div>
<svg class="mic-icon" id="mic-icon" width="28" height="28" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M12 1C10.34 1 9 2.34 9 4V12C9 13.66 10.34 15 12 15C13.66 15 15 13.66 15 12V4C15 2.34 13.66 1 12 1Z" fill="white"/>
<path d="M17 12C17 14.76 14.76 17 12 17C9.24 17 7 14.76 7 12H5C5 15.53 7.61 18.43 11 18.92V22H13V18.92C16.39 18.43 19 15.53 19 12H17Z" fill="white"/>
</svg>
<svg class="stop-icon hidden" id="stop-icon" width="24" height="24" viewBox="0 0 24 24" fill="white">
<rect x="6" y="6" width="12" height="12" rx="2"/>
</svg>
</div>
<button class="expand-btn" id="expand-btn" title="Expand to window">
<svg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round">
<polyline points="15 3 21 3 21 9"></polyline>
<polyline points="9 21 3 21 3 15"></polyline>
<line x1="21" y1="3" x2="14" y2="10"></line>
<line x1="3" y1="21" x2="10" y2="14"></line>
</svg>
</button>
</div>
<script src="mini-fab.js"></script>
</body>
</html>