Append submenu

This commit is contained in:
Alexopus
2025-07-19 23:49:17 +02:00
parent 1e4db67254
commit 1febceb0ff
3 changed files with 112 additions and 25 deletions
+32 -4
View File
@@ -152,10 +152,38 @@
background: #9C27B0;
}
.notes-btn.append-loras-tags {
background: #673AB7;
/* Submenu styles */
.notes-submenu-container {
position: relative;
display: inline-block;
}
.notes-btn.append-loras-meta {
background: #3F51B5;
.notes-submenu {
position: absolute;
top: 100%;
left: 0;
background: #2a2a2a;
border: 1px solid #444;
border-radius: 4px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
z-index: 1000;
min-width: 200px;
margin-top: 2px;
}
.notes-submenu-item {
padding: 8px 12px;
color: #fff;
cursor: pointer;
border-bottom: 1px solid #444;
font-size: 12px;
white-space: nowrap;
}
.notes-submenu-item:last-child {
border-bottom: none;
}
.notes-submenu-item:hover {
background: #444;
}