-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcategory.html
More file actions
96 lines (96 loc) · 2.27 KB
/
category.html
File metadata and controls
96 lines (96 loc) · 2.27 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
<!DOCTYPE html>
<html>
<head>
<title>Add Group</title>
<style>
:root {
--bg: #1a1a1a;
--panel: #2d2d2d;
--text: #ffffff;
--primary: #ffcc00;
--border: #444;
}
body.theme-light {
--bg: #f8f9fa;
--panel: #ffffff;
--text: #212529;
--border: #e9ecef;
}
body {
margin: 0;
padding: 0;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: var(--bg);
color: var(--text);
overflow: hidden;
display: flex;
flex-direction: column;
height: 100vh;
border: 1px solid var(--border);
}
.title-bar {
height: 30px;
background: var(--primary);
color: #000;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 10px;
font-weight: bold;
font-size: 12px;
-webkit-app-region: drag;
}
.close-btn {
-webkit-app-region: no-drag;
cursor: pointer;
font-size: 16px;
font-weight: bold;
}
.content {
padding: 15px;
flex-grow: 1;
display: flex;
flex-direction: column;
gap: 15px;
}
input {
width: calc(100% - 20px);
padding: 10px;
background: var(--panel);
border: 1px solid var(--border);
border-radius: 4px;
color: var(--text);
outline: none;
}
input:focus { border-color: var(--primary); }
.actions {
display: flex;
justify-content: flex-end;
gap: 10px;
}
button {
padding: 8px 15px;
border-radius: 4px;
border: none;
cursor: pointer;
font-weight: bold;
}
.btn-primary { background: var(--primary); color: #000; }
.btn-secondary { background: var(--panel); color: var(--text); border: 1px solid var(--border); }
</style>
</head>
<body>
<div class="title-bar">
<span>ADD NEW GROUP</span>
<span class="close-btn" id="close-btn">×</span>
</div>
<div class="content">
<input type="text" id="cat-name" placeholder="Enter group name..." autofocus>
<div class="actions">
<button class="btn-secondary" id="cancel-btn">Cancel</button>
<button class="btn-primary" id="save-btn">Save Group</button>
</div>
</div>
<script src="category.js"></script>
</body>
</html>