mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-09 01:20:09 +00:00
Temporarily highlight item doc item on selection
This commit is contained in:
@@ -185,13 +185,18 @@ let documentationSidebar = {
|
||||
font-size: 1.5em
|
||||
}
|
||||
.doc-section {
|
||||
background-color: ${getColorPalette().colors.comfy_base['tr-odd-bg-color']}
|
||||
background-color: ${getColorPalette().colors.comfy_base['comfy-menu-bg']}
|
||||
}
|
||||
.doc-item div {
|
||||
margin-inline-start: 1vw;
|
||||
}
|
||||
@keyframes selectAnimation {
|
||||
0% { background-color: #5555}
|
||||
80% { background-color: #5555}
|
||||
100% { background-color: #0000}
|
||||
}
|
||||
.doc-item:focus {
|
||||
background-color: #666
|
||||
animation: selectAnimation 2s;
|
||||
}
|
||||
.DocumentationIcon:before {
|
||||
font-size: 1.5em; content: '?';
|
||||
|
||||
Reference in New Issue
Block a user