Commit Graph

448 Commits (81fd152e0d9b0de1c394cc724927c6f8b1836340)

Author SHA1 Message Date
Aevann 81fd152e0d fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3540539#context 2023-02-07 03:57:36 +02:00
Aevann 48450b70d4 highlight /h/countryclub and /h/masterbaiters too 2023-02-07 03:42:56 +02:00
Aevann 13dafeb8a2 improve chat 2023-02-07 03:06:07 +02:00
Aevann a9ce706ff6 minor css fix 2023-02-06 08:05:37 +02:00
Aevann 16cc1721e8 fix rules on win98 theme 2023-02-06 07:59:33 +02:00
Aevann 2421effcd3 fix body top padding 2023-02-06 06:26:16 +02:00
Aevann 1245298954 increase header--icon size 2023-02-03 05:10:20 +02:00
mummified-corroding-granny b0797c4493 fix-small-tisms that I had piled up in my todo (#109)
fix-small-tisms that I had piled up in my todo

Reviewed-on: #109
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-02-02 16:54:52 +00:00
Aevann 9135a1a241 fix spoilers on some themes 2023-02-02 06:03:26 +02:00
mummified-corroding-granny 3a3e1d8d74 add javascript and css for non-click-sortable table headers th (#107)
I noticed there are some over-interactive tables in general on rdrama. Particularly, multiple columns in the shop tables (awards and hats), which allow you to sort by buttons, icons, … The one page for user profile views also comes to mind, because it uses relative time since last visit, is paged server-side and browsers do not know how to sort that type of data anyway.

Also I noticed there are some tables that have disabled sorting by using <td> instead of <th> for the headers as is the case of the following pages:
* @uid/followed
* @uid/following

All of these situations are accounted for but need to be changed later in a different PR, because I can't right now.

For example, the "Buy" column of the shop can be changed to the following to disable sorting:

`<th class="disable-sort-click">Buy</th>`

Reviewed-on: #107
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-02-01 14:10:10 +00:00
Aevann 441ca8a43f fix youtube embeds in chat 2023-01-28 16:46:49 +02:00
Aevann 599fb42080 add more margin between users 2023-01-27 20:23:18 +02:00
Aevann c45cd0fde8 make a UI for /admin/dm_images 2023-01-27 14:24:39 +02:00
Aevann 303db4e6db change chudrama color on focus 2023-01-27 10:15:02 +02:00
Aevann e7eb024b4f dont show chudrama as red in tables 2023-01-27 10:14:49 +02:00
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
geese_suck 4afa57a9ba
fix classic theme 2023-01-25 07:25:37 -08: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 3217a1146a fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3464917#context 2023-01-24 12:47:31 +02:00
Aevann d9553d2636 chat anti-spam 2023-01-23 08:04:02 +02:00
Aevann d2cbf72803 decreases buttons top margin 2023-01-23 03:15:46 +02:00
Aevann bc99e8780a adjust padding 2023-01-22 11:13:37 +02:00
Aevann 37726b445a adjust chat margins 2023-01-22 11:09:57 +02:00
Aevann b1dba34658 smaller chat messages 2023-01-22 10:36:14 +02:00
Aevann 7fbe2c82a4 margins 2023-01-22 09:25:20 +02:00
Aevann 8d74d69d76 chat improvements 2023-01-22 09:19:23 +02:00
Aevann 30ab36f595 add padding to highlighted messages 2023-01-22 09:15:58 +02:00
Aevann d5291a5e41 highlight using primary color 2023-01-22 09:13:44 +02:00
Aevann a6d7b681c1 disable all scrollbars in chat 2023-01-22 07:18:57 +02:00
Aevann 1ee213f742 another chat rework 2023-01-22 04:43:28 +02:00
Aevann 74f2098144 reduce chat-message max width 2023-01-22 02:13:58 +02:00
Aevann 8790622f9d make links in quotes easier to read 2023-01-21 14:35:36 +02:00
Aevann 39bec16c1a more chat improvements 2023-01-21 14:29:47 +02:00
Aevann 4bd99bc171 more chat improvements 2023-01-21 14:24:00 +02:00
Aevann 47970cf1ec same as last commit 2023-01-21 14:15:59 +02:00
Aevann 6bbc9f919f more chat improvements 2023-01-21 14:14:26 +02:00
Aevann 0255333e37 more chat improvements 2023-01-21 14:12:44 +02:00
Aevann c57dc8895f more chat improvements 2023-01-21 14:07:23 +02:00
Aevann 06bc0d4fdf minor improvement to chat 2023-01-21 13:52:12 +02:00
Aevann ae9fe04854 chat improvements 2023-01-21 13:39:42 +02:00
Aevann 42ade0c2a1 increase message height 2023-01-21 13:23:05 +02:00
Aevann d96b938678 [chat] increase fontsize on a bunch of stuff 2023-01-21 13:14:55 +02:00
Aevann b49cc69108 port over the max-height thing to new chat 2023-01-21 13:12:15 +02:00
Aevann 4fe21f3e31 make chat icons a little bit bigger 2023-01-21 12:40:48 +02:00
Aevann f2fdefa8cd chat overhaul 2023-01-21 12:36:21 +02:00
Aevann 111f664440 do this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3452754#context 2023-01-21 11:29:53 +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