Joachim
7f3b208927
Align user menu to the right on mobile
2022-12-23 20:17:12 +01:00
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
259ceeea21
./bw-dev prettier
2022-12-20 00:06:02 +01:00
e4892701d8
Update forms.js
...
Now it works in the correct fields.
2022-12-19 23:57:00 +01:00
64968c3081
Update forms.js
...
fixes #2519
2022-12-18 22:28:05 +01:00
Christof Dorner
13b262bb7b
Detect preferred timezone via JavaScript on register
2022-12-11 23:32:07 +01:00
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
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
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
17dc5e7eb1
Merge branch 'main' into tour
...
- we need to do this because of conflicting migrations
2022-07-17 16:30:45 +10:00
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
591c4d9b75
Fixes numbering on book lists
2022-07-09 13:33:58 -07:00
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
b41c826a0d
custom style for highlighting tour anchorpoints
2022-07-09 14:29:04 +10:00
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
d1180d4216
linting fix for linting fix
2022-07-03 17:24:33 +10:00
b82cf887e2
linting fixes
2022-07-03 17:14:13 +10:00
f8e51b5826
format guided tour js with prettier
2022-07-03 16:24:34 +10:00
d1079a1f7d
remove console log from guided_tour.js
2022-07-02 18:44:18 +10:00
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
2030dc834f
clean up tour files
2022-06-13 16:48:49 +10:00
e768cf49a3
add barcode reader to home feed tour
2022-06-12 20:11:21 +10:00
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
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
b6cd64f82a
add Shepherd version 10.0.0
2022-06-11 14:19:03 +10:00
74925a379a
Prettier
2022-05-26 12:54:31 -07:00
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
51f5c9562d
Uses details for user menu in main navbar
2022-04-08 13:45:17 -07:00
23ff58a62b
Fixes scrollbar colors in dark mode
2022-03-26 11:35:24 -07:00
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
35e6dede09
Script to remove input fields
2022-03-14 12:41:41 -07:00
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
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
Vivianne Langdon
c0fed31fb0
eslint
2022-02-28 21:28:33 -08:00
Vivianne Langdon
62b4133e58
Move quagga to vendor.
2022-02-28 21:22:49 -08:00
2c8fa5cd9b
Merge branch 'themes' into dark-theme
2022-02-28 13:32:37 -08:00
2d516812b4
Fixes icons by moving import to theme
2022-02-28 09:34:54 -08:00
Vivianne Langdon
3a9ff2c2ea
Refer to canvas by type
...
- Fixes stylelint without adding an exclusion
2022-02-27 14:08:11 -08:00