-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathqueue.html
More file actions
133 lines (133 loc) · 2.97 KB
/
Copy pathqueue.html
File metadata and controls
133 lines (133 loc) · 2.97 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
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Encoding Queue</title>
<style>
* { box-sizing: border-box; }
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
margin: 0;
padding: 20px;
background: #f5f5f7;
color: #333;
}
button {
font-family: inherit;
padding: 8px 16px;
border: none;
border-radius: 6px;
background: #007AFF;
color: white;
cursor: pointer;
font-weight: 500;
font-size: 0.95em;
transition: background 0.2s;
}
button:hover {
background: #0051D5;
}
button:active {
background: #003DA1;
}
#queueList { margin-top: 1.5em; }
.queue-item {
margin-bottom: 10px;
padding: 12px;
border: 1px solid #d2d2d7;
border-radius: 8px;
background: white;
font-size: 0.95em;
color: #666;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
display: flex;
align-items: center;
justify-content: space-between;
gap: 1em;
}
.remove-btn {
background: #FF3B30;
padding: 6px 12px;
font-size: 0.85em;
flex-shrink: 0;
}
.remove-btn:hover {
background: #D70015;
}
.remove-btn:active {
background: #B00010;
}
.current-item-box {
background: white;
border: 1px solid #d2d2d7;
border-radius: 12px;
padding: 16px;
margin-bottom: 1.5em;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.current-item-title {
font-weight: 600;
margin-bottom: 0.8em;
font-size: 1em;
color: #007AFF;
letter-spacing: 0.3px;
text-transform: uppercase;
font-size: 0.85em;
}
.current-item-file {
font-size: 0.95em;
margin-bottom: 1em;
color: #333;
font-weight: 500;
}
#progressBar {
width: 100%;
height: 6px;
background: #e8e8eb;
border-radius: 3px;
overflow: visible;
margin-bottom: 0.8em;
position: relative;
}
#progressFill {
height: 100%;
background: linear-gradient(90deg, #34C759, #30B0C0);
border-radius: 3px;
transition: width 0.1s linear;
}
#progressText {
position: absolute;
right: 0px;
top: -20px;
color: #666;
font-size: 0.8em;
font-weight: 500;
}
.current-item-box > textarea {
width: 100%;
height: 200px;
resize: none;
font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
font-size: 0.85em;
background: #f9f9fb;
border: 1px solid #d2d2d7;
border-radius: 6px;
margin-bottom: 0.8em;
color: #333;
padding: 8px;
line-height: 1.4;
}
.current-item-box > button {
display: block;
width: 100%;
padding: 8px;
margin-top: 0.8em;
}
</style>
</head>
<body>
<div id="currentItemContainer"></div>
<div id="queueList"></div>
<script src="queue.js"></script>
</body>
</html>