Add draggable swimlane kanban template

This commit is contained in:
Codex
2026-08-07 14:49:50 +08:00
parent b0d733cc2a
commit 4511997d6d
6 changed files with 317 additions and 42 deletions

View File

@@ -1,41 +1,9 @@
.launcherStack {
position: fixed;
right: 26px;
bottom: 26px;
z-index: 45;
display: flex;
flex-direction: column;
gap: 10px;
}
.launcher {
width: 208px;
min-height: 61px;
display: flex;
align-items: center;
gap: 11px;
padding: 9px 12px;
border: 1px solid;
border-radius: 12px;
box-shadow: 0 15px 32px rgba(30, 49, 86, .22);
color: white;
text-decoration: none;
transition: transform .18s ease, background .18s ease;
}
.launcher:hover { transform: translateY(-2px); }
.approval { border-color: #295fcf; background: #3276f6; }
.approval:hover { background: #215ecb; }
.worklist { border-color: #273a59; background: #17263d; }
.worklist:hover { background: #223655; }
.launcherIcon { width: 35px; height: 35px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; background: rgba(255,255,255,.14); font-size: 17px; }
.launcher > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; gap: 3px; }
.launcher strong { font-size: 11px; }
.launcher small { color: rgba(255,255,255,.7); font-size: 8px; }
.launcher b { font-size: 16px; }
@media (max-width: 620px) {
.launcherStack { right: 14px; bottom: 14px; gap: 8px; }
.launcher { width: 52px; min-height: 52px; padding: 8px; border-radius: 50%; }
.launcher > span:nth-child(2), .launcher b { display: none; }
.launcherIcon { width: 34px; height: 34px; background: transparent; }
}
.launcherStack { position:fixed; right:26px; bottom:26px; z-index:45; display:flex; flex-direction:column; gap:9px; }
.launcher { width:208px; min-height:58px; display:flex; align-items:center; gap:10px; padding:8px 11px; border:1px solid; border-radius:11px; box-shadow:0 14px 30px rgba(30,49,86,.21); color:#fff; text-decoration:none; transition:transform .18s ease,background .18s ease; }
.launcher:hover { transform:translateY(-2px); }
.approval { border-color:#295fcf; background:#3276f6; }.approval:hover{background:#215ecb}
.worklist { border-color:#273a59; background:#17263d; }.worklist:hover{background:#223655}
.kanban { border-color:#47734f; background:#28613e; }.kanban:hover{background:#1d5032}
.launcherIcon { width:34px; height:34px; display:grid; place-items:center; flex:0 0 auto; border-radius:8px; background:rgba(255,255,255,.14); font-size:16px; }
.launcher>span:nth-child(2){display:flex;flex:1;flex-direction:column;gap:3px}.launcher strong{font-size:11px}.launcher small{color:rgba(255,255,255,.7);font-size:8px}.launcher b{font-size:15px}
@media(max-width:620px){.launcherStack{right:14px;bottom:14px;gap:7px}.launcher{width:50px;min-height:50px;padding:8px;border-radius:50%}.launcher>span:nth-child(2),.launcher b{display:none}.launcherIcon{width:32px;height:32px;background:transparent}}