/* Notes Sidebar Styles */ .notes-sidebar { display: flex; flex-direction: column; height: 100%; font-family: Arial, sans-serif; color: #fff; } .notes-tabs-wrapper { display: flex; justify-content: space-between; align-items: flex-start; padding: 10px; background: #1a1a1a; border-bottom: 1px solid #444; min-height: 40px; } .notes-tabs-container { display: flex; flex-wrap: wrap; gap: 2px; flex: 1; } .notes-new-tab-btn { background: #333; border: none; color: #fff; padding: 5px 10px; cursor: pointer; border-radius: 3px; font-size: 16px; height: 32px; } .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: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; height: 32px; margin-top: 1px } .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; padding: 10px; background: #1a1a1a; border-bottom: 1px solid #444; } .notes-button-group { display: flex; border: 1px solid #444; border-radius: 4px; position: relative; } .notes-btn { background: #333; border: none; border-right: 1px solid #444; color: #ccc; padding: 8px 12px; cursor: pointer; border-radius: 0; font-size: 14px; height: 32px; transition: all 0.2s ease; } .notes-btn:hover { background: #555; color: #fff; } .notes-btn:disabled { background: #222 !important; color: #555 !important; cursor: not-allowed !important; } .notes-btn:disabled:hover { background: #222 !important; color: #555 !important; } .notes-btn:last-child { border-right: none; } .notes-btn:first-child { border-top-left-radius: 3px; border-bottom-left-radius: 3px; } .notes-btn:last-child { border-top-right-radius: 3px; border-bottom-right-radius: 3px; } .notes-submenu-container:last-child .notes-btn { border-top-left-radius: 0px; border-bottom-left-radius: 0px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; } /* Submenu styles */ .notes-submenu-container { position: relative; display: inline-block; } .notes-submenu-container:last-child .notes-btn { border-right: none; } .notes-submenu { position: absolute; top: calc(100% + 2px); left: 0; background: #2a2a2a; border: 1px solid #444; border-radius: 4px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); z-index: 1001; min-width: 200px; } .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; } /* Search Container */ .notes-search-container { padding: 10px; background: #1a1a1a; border-bottom: 1px solid #444; } .notes-search-input-wrapper { position: relative; display: flex; align-items: center; } .notes-search-input { width: 100%; padding: 8px 35px 8px 12px; background: #2a2a2a; border: 1px solid #444; border-radius: 4px; color: #fff; font-size: 14px; box-sizing: border-box; } .notes-search-clear { position: absolute; right: 8px; background: transparent; border: none; color: #888; cursor: pointer; padding: 4px; border-radius: 4px; display: flex; align-items: center; justify-content: center; } .notes-search-clear:hover { color: #fff; background: rgba(255, 255, 255, 0.1); } .notes-search-input:focus { outline: none; border-color: #666; background: #333; } .notes-search-input::placeholder { color: #888; } /* Search Results */ .notes-search-results { max-height: 200px; overflow-y: auto; margin-top: 10px; background: #2a2a2a; border: 1px solid #444; border-radius: 4px; } .notes-search-result { padding: 6px 10px; border-bottom: 1px solid #444; cursor: pointer; display: flex; align-items: flex-start; gap: 8px; font-size: 12px; line-height: 1.4; } .notes-search-result:last-child { border-bottom: none; } .notes-search-result:hover { background: #444; } .notes-search-line-number { color: #888; font-weight: bold; flex-shrink: 0; min-width: 30px; } .notes-search-line-content { color: #fff; word-break: break-all; } .notes-search-line-content mark { background: #ffeb3b; color: #000; padding: 1px 2px; border-radius: 2px; } .notes-search-no-results { padding: 15px; text-align: center; color: #888; font-style: italic; font-size: 12px; }