Commit Graph

41093 Commits

Author SHA1 Message Date
Kovid Goyal 34375f5891 Make drag scrolling semantics read mode dependant 2020-08-22 18:48:32 +05:30
Kovid Goyal aca602c118 Use Yes/No for confirm_delete dialogs 2020-08-22 18:48:32 +05:30
Kovid Goyal 2bedd3bfb2 Fix undragged handle position not being updated during drag scroll 2020-08-22 18:48:32 +05:30
Kovid Goyal 08105adbc8 Fix triple clicking of start and end paragraphs in paged mode 2020-08-22 18:48:32 +05:30
Kovid Goyal 1911ec41b4 Simply adjusting selection on handle move
Also re-enable drag scrollign with handles though it does not really
work yet
2020-08-22 18:48:31 +05:30
Kovid Goyal 1e24b66dad Simplify the selection extents function 2020-08-22 18:48:31 +05:30
Kovid Goyal 72fcbbc93a Restore triple-click to select paragraphs 2020-08-22 18:48:31 +05:30
Kovid Goyal 3af812813c Make the details panel buttons clickable links instead
Looks nicer and no longer any need for a delete button
2020-08-22 18:48:31 +05:30
Kovid Goyal f1a8dbc2a0 Viewer: Auto-hide the mouse cursor when unused. Can be turned off via a preference in the Miscellaneous section of the viewer preferences 2020-08-22 18:48:31 +05:30
Kovid Goyal 5cfb18055f No need for a nbsp in the notes indicator 2020-08-22 18:48:31 +05:30
Kovid Goyal 6f80fa05cd Fix quick highlight icon in preferences not same as in selection bar 2020-08-22 18:48:31 +05:30
Kovid Goyal 60f37faefd Fix extra dot below quick highlight icon 2020-08-22 18:48:31 +05:30
Kovid Goyal 62c82232c5 Show an indicator for a highlight that has notes 2020-08-22 18:48:31 +05:30
Kovid Goyal 3f90a15a04 String changes 2020-08-22 18:48:30 +05:30
Kovid Goyal 476e6a6bbc Fix text color for edit comments iframe dark mode 2020-08-22 18:48:30 +05:30
Kovid Goyal 8a322d1a69 Fix scrollbar not visible in footnote popup 2020-08-22 18:48:30 +05:30
Kovid Goyal 2d1b73b99b Fix footnote popup colors not being overriden in dark mode 2020-08-22 18:48:30 +05:30
Kovid Goyal 4a24987fee Only show the delete selected button if more than one item is selected 2020-08-22 18:48:30 +05:30
Kovid Goyal a7ad9e87d2 Fix delete selected button not working 2020-08-22 18:48:30 +05:30
Kovid Goyal e0f142f1c8 Better internet search icon 2020-08-22 18:48:30 +05:30
Kovid Goyal 31710ba335 DRYer 2020-08-22 18:48:30 +05:30
Kovid Goyal 36198d500c Content server: Fix incorrect text color in detailed book list in dark mode 2020-08-22 18:48:30 +05:30
Kovid Goyal 0906c226ea Content server book details: Fix incorrect text color for comments in dark mode 2020-08-22 18:48:30 +05:30
Kovid Goyal 9238df38d6 Fix get_color_as_rgba() not working with var() colors 2020-08-22 18:48:29 +05:30
Kovid Goyal 132f6a710d Content server book details: Fix next/previous cover overlay buttons not visible in dark theme 2020-08-22 18:48:29 +05:30
Kovid Goyal 5361db6916 Ensure selection bar position is updated after a resize 2020-08-22 18:48:29 +05:30
Kovid Goyal 976012bdf4 Have shortcut to toggle highlights panel work when selection bar is visible 2020-08-22 18:48:29 +05:30
Kovid Goyal 0ac9313bdf ... 2020-08-22 18:48:29 +05:30
Kovid Goyal c96a1dc31e Make input controls dark in the dark theme 2020-08-22 18:48:29 +05:30
Kovid Goyal c82c7d1a27 Notes should be rendered the same way in the viewer highlights panel and the browse annotations details panel 2020-08-22 18:48:29 +05:30
Kovid Goyal eb7bdaca4e Ensure handles are the same height 2020-08-22 18:48:29 +05:30
Kovid Goyal 1c5fed9e4c Fix for tiny selection handle in some circumstances 2020-08-22 18:48:29 +05:30
Kovid Goyal 0319f8325a Selection bar should not popup during searches 2020-08-22 18:48:28 +05:30
Kovid Goyal 7006b69901 Bump beta version 2020-08-22 18:48:28 +05:30
Kovid Goyal 6470aed8c3 Preserve scrollbar value 2020-08-22 18:48:28 +05:30
Kovid Goyal 654e69829b Use a dedicated for notes edit 2020-08-22 18:48:28 +05:30
Kovid Goyal 9da5c6eb57 Allow editing highlight notes from annotations browser 2020-08-22 18:48:28 +05:30
Kovid Goyal b90e6964d0 Add a delete button to the details panel as well 2020-08-22 18:48:28 +05:30
Kovid Goyal ff063d0783 Use correct color for legacy annots 2020-08-22 18:48:28 +05:30
Kovid Goyal 93cb98185f Add a button to delete selected annotations in the browse annotations tool 2020-08-22 18:48:28 +05:30
Kovid Goyal 6acd9c1989 The copy shortcut should work when selection bar is visible 2020-08-22 18:48:28 +05:30
Kovid Goyal d69efedb2f Allow adding a search in book button to the selection bar
Also have the keyboard shortcuts to run a search work when the selection
bar is visible.
2020-08-22 18:48:28 +05:30
Kovid Goyal ef35803ddb Restore focus after closing highlight editor 2020-08-22 18:48:27 +05:30
Kovid Goyal 081c14c18a Allow creation of custom styles 2020-08-22 18:48:27 +05:30
Kovid Goyal fdc3c82dbf Viewer: Allow using preferences when no book is open 2020-08-22 18:48:27 +05:30
Kovid Goyal 57c0517508 Server and Viewer: Add support for dark themes in the UI
UI now uses dark colors when either the browser is in dark mode or the
viewer color theme is dark
2020-08-22 18:48:27 +05:30
Kovid Goyal 9283e58359 DRYer 2020-08-22 18:48:27 +05:30
Kovid Goyal 75a14bad36 Use CSS variables for themeing
Allows easily changing colors dynamically for light/dark mode or even
user themes
2020-08-22 18:48:27 +05:30
Kovid Goyal 57bbbf97a8 Fix color application in dark mode 2020-08-22 18:48:27 +05:30
Kovid Goyal 2c8f751455 Add text-decoration based highlight styles 2020-08-22 18:48:27 +05:30