-
Notifications
You must be signed in to change notification settings - Fork 1
/
menu-bar.html
70 lines (66 loc) · 1.61 KB
/
menu-bar.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
<style>
:host {
background: var(--accent);
/* position: sticky; */
top: 0;
z-index: 999;
display: flex;
align-items: center;
justify-content: space-between;
padding: 4px;
font-size: .8rem;
margin-bottom: 8px;
}
h1 {
font-family: var(--title-font);
margin: 0;
font-size: inherit;
text-transform: uppercase;
font-weight: normal;
flex: 1;
}
h1 img {
height: 32px;
max-height: 32px;
}
select {
background: transparent;
color: inherit;
border: 1px solid var(--foreground);
padding: 4px;
font-family: var(--ui-font);
font-size: inherit;
text-align: center;
appearance: none;
-moz-appearance: none;
-webkit-appearance: none;
margin-right: 4px;
text-transform: uppercase;
}
button {
border: 1px solid var(--foreground);
padding: 4px 24px;
text-transform: uppercase;
font-family: var(--ui-font);
font-size: inherit;
color: inherit;
background: transparent;
}
</style>
<h1 as="icon">
<img alt="Radio" src="./assets/icon_white.svg">
</h1>
<select as="menu" id="drop-down-menu" selectedIndex="-1">
<option value="radio" disabled selected>Radio</option>
<!--<optgroup label="Menu">-->
<option value="refresh-all">Refresh all</option>
<option value="clear-all">Clear all</option>
<option value="podcast-subscribe">Add feed</option>
<option value="sync-export">Sync push</option>
<option value="sync-import">Sync pull</option>
<option value="player-reload">Reload player</option>
<!--</optgroup>-->
</select>
<button as="refresh" hidden>
Refresh
</button>