Commit Graph

376 Commits (04844fc7ce1ceef2a4800da46d0123c196fabc63)

Author SHA1 Message Date
mummified-corroding-granny ea47902127 reduce scroll chaining on scrollable modals (#100)
Small lil PR to reduce/minimize overscroll (aka scroll chaining) when scrolling to the end of scrollable modals. Also relevant to mobile

Primary targets:
- GIFs scrollable tabs body
- EMOJI scrollable tabs body
- AWARDS scrollable tabs body

Should (TM) apply to other scrollable modals if the same HTML structure is used

Very important notes (TM):
* this does not apply to non-scrollable modals (e.g. delete and report)
* this only applies to the body of the modal where scrollable content is usually located (as per selector). Example of when it does not apply:
  * if we try to scroll near the search bar (e.g. on GIFs modal), we will still scroll the background
  * if we make the modal non-scrollable (e.g. limited search in emoji or its tabs), there is no overscroll protection

Why I chose this implementation:
* I have implemented this recently when all browsers started supporting it in the last months of 2022
* we cannot just disable the main body/html element scrollbar because it is likely to create headache-inducing content redraw situations
* minimalistic and it is a relatively modern way to do it
* about 300% better than some client-side javascript spaghetteh to avoid content redraws
* methodical alternative is to reimplement site-wide modals/scrolling (LMAO)
* I did not apply it to .modal-body because it does not work when we scroll in the empty area on the sides of the scrollable area (which I always do).

Reviewed-on: #100
Co-authored-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
Co-committed-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
2023-01-27 06:08:29 +00:00
Aevann 8bb7dd8c2b fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3477994#context 2023-01-25 17:52:31 +02:00
Aevann 3555e23f76 fix missing modlog kind for DM images 2023-01-25 13:35:46 +02:00
mummified-corroding-granny e7a786b7e9 remove z-index from dropdowns in search page (#96)
Kindly,

This fixes issue I created #60 . Note that both z-indexes had to be removed because when I kept either of them, there was still z-fighting issues.

Considering that .dropdown-actions is used elsewhere, I tested the changes also on these pages and it still (TM) works on my machine (TM).

./files/templates/home_comments.html <----- Didn't test on /comments because disabled but it is same as search.html AFAIK
./files/templates/home.html
./files/templates/log.html
./files/templates/search.html
./files/templates/submission.html
./files/templates/userpage/header.html

Reviewed-on: #96
Co-authored-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
Co-committed-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
2023-01-25 02:25:16 +00:00
Aevann 8790622f9d make links in quotes easier to read 2023-01-21 14:35:36 +02:00
Aevann 7fa52b14a8 fix this https://stupidpol.site/post/138414/a-major-problem-with-the-page/3392464#context 2023-01-21 07:39:42 +02:00
Aevann 9ded1cab20 move live commit to the sidebar where its less annoying 2023-01-21 06:27:30 +02:00
Aevann 5f2b2a2f8b fix shop banner 2023-01-20 09:22:31 +02:00
Aevann f17fade8a6 purge discord from site code 2023-01-20 07:31:53 +02:00
Aevann ef3e246cfc increase top margin for post markdown preview 2023-01-11 15:43:01 +02:00
Aevann 661d2219d7 remove my video fix thats unnecessary now 2023-01-02 05:14:07 +02:00
Aevann a42e31b60c fix videos 2023-01-01 14:50:48 +02:00
Aevann c3a5418d3a fix last commit 2023-01-01 14:23:34 +02:00
Aevann b1ad442edf fix videos overlapping on shit 2023-01-01 14:20:06 +02:00
Aevann 044664a25e get rid of useless tabs and spaces 2023-01-01 13:36:20 +02:00
Aevann 2b97c46912 fix gif modal cursor 2023-01-01 13:29:31 +02:00
Aevann 8a1343e739 Revert "remove all accessibility attributes"
This reverts commit e3a8fe85e3.
2023-01-01 13:12:35 +02:00
Aevann 9070f4ad2c like last commit 2023-01-01 13:09:27 +02:00
Aevann eeef22a9a1 minor css fix 2023-01-01 13:06:28 +02:00
Aevann e3a8fe85e3 remove all accessibility attributes 2023-01-01 13:05:39 +02:00
Aevann 1ee717a2a9 fix color picker 2023-01-01 12:19:18 +02:00
Aevann d0874f614b background improvements 2023-01-01 11:59:29 +02:00
Aevann f3e22a9011 make award modal look nicer 2023-01-01 10:56:05 +02:00
Aevann ac4926a752 css fix 2023-01-01 10:44:00 +02:00
Aevann b34b654175 restore all bootstrap margin and padding selectors 2023-01-01 10:38:09 +02:00
Aevann 870025bc07 remove vertical padding for <select> elements 2023-01-01 10:20:55 +02:00
Aevann 1aec0ab8d1 minor css modification 2023-01-01 10:17:10 +02:00
Aevann 83193bc4df minor css change 2023-01-01 10:03:51 +02:00
Aevann 802ce75b2d minor css fixes 2023-01-01 07:55:16 +02:00
Aevann c17b18b21f minor cosmetic fix 2022-12-30 19:15:50 +02:00
Aevann 381ea66e38 remove legacy PCM shit 2022-12-30 16:50:45 +02:00
Aevann f0b20cad55 the worst fucking code you'll ever see 2022-12-30 14:14:18 +02:00
Aevann 708e989de9 make sure toast is always on top 2022-12-30 11:52:19 +02:00
Aevann d9e7cd0be9 minor format css changes 2022-12-30 10:06:00 +02:00
Aevann 66f70bb32f restore main scrollbar 2022-12-30 06:00:29 +02:00
Aevann 93e9a42fa3 stop using inline style/script elements 2022-12-29 16:20:27 +02:00
Aevann b89df9a140 increase top padding for post-preview 2022-12-29 08:31:12 +02:00
Aevann f873f27e69 hide all scrollbars 2022-12-28 08:54:30 +02:00
Aevann 9bf8d7cd9a fix this https://stupidpol.site/h/meta/post/134631/im-too-lazy-to-test-so/3311840#context 2022-12-27 08:30:33 +02:00
Aevann 6d1465a097 like last commit 2022-12-27 06:00:22 +02:00
Aevann 43e82bb1cd like last commit 2022-12-27 05:57:34 +02:00
Aevann 0e9132a09d like last commit sorta 2022-12-27 05:57:20 +02:00
Aevann 35aedc8137 reduce award name size on mobile 2022-12-27 05:56:08 +02:00
Aevann 3ea03f33a6 higher padding for awards 2022-12-27 04:54:40 +02:00
Aevann 8e221de07e make font-size on award modal bigger 2022-12-27 04:48:09 +02:00
Aevann 9527b900a7 minor css changes to award modal 2022-12-26 21:11:26 +02:00
Aevann 99715c7559 add margin to award modal 2022-12-26 04:25:06 +02:00
Aevann 1c02223586 rework gif modal and award modal 2022-12-26 03:57:09 +02:00
Aevann d30d6b8314 limit chat on rdrama to jannoids 2022-12-25 22:13:29 +02:00
Aevann fe79b3fd8e make awards smaller 2022-12-25 07:25:53 +02:00
Aevann e6803f93e9 rework gif modal 2022-12-25 03:45:24 +02:00
Aevann1 217ff9e9e8 better looking award and gif modal 2022-12-21 18:07:17 +02:00
Aevann1 960c0a332f minor css fix 2022-12-21 16:14:31 +02:00
Aevann1 ea4e10b201 fix needless scrolling 2022-12-20 01:35:55 +02:00
Aevann1 ce23b35980 css fix for videos 2022-12-15 16:47:16 +02:00
Aevann1 8a2ca1d0d3 same as last bunch of commits 2022-12-14 21:54:30 +02:00
Aevann1 6535f94f63 same as last bunch of commits 2022-12-14 21:51:39 +02:00
Aevann1 bfc5b641c8 same as last 4 commits 2022-12-14 21:48:31 +02:00
Aevann1 69adbd6426 same as last 3 commits 2022-12-14 21:46:17 +02:00
Aevann1 c98a81908f same as last 2 commits 2022-12-14 21:45:30 +02:00
Aevann1 70d495070b add !important 2022-12-14 21:44:34 +02:00
Aevann1 43092ee07a add max-height and max-width to .resizable 2022-12-14 21:42:39 +02:00
Aevann1 b176bc79ac remove the bigger class 2022-12-14 19:06:59 +02:00
Aevann1 cf14f30200 distinguish chudrama posts 2022-12-14 17:24:08 +02:00
justcool393 ab41db22b7 [DO NOT MERGE] multiple sub banners (#59)
allows multiple sub banners

Snakes note: By request of Carp, especially for WPD.

Co-authored-by: justcool393 <justcool393@gmail.com>
Co-authored-by: Snakes <duolsm@outlook.com>
Reviewed-on: #59
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-11 23:44:34 +00:00
Aevann1 402e506335 increase --signature-max-height by 50px 2022-12-11 21:55:50 +02:00
Aevann1 0d57f11a03 make yt videos smaller inside textareas 2022-12-11 20:27:31 +02:00
Aevann1 b0b181e610 fix css rule 2022-12-11 19:16:30 +02:00
Aevann1 4439f03ef5 resizable videos 2022-12-10 21:12:14 +02:00
Aevann1 3b207646c5 make videos bigger 2022-12-10 20:42:00 +02:00
Aevann1 f2d7a5d35c minor padding change 2022-12-10 17:22:29 +02:00
Aevann1 95759972c7 minor position change for video icon 2022-12-10 15:35:00 +02:00
Aevann1 1886dd986e move sort_table.js to core.js 2022-12-10 12:40:34 +02:00
Snakes f06da51288 vid-thumbs: suppress ffmpeg stdout, fix vid toggle
Previous behavior on submission_listing was clicking a thumbnail would
toggle an inline video player. This was retained for clicking the
thumbnail off the `.video-play` element; however, directly clicking
the `.video-play` did not have the `toggleVideo` onclick event attached
and would navigate the browser to the video file directly.
2022-12-10 04:05:46 +00:00
Aevann1 37cedaee9f add thumbnails for videos on the frontpage 2022-12-10 04:05:46 +00:00
Aevann a0a8535ec3 fix standard urls for w3.org (#57)
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Reviewed-on: #57
Co-authored-by: Aevann <aevann@noreply.fsdfsd.net>
Co-committed-by: Aevann <aevann@noreply.fsdfsd.net>
2022-12-09 05:41:53 +00:00
Aevann1 93063516ce tie transparent theme to backgrounds 2022-12-07 19:53:29 +02:00
Aevann 18df70caab allow JL3 to edit rules (#39)
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Reviewed-on: #39
Co-authored-by: Aevann <aevann@noreply.fsdfsd.net>
Co-committed-by: Aevann <aevann@noreply.fsdfsd.net>
2022-12-05 05:22:08 +00:00
Aevann1 13a208ee88 remove stray tabs and spaces 2022-12-05 05:03:10 +02:00
Aevann 5850bb26fa add custom backgrounds paypig feature to compensate for profile views (#44)
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Reviewed-on: #44
Co-authored-by: Aevann <aevann@noreply.fsdfsd.net>
Co-committed-by: Aevann <aevann@noreply.fsdfsd.net>
2022-12-05 00:02:29 +00:00
Aevann 3eecec0a51 downloadable videos on apple devices (#42)
![image](/attachments/bd1b3e1e-c0a9-4eee-9b1c-a03e1e8a8cbd)

Co-authored-by: Aevann1 <randomname42029@gmail.com>
Co-authored-by: Snakes <duolsm@outlook.com>
Co-authored-by: Snakes <snakes@noreply.fsdfsd.net>
Reviewed-on: #42
Co-authored-by: Aevann <aevann@noreply.fsdfsd.net>
Co-committed-by: Aevann <aevann@noreply.fsdfsd.net>
2022-12-04 19:02:22 +00:00
Aevann e105035272 remove country club system and replace it with a 3 tier thing: (#41)
- /h/masterbaiters: 1 TS - for gayops

- /h/countryclub: 1000 TS - for anything requiring secrecy and doesnt need critical mass - have to make it a rule that u cant post gayops in /h/countryclub

- /h/chudrama: 5000 TS - for chad+stud posts

EDIT: i removed the /h/masterbaiters gate, but u can bring it back if u want
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Co-authored-by: Snakes <duolsm@outlook.com>
Reviewed-on: #41
Co-authored-by: Aevann <aevann@noreply.fsdfsd.net>
Co-committed-by: Aevann <aevann@noreply.fsdfsd.net>
2022-12-04 18:39:06 +00:00
Aevann1 49263fdd86 Revert "stop using background css property and use its parts instead"
This reverts commit e4e67a4424.
2022-12-04 00:17:35 +02:00
Aevann1 e4e67a4424 stop using background css property and use its parts instead 2022-12-04 00:11:02 +02:00
Aevann1 8f065a2428 fix award modal on mobile 2022-12-03 02:14:11 +02:00
Snakes 64de53e9a9
Fix signup overflowing on mobile, and related. 2022-12-02 18:33:11 -05:00
Aevann1 68563ec8ff make collapse icon bigger 2022-12-01 20:31:34 +02:00
Aevann1 93dc0e2cc8 limit smol-fp to only when the HOLES button is present 2022-11-30 13:29:45 +02:00
Aevann1 ed5b3dc4bb remove ruckus.webp 2022-11-29 07:25:17 +02:00
Aevann1 46f4a8b387 make sorting buttons on frontpage smaller on small screens 2022-11-29 02:41:16 +02:00
Aevann1 666b146daf css change 2022-11-29 01:50:23 +02:00
Aevann1 add8c27182 replace bad color with better color 2022-11-29 00:48:39 +02:00
geese_suck 030710e5db
add fallback award so I dont get fucked by aevann asking me to change something for a site that has 3 active users 2022-11-27 21:24:05 -08:00
geese_suck 8dcd385218 rework awards (#26)
dude cherrypicking lmao

Co-authored-by: geese_suck <deandre.williams@geese-suck.us>
Reviewed-on: #26
Co-authored-by: geese_suck <geese_suck@noreply.fsdfsd.net>
Co-committed-by: geese_suck <geese_suck@noreply.fsdfsd.net>
2022-11-28 00:37:52 +00:00
justcool393 5381074617 sigs: limit to 250px (configurable by variable) 2022-11-27 12:15:33 -06:00
Aevann 6f10140b21 Revert "make awards significantly less retarded (#12)"
This reverts commit 04dbda7f03.
2022-11-27 04:07:45 +02:00
geese_suck 04dbda7f03 make awards significantly less retarded (#12)
Co-authored-by: gooseman <16601315+geese-suck@users.noreply.github.com>
Co-authored-by: geese_suck <16601315+geese-suck@users.noreply.github.com>
Reviewed-on: #12
Co-authored-by: geese_suck <geese_suck@noreply.fsdfsd.net>
Co-committed-by: geese_suck <geese_suck@noreply.fsdfsd.net>
2022-11-27 02:05:12 +00:00
Aevann1 c79456c86b remove accidentially-committed shit 2022-11-27 02:09:26 +02:00
Aevann1 8f4a6ba511 reduce tooltip border radius 2022-11-27 00:07:03 +02:00
justcool393 a56633c3b1 api: manual revert of e1f785c370 (by @Aevann1's request) 2022-11-26 15:25:00 -06:00