280 Commits

Author SHA1 Message Date
troyeguo
193393bc8d Update default.css styles for improved UI consistency
- Added background color for .protection-overlay to enhance visual distinction.
- Combined styles for .plugin-tab-bar and .pin-keypad-container for streamlined styling.
- Ensured consistent background settings across related components.
2026-06-03 08:46:13 +08:00
troyeguo
6e172670d1 Update styles and components for pin keypad functionality
- Added new styles for pin keypad elements in dark.css and default.css, enhancing visual consistency.
- Refactored component rendering in ProtectionOverlay and MoreSetting to streamline pin key display logic.
- Removed unnecessary background color definitions in protection.css for cleaner styling.
- Updated theme utility to include new selectors for biometric and pin key elements, improving theme management.
2026-06-03 08:32:24 +08:00
troyeguo
15bc656749 Refactor synchronization conditions in ImportLocal and Manager components
- Updated the cloud synchronization logic in ImportLocal and Manager components to check for the 'isDisableAutoSync' setting before executing the sync function.
- Improved code readability by consolidating the conditional statements for synchronization.
- Ensured consistent behavior across components when handling book imports and synchronization.
2026-06-02 15:07:35 +08:00
troyeguo
62a88687c4 feat: enhance export functionality for notes and highlights
- Added `toBlob` utility function to convert content strings to Blob objects with appropriate MIME types.
- Implemented `groupByBook` function to group notes and highlights by book name.
- Introduced `sanitizeFileName` function to replace illegal characters in file names with underscores.
- Created `convertNotesData` and `convertHighlightsData` functions to convert notes and highlights to various text formats.
- Updated `exportNotes` and `exportHighlights` functions to support exporting multiple books as ZIP files, including individual files for each book.
- Refactored PDF generation logic to handle multiple books and fallback to HTML if necessary.
- Improved overall code organization and readability.
2026-05-26 17:07:43 +08:00
troyeguo
d014cac4d2 fix: update font-family definitions and remove redundant language styles 2026-05-26 15:53:21 +08:00
troyeguo
3cf50a7dad Add recommended layout option and corresponding CSS styles
- Updated zh-CN.json to include a new translation for "Recommended layout".
- Modified dropdownList.tsx to add "Recommended layout" option for book layout selection.
- Introduced kookit.min.css with comprehensive styling rules for various HTML elements, enhancing the visual presentation of content.
2026-05-26 12:56:51 +08:00
troyeguo
db7679a24e Add Tufte CSS, Typebase CSS, and Typo CSS stylesheets
- Introduced Tufte CSS for enhanced typography and layout.
- Added Typebase CSS for foundational typography styles.
- Included Typo CSS for comprehensive typographic control and responsive design.
2026-05-26 12:08:18 +08:00
troyeguo
f5a8034380 feat: add account login option styles and update login method selection UI 2026-04-30 18:23:53 +08:00
troyeguo
6d9e090dff feat: enhance user authentication checks in DropdownList and TextToSpeech components, and improve batch translation handling in Background component 2026-04-17 12:28:33 +08:00
troyeguo
d96c4b0de7 feat: enhance setting dialog layout and sidebar functionality 2026-04-06 15:55:42 +08:00
troyeguo
00d9f010c4 Refactor code structure for improved readability and maintainability 2026-03-18 10:30:11 +08:00
troyeguo
1b0e07238e feat: implement dynamic theme color management with custom color picker 2026-03-16 16:38:01 +08:00
troyeguo
5773e08373 feat: add active color styles for theme selection with visual indicators 2026-03-16 16:16:26 +08:00
troyeguo
2fa2736349 feat: enhance edit dialog with cover image selection and additional fields 2026-03-16 11:30:34 +08:00
troyeguo
2699080c0d feat: implement plugin tab navigation and enhance plugin management UI 2026-03-13 10:08:28 +08:00
troyeguo
825e57f748 Refactor book format checks to only consider "PDF" format
- Updated various components to remove checks for "DJVU" format, focusing solely on "PDF".
- Adjusted conditions in BookCardItem, BookCoverItem, BookListItem, and others to streamline format handling.
- Removed "DJVU" support from routing and supported formats.
- Ensured consistency across components regarding PDF handling and configuration checks.
2026-03-03 20:20:23 +08:00
troyeguo
52e63cd14a feat: enhance drag-and-drop functionality and update styles for better user experience 2026-02-25 17:27:19 +08:00
troyeguo
3d1052a33a Refactor code structure for improved readability and maintainability 2026-02-23 18:48:55 +08:00
troyeguo
b0aeab3455 Refactor code structure for improved readability and maintainability 2026-02-02 09:34:19 +08:00
troyeguo
255b5fbc78 Enhance range input styling for better visibility and aesthetics
- Set background to transparent for range input and its tracks across all browsers.
- Adjusted styles for the MS track to ensure it aligns with the overall design.
2026-01-15 18:52:28 +08:00
troyeguo
2c05dc8a47 Refactor background and viewer components to use props for scale and margin
- Updated Background component to receive scale and margin from props instead of state.
- Implemented UNSAFE_componentWillReceiveProps in Background and Viewer components to handle prop changes for scale, margin, and reader mode.
- Modified mapStateToProps in relevant components to include scale and margin from the Redux store.
- Adjusted SliderList component to handle scale and margin changes without reloading books.
- Updated ThemeList and NavigationPanel components to use backgroundColor from props.
- Enhanced reader settings to manage background color, scale, and margin through Redux actions.
- Refactored related interfaces and actions to accommodate new props and state management.
2025-10-14 18:17:43 +08:00
troyeguo
bdecfc3578 Enhance UI and functionality across components
- Updated noteTag CSS to include opacity for better visibility.
- Adjusted cardList CSS scrollbar width and opacity for a cleaner look; added cursor pointer for better user interaction.
- Modified generalSetting component logic to improve error handling when confirming actions.
2025-09-27 15:29:05 +08:00
troyeguo
9dacea7832 style: update card and note list styles for improved layout and loading behavior 2025-09-26 18:24:15 +08:00
troyeguo
32b4828a16 Refactor color option styles and adjust height; update dialog positioning; enhance delete dialog logic; streamline import local component; modify popup option dimensions; adjust content list padding; clean up plugin settings state; improve mouse event handling; refine dictionary error messaging. 2025-08-22 11:07:52 +08:00
troyeguo
f815613e72 Refactor icon font files and update styles
- Updated icon font files (eot, svg, ttf, woff) with new versions.
- Changed the icon class from `.icon-all` to `.icon-ai-assist` in style.css.
- Removed unnecessary border styles from background components.
- Added onMouseLeave event to the more options dropdown in ImportLocal component.
- Cleaned up CSS for more option items in importLocal.css.
- Added console log for debugging link jumps in PopupRefer component.
- Set background color to transparent for book list items.
- Adjusted padding for chapter and book names in pageWidget background styles.
- Updated plugin setting component to include new icon type for AI assist.
- Improved getTargetHref function for better href extraction from events.
2025-08-16 15:47:07 +08:00
troyeguo
b908d4aeba feat: enhance content list and settings dialogs
- Added new icons for collapse and all functionalities in the icon font.
- Introduced a header in the content list to display total chapters and toggle expand/collapse functionality.
- Removed the expand content option from settings dialogs and state management.
- Updated styles for the new content header and expand/collapse buttons.
- Added translations for new UI elements in the Chinese locale.
2025-08-13 16:32:10 +08:00
troyeguo
31848d33a2 feat: bump version to 2.0.8; remove unused scripts and clean up console logs 2025-07-27 10:48:46 +08:00
troyeguo
fc438b51e1 feat: add isScannedPDF property and enhance PDF handling logic 2025-07-24 09:22:43 +08:00
troyeguo
87c4804a4b feat: integrate vex.js for modal dialogs and add wireframe theme styles 2025-07-11 19:57:07 +08:00
troyeguo
623b249cf1 refactor: streamline sync utility removal and update header notification duration 2025-06-22 21:05:26 +08:00
troyeguo
7038640625 fix: adjust layout and margins in login page, update cover handling, and enhance security messages 2025-06-09 09:23:33 +08:00
troyeguo
9324c6f4df feat: add Content Security Policy to enhance security for index.html 2025-06-08 17:26:02 +08:00
troyeguo
7e22169f20 feat: update styles and layout for various components, enhance color option functionality, and improve synchronization description 2025-05-22 16:14:08 +08:00
troyeguo
09638649c3 feat: add import dialog functionality and enhance related components 2025-05-07 16:55:36 +08:00
troyeguo
ca9b82bb1a feat: enhance authentication handling and update UI components 2025-03-29 18:57:04 +08:00
troyeguo
c1cbf6e9ca fix bug 2025-03-07 20:03:29 +08:00
troyeguo
814e16d7b8 fix bug 2025-03-01 17:08:44 +08:00
troyeguo
86fa8533ba fix bug 2025-02-16 15:02:11 +08:00
troyeguo
5ee42dbc6b fix bug 2025-02-15 12:32:24 +08:00
troyeguo
cbfe15480d fix bug 2025-02-07 21:40:23 +08:00
troyeguo
e91782a494 fix bug 2025-02-01 21:23:09 +08:00
troyeguo
4293fae0da fix bug 2025-01-31 20:25:17 +08:00
troyeguo
0d821bffff fix bug 2025-01-30 17:00:47 +08:00
troyeguo
fd669a5a63 fix bug 2025-01-22 15:32:45 +08:00
troyeguo
434b1821b2 fix bug 2025-01-20 18:20:59 +08:00
troyeguo
5ee4a605f9 fix bug 2025-01-05 17:35:48 +08:00
troyeguo
f26003625e fix bug 2024-12-15 18:23:28 +08:00
troyeguo
e0101574a8 fix bug 2024-12-10 20:38:51 +08:00
troyeguo
b40416939a fix bug 2024-12-09 23:32:20 +08:00
troyeguo
2864e0f932 fix bug 2024-12-01 15:55:52 +08:00