diff --git a/frontend/index.html b/frontend/index.html index ad3bc3d..b1aed76 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -73,11 +73,12 @@ margin-bottom: 1rem; } .compose-wrapper textarea { resize: vertical; min-height: 60px; } - input,textarea { + input,textarea,tag-input { padding: .5rem; border: 1px solid #ccc; border-radius: 4px; width: 100%; + margin-bottom: 5px; } button { padding: .5rem 1rem; @@ -85,6 +86,49 @@ border-radius: 4px; cursor: pointer; } + /* Context Menu Styling */ + .context-menu { + position: absolute; + background-color: #fff; + border: 1px solid #ccc; + border-radius: 5px; + box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); + padding: 5px; + z-index: 1000; + display: none; /* Initially hidden */ + min-width: 150px; + } + + .context-menu-item { + padding: 8px 12px; + cursor: pointer; + user-select: none; + } + + .context-menu-item:hover { + background-color: #f0f0f0; + } + + .context-menu-item span { + display: block; + } + /* Animations */ + @keyframes fadeIn { + from { + opacity: 0; + transform: translateY(-5px); + } + to { + opacity: 1; + transform: translateY(0); + } + } + + .context-menu.show { + animation: fadeIn 0.2s ease-out; + display: block; + } + @@ -105,8 +149,69 @@
+ +
+
Edit Tag
+
Rename Tag
+
Delete Tag
+
+ +