Files
alexopus-ComfyUI-Notes-Sidebar/js/notes-sidebar.css
T
2025-07-18 18:21:36 +02:00

136 lines
2.1 KiB
CSS

/* Notes Sidebar Styles */
.notes-sidebar {
display: flex;
flex-direction: column;
height: 100%;
font-family: Arial, sans-serif;
color: #fff;
}
.notes-tabs-container {
display: flex;
flex-wrap: wrap;
gap: 2px;
padding: 10px;
background: #1a1a1a;
border-bottom: 1px solid #444;
min-height: 40px;
}
.notes-new-tab-btn {
background: #444;
border: none;
color: #fff;
padding: 5px 10px;
cursor: pointer;
border-radius: 3px;
font-size: 16px;
}
.notes-new-tab-btn:hover {
background: #555;
}
.note-tab {
background: #444;
border: none;
color: #fff;
padding: 5px 10px;
cursor: pointer;
border-radius: 3px;
font-size: 12px;
max-width: 100px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.note-tab:hover {
background: #555;
}
.note-tab.active {
background: #4CAF50;
}
.notes-content-area {
flex: 1;
display: flex;
flex-direction: column;
padding: 15px;
gap: 10px;
}
.notes-textarea {
flex: 1;
background: #1a1a1a;
border: 1px solid #444;
color: #fff;
padding: 10px;
font-family: monospace;
font-size: 14px;
resize: none;
outline: none;
}
.notes-textarea:focus {
border-color: #4CAF50;
}
.notes-textarea:disabled {
background: #111;
color: #666;
cursor: not-allowed;
}
.notes-button-container {
display: flex;
gap: 10px;
justify-content: space-between;
}
.notes-button-group {
display: flex;
gap: 10px;
}
.notes-btn {
border: none;
color: white;
padding: 8px 16px;
cursor: pointer;
border-radius: 4px;
font-size: 14px;
}
.notes-btn:hover {
opacity: 0.8;
}
.notes-btn:disabled {
background: #333 !important;
color: #666 !important;
cursor: not-allowed !important;
opacity: 0.5;
}
.notes-btn:disabled:hover {
opacity: 0.5 !important;
}
.notes-btn.delete {
background: #ff4444;
}
.notes-btn.save {
background: #4CAF50;
}
.notes-btn.refresh {
background: #2196F3;
}
.notes-btn.rename {
background: #FF9800;
}