feat: add pagination and click selection to resource list
Co-authored-by: aider (openrouter/thinkingmachines/inkling-small:free) <aider@aider.chat>
This commit is contained in:
1 parent
5f42b89be7
commit
a0bf943601
3 files changed
+75
-10
No files matched your search
@@ -78,6 +78,11 @@ button.danger:hover {
|
||||
background: #c53030;
|
||||
}
|
||||
|
||||
button:disabled {
|
||||
opacity: 0.5;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
#search {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
@@ -107,12 +112,29 @@ button.danger:hover {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
transition: background 0.1s ease;
|
||||
}
|
||||
|
||||
#resource-list li:hover {
|
||||
background: #f7fafc;
|
||||
}
|
||||
|
||||
#resource-list li.selected {
|
||||
background: #ebf8ff;
|
||||
border-left: 3px solid #3182ce;
|
||||
}
|
||||
|
||||
#resource-list li:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
#pagination {
|
||||
margin-top: 1rem;
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
#actions pre {
|
||||
background: #1a202c;
|
||||
color: #e2e8f0;
|
||||
|
||||
Reference in new issue
Block a user