Commit graph

450 commits

Author SHA1 Message Date
Giebisch 7e7966987b Merge branch 'main' into import-limit 2023-01-02 15:42:50 +01:00
Joachim 00d14cd37c Stylelint 2022-12-23 20:25:42 +01:00
Joachim 91d67b44fd Add back button to user submenu on mobile 2022-12-23 20:17:35 +01:00
Joachim 7f3b208927 Align user menu to the right on mobile 2022-12-23 20:17:12 +01:00
Jascha Urbach 105144a026
New approach: Event Delegation
This works as follows:

The div where the input fields for the subjects live got an id. The script now listens to all keypresses in this div, but only does something if it is within an INPUT field. If it is an INPUT field within this div, it looks for keyCode 13. If it is 13, preventDefault() is triggered.  Else nothing happens.
2022-12-20 11:36:14 +01:00
Jascha Urbach 259ceeea21
./bw-dev prettier 2022-12-20 00:06:02 +01:00
Jascha Urbach e4892701d8
Update forms.js
Now it works in the correct fields.
2022-12-19 23:57:00 +01:00
Jascha Urbach 64968c3081
Update forms.js
fixes #2519
2022-12-18 22:28:05 +01:00
Mouse Reeve d4351cfcb4
Merge branch 'main' into import-limit 2022-12-16 12:44:57 -08:00
Giebisch df54df8309 Added Import Limit 2022-12-15 23:43:25 +01:00
Christof Dorner 13b262bb7b Detect preferred timezone via JavaScript on register 2022-12-11 23:32:07 +01:00
Mouse Reeve 300573e66e
Merge pull request #2457 from viviicat/use-html-templates
make use of templates instead of hidden divs which is more elegant
2022-12-04 11:24:04 -08:00
Mouse Reeve 61d8748d59
Merge pull request #2459 from viviicat/dark-theme-contrast
Dark theme contrast
2022-11-26 20:43:53 -08:00
Vivianne Langdon 56519d569d fix broken css 2022-11-26 15:29:08 -08:00
Vivianne Langdon ab43134cc0 many minor visual tweaks to fix spacing and usability 2022-11-26 15:29:08 -08:00
Vivianne Langdon 6cf028994e dark theme: increase background color darkness, fix shepherd color 2022-11-26 13:18:11 -08:00
Vivianne Langdon c2b447cf49 lint 2022-11-26 12:19:37 -08:00
Vivianne Langdon c4398ff187 make use of templates instead of hidden divs which is more elegant 2022-11-26 12:14:48 -08:00
Hugh Rundle 6baa58260a
2fa qrcode fixes (#2407)
* 2fa qrcode fixes

- add light background to qr code when using dark theme
- show OTP secret code under qr code for manual entry on apps if required

fixes #2386
fixes #2389

* fix code formatting

* revert changes re visible code

This conflicts with an existing PR.

* i code pretty
2022-11-19 09:51:18 -08:00
Olivier Brencklé cfaec434c0 🚸 Close dropdown when opening modal item 2022-10-28 13:15:53 +02:00
Olivier Brencklé 474b78dad2 💄 Set dropdown menu below modals on mobile 2022-10-24 19:34:25 +02:00
Hugh Rundle 17dc5e7eb1 Merge branch 'main' into tour
- we need to do this because of conflicting migrations
2022-07-17 16:30:45 +10:00
Hugh Rundle 37c2ad11b6 fix border radius on shepherd messages
remove bottom border radius from message text and top border radius from message footer on guided tour popovers.
2022-07-10 09:54:19 +10:00
Mouse Reeve 591c4d9b75 Fixes numbering on book lists 2022-07-09 13:33:58 -07:00
Hugh Rundle 3c317d509d fix sass styles import bug
Using @import caused styles to double up on elements, in some cases preventing the correct override behaviour.
Usint @use instead fixes this, and is recommended by Sass for exactly this reason.
2022-07-09 14:42:42 +10:00
Hugh Rundle b41c826a0d custom style for highlighting tour anchorpoints 2022-07-09 14:29:04 +10:00
Hugh Rundle 68308aaa79 update tour colour scheme
- use info instead of default
- increase box shadow
- arrows at top should match header colour
2022-07-09 12:35:06 +10:00
Hugh Rundle d1180d4216 linting fix for linting fix 2022-07-03 17:24:33 +10:00
Hugh Rundle b82cf887e2 linting fixes 2022-07-03 17:14:13 +10:00
Hugh Rundle f8e51b5826 format guided tour js with prettier 2022-07-03 16:24:34 +10:00
Hugh Rundle d1079a1f7d remove console log from guided_tour.js 2022-07-02 18:44:18 +10:00
Hugh Rundle 57965973dc make guided tour cancel button DRY
Move cancel button function into a separate JS file.
The selector JS for this function cannot be within bookwyrm.js because the guided tour elements load after bookwyrm.js.
2022-06-18 13:27:00 +10:00
Hugh Rundle 2030dc834f clean up tour files 2022-06-13 16:48:49 +10:00
Hugh Rundle e768cf49a3 add barcode reader to home feed tour 2022-06-12 20:11:21 +10:00
Hugh Rundle c614aeb28e add shepherd tours
This file creates and triggers tours using shepherd.

Initially this is a tour on the home feed page, triggered by clicking on the help button in the top nav.
2022-06-12 19:43:21 +10:00
Hugh Rundle cfa659748c add shepherd styles for guided tour
Adds a sass file based on the v10.0.0 Shepherd CSS. Original Shepherd styles are kept where appropriate, otherwise this is intended to inherit whatever styles are being used through the Bulma and Bookwyrm SASS, so that it uses appropriate colours in both light and dark modes.
2022-06-12 13:42:06 +10:00
Hugh Rundle b6cd64f82a add Shepherd version 10.0.0 2022-06-11 14:19:03 +10:00
Mouse Reeve 74925a379a Prettier 2022-05-26 12:54:31 -07:00
Mouse Reeve 4905652e22 Handle stopped reading special case in javascript
This should be refactored, but maybe not today
2022-05-26 12:23:13 -07:00
Vivianne Langdon 64b623df32 fixes for bulma not having good dark support 2022-04-09 00:06:10 -07:00
Vivianne Langdon d3992802f2 use a new has-text-default instead of has-text-black 2022-04-08 23:14:30 -07:00
Mouse Reeve 51f5c9562d Uses details for user menu in main navbar 2022-04-08 13:45:17 -07:00
Mouse Reeve 23ff58a62b Fixes scrollbar colors in dark mode 2022-03-26 11:35:24 -07:00
Mouse Reeve 43cc017b44 Removes tooltip component 2022-03-21 12:32:53 -07:00
Vivianne Langdon 3050b33084 add success-light and warning-light! 2022-03-16 20:21:13 -07:00
Mouse Reeve 35e6dede09 Script to remove input fields 2022-03-14 12:41:41 -07:00
Mouse Reeve bfb8fc800a Moves duplicate field script into its own file 2022-03-14 10:59:24 -07:00
Vivianne 3ee3e9a13c
Merge branch 'main' into code-scanning 2022-03-01 18:33:40 -08:00
Mouse Reeve 38535f811c Python formatting 2022-03-01 11:39:08 -08:00
Vivianne Langdon 8e9bacc527 Fix red for <code> being too harsh 2022-02-28 23:31:57 -08:00