Commit Graph

520 Commits (6faf24b8beb43241eea6190be346f41799f7f821)

Author SHA1 Message Date
Aevann 9689d63c3b fix chud titles 2023-03-25 19:14:32 +02:00
Aevann 20e4f8a9b8 minor cosmetic fix to chud images 2023-03-25 18:03:38 +02:00
Aevann 182475f1f8 fix chud images for firefox-cels 2023-03-25 17:57:49 +02:00
Aevann 8e84a3836f make agendaposter-6 and 7 bigger on small screens 2023-03-25 15:50:29 +02:00
Aevann 4bcffaea21 unbreakable user mentions 2023-03-25 00:46:47 +02:00
Aevann 309ce6b7a5 same as last commit 2023-03-25 00:14:23 +02:00
Aevann f181f18ff4 same as last commit 2023-03-25 00:11:59 +02:00
Aevann 2f1f89fae2 minor css change 2023-03-25 00:10:11 +02:00
Aevann 4ecb552169 comments overhaul 2023-03-24 18:30:27 +02:00
Aevann 02a7f5081c make agendaposter-6 smaller 2023-03-24 17:02:59 +02:00
Aevann c971240256 fix agendaposter image sizes 2023-03-24 16:35:31 +02:00
Aevann ae83c6941e cachebust chud images 2023-03-24 16:22:39 +02:00
Aevann 547c22f2f2 reduce agendaposter:after size for small screens 2023-03-24 16:16:45 +02:00
Aevann 1aa0db2902 cachebust chud images 2023-03-24 16:09:29 +02:00
Aevann 00d0dc94c1 Revert "fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3855665#context"
This reverts commit 82694f1e62.
2023-03-24 16:07:09 +02:00
Aevann 82694f1e62 fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3855665#context 2023-03-24 15:49:26 +02:00
Aevann 019253e6db use css for chud images instead 2023-03-24 14:29:19 +02:00
Aevann bcf1810b7b remove font-weight: bold; 2023-03-22 19:59:46 +02:00
Aevann 078292e793 show price more prominently in award modal 2023-03-21 20:49:27 +02:00
Aevann e3ad0d59c4 increase #note min height to 60px 2023-03-21 16:47:31 +02:00
Aevann bdbe4d8438 make /h/countryclub name be a rotating rainbow 2023-03-21 16:41:39 +02:00
Aevann a5d7cc63ed cachebust all assets 2023-03-21 15:58:14 +02:00
Aevann 77dbaf47f2 minor css fix 2023-03-21 13:43:28 +02:00
Aevann 4bea341e60 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3818998#context 2023-03-18 19:06:32 +02:00
Aevann 95a0edf070 disable "GIVE AWARD" button on carp and pizzashill 2023-03-18 18:10:14 +02:00
Aevann 56a6d59954 minor padding fix 2023-03-18 08:23:26 +02:00
Aevann de243a7a2b reduce the visitor count size on mobile 2023-03-17 09:21:07 +02:00
Aevann e873471174 minor css fix 2023-03-16 15:40:13 +02:00
Aevann b970d1cf4f minor css fix 2023-03-16 08:51:10 +02:00
Aevann 41dee355c6 minor css fixes for body padding 2023-03-16 06:50:38 +02:00
Aevann 2cf6b8d249 prevent buttons from getting underlined 2023-03-15 07:58:00 +02:00
Aevann a55cf4a74f fix body top padding 2023-03-15 05:13:16 +02:00
Aevann 825d249cb6 Revert "bigger collapse lines on mobile"
This reverts commit 0abd80a24d.
2023-03-14 08:29:26 +02:00
Aevann 729b095713 remove /h/masterbaiters 2023-03-13 20:53:08 +02:00
Aevann 0abd80a24d bigger collapse lines on mobile 2023-03-13 16:24:17 +02:00
Aevann 9dd6c3f831 reduce blockquote padding on mobile 2023-03-12 16:19:02 +02:00
Aevann 835c5f810d use .img class 2023-03-12 15:13:28 +02:00
Aevann 51c3ad1424 back to 70vh for videos 2023-03-12 12:28:42 +02:00
Aevann 93c38657f3 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3770765#context 2023-03-12 10:52:12 +02:00
Aevann f80a927172 disallow scrolling in the backdrop of modals 2023-03-12 01:56:30 +02:00
Aevann eb837be37d smaller space between comment lines on mobile 2023-03-11 14:45:00 +02:00
Aevann ade898ca29 fix this https://stupidpol.site/h/changelog/post/153683/did-this/3763064#context 2023-03-11 14:17:21 +02:00
Aevann c1292de683 fix black patron name 2023-03-11 08:40:16 +02:00
Aevann 64f0c42913 reduce video max height to 80 of screen height 2023-03-11 08:28:39 +02:00
Aevann 04844fc7ce add automatic DDOS mitigation 2023-03-11 08:13:58 +02:00
Aevann 8a1962caae better cursor for spoiler 2023-03-11 07:15:07 +02:00
Aevann e2c1abd8f2 fix award note height 2023-03-10 23:41:07 +02:00
Aevann fad16640e3 fix blackname 2023-03-10 23:28:19 +02:00
Aevann f0b8dcf11e same as last commit 2023-03-07 04:08:36 +02:00
Aevann 03861a0d8c increase max-height of resizable videos to 100vh 2023-03-07 04:06:46 +02:00
Aevann ce90178349 prevent hiding of resize icon 2023-03-07 04:05:37 +02:00
Aevann 7ef9f70b31 minor cosmetic improvement to /ping_groups 2023-03-07 03:02:49 +02:00
Aevann 24bc20e713 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3729129#context 2023-03-07 01:41:59 +02:00
Aevann b6b3f8652b Revert "minor padding fix"
This reverts commit 5e80667809.
2023-03-06 19:38:59 +02:00
Aevann 178032a130 fix message input 2023-03-06 01:02:54 +02:00
Aevann 5e80667809 minor padding fix 2023-03-05 21:47:23 +02:00
Aevann 607b833c58 remove unnecessary and confusing feature 2023-03-03 23:47:27 +02:00
Aevann fe894ff917 rename #profile-content--nav to #content 2023-02-28 19:31:51 +02:00
Aevann 0d2463807a increase max comment height from 100vh to 400vh 2023-02-27 02:40:36 +02:00
Aevann 686f88e9cf css solution to the height spam question 2023-02-26 13:08:52 +02:00
Aevann 1115877725 add "owner" icon to ping groups member list 2023-02-26 12:35:50 +02:00
Aevann 868ddd5039 remove background for pfps 2023-02-26 10:52:40 +02:00
Aevann f52411ecd8 remove background color for pfps 2023-02-26 10:46:42 +02:00
Aevann 63ff0d8511 better UI for ping groups 2023-02-25 23:44:02 +02:00
Aevann 7a8ec235e0 add tabs to award modal 2023-02-25 21:40:15 +02:00
Aevann 7ebb94fba9 make reply link unbreakable 2023-02-25 18:12:18 +02:00
Aevann 61d256eaaa adds an easy link to download all emojis 2023-02-25 01:14:18 +02:00
Aevann dd9538f200 fix unnecessary padding in headerless templates 2023-02-24 08:31:27 +02:00
Aevann 611cf4ba95 merge header.css into main.css 2023-02-24 05:50:40 +02:00
mummified-corroding-granny 3b261a76ba post: fix post vote horizontal content reflow (#131)
Kindly,

Currently, the vote count at the top left of any post reserves too little space leading to many reflow situations when we vote on it:
* only happens on desktop version, considering the mobile website uses different layout/code
* happens whenever our vote changes the count between 9 to 10 (?), 99 to 100, 999 to 1000. Also happens in more common situations like 81 to 82 and :marseymanysuchcases:

I did a minimalist approach by removing the margin, reserving just enough width (values between -XXX and XXXX) and lowering the vote buttons to minimize hat collision. Arguably, the vote buttons look better with the PR, because they are centered with flairs (WPD) and less off-center on rdrama with post rewards, pfp, ...
Net excess of ~10px, which I feel is borderline too much

Thanks,
granny

Reviewed-on: #131
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-22 06:27:11 +00:00
Aevann 94d10fa274 hide number arrows 2023-02-21 20:12:33 +02:00
mummified-corroding-granny c51261aab3 user tables: add float plus margins to replace whitespace (#130)
Kindly,

In most pages where there are tables containing usernames, there is a space between the user icon and the username that gets underlined on hover. It happens in most tables in this app (applies both to rdrama and WPD). That automatic whitepace appears to come from the usual HTML default space between inline elements. The alternative is to change inheritence but appears cumbersome.

This PR fixes that.

Affected pages (those that render user_in_table.html):

./files/templates/admin/alts.html
./files/templates/admin/loggedin.html
./files/templates/admin/lottery.html
./files/templates/admin/patrons.html
./files/templates/admin/shadowbanned.html
./files/templates/admins.html
./files/templates/banned.html
./files/templates/chuds.html
./files/templates/grassed.html
./files/templates/hats.html
./files/templates/leaderboard.html
./files/templates/marseys.html
./files/templates/poll_votes.html
./files/templates/settings/security.html
./files/templates/special/worldcup22_leaderboard.html
./files/templates/sub/blockers.html
./files/templates/sub/exilees.html
./files/templates/sub/mods.html
./files/templates/userpage/blockers.html
./files/templates/userpage/followers.html
./files/templates/userpage/following.html
./files/templates/userpage/views.html
./files/templates/userpage/voters.html
./files/templates/votes.html

Thanks,
Granny

Reviewed-on: #130
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-21 14:21:45 +00:00
Aevann 479b508762 fix this https://stupidpol.site/h/changelog/post/148586/message-search/3624361#context 2023-02-20 21:14:35 +02:00
Aevann f6b0282634 increase comment paragraph max height from 50vh to 100vh 2023-02-19 14:29:44 +02:00
Aevann 8b8a0423d8 restore -sm bootstrap margins/padding classes but use them different;y 2023-02-19 11:12:14 +02:00
Aevann dd0ca9dafb restore all bootstrap css classes for desktop margins/padding 2023-02-19 10:56:06 +02:00
Aevann 745dc3e85b fix radio buttons on mobile 2023-02-19 00:53:31 +02:00
Aevann f81e6feeca add a max height for individial tags inside comments so this doesnt happen again https://stupidpol.site/h/meta/post/147023/poll-whos-ur-favorite-rdrama-train/3587461#context 2023-02-18 21:32:37 +02:00
Aevann 52907b4a2e remove UI animations 2023-02-17 19:11:23 +02:00
Aevann b5b7c8ef5e stop centering yt videos 2023-02-17 17:27:50 +02:00
Aevann d278c7dd70 fix cropped banner on mobile 2023-02-17 17:24:11 +02:00
mummified-corroding-granny 8a4a37ba8e Comments: fix inconsistent nested lists padding as compared to posts (#117)
Kindly,

Seems strange that posts can use nested lists with increased padding at each level while comments do not have any padding on the nested lists

EDIT: disregard branch name. A bit tipsy and just used the branch that I had in my hand
Reviewed-on: #117
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-12 07:23:25 +00:00
Aevann e945fc2400 make blockquotes look nicer 2023-02-10 08:15:04 +02:00
Aevann 994ab4e2b7 minor cosmetic fix for ghost posts 2023-02-08 05:15:52 +02:00
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 a9ce706ff6 minor css fix 2023-02-06 08:05:37 +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 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
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