Commit Graph

2643 Commits

Author SHA1 Message Date
e46a854463 [matrix] Search to top, icon
* Search bar to top, magnifying glass

* Remove old file

* Remove empty style directive
2020-12-18 21:18:52 -05:00
e648cfbcad First pass at centering content for large displays 2020-12-18 21:18:52 -05:00
0e75a21a67 Add dark theme for codeblocks 2020-12-18 21:18:52 -05:00
d05fd3552f Actually make overflowing have a scrollbar on mobile 2020-12-18 21:18:52 -05:00
d69d509453 Fix codeblock related things with mobile responsiveness. 2020-12-18 21:18:51 -05:00
410a0c8794 Use default scrollbar for body on webkit browsers 2020-12-18 21:18:51 -05:00
9653ec5188 [matrix] Modal cleanup
* General modal cleanup

* Remove second scrollbar caused by modal
2020-12-18 21:18:51 -05:00
e7c6643730 [matrix] Dark Theme
* Apply width restructions to modals and images

* Dark theme 2.0

* Add webkit scrollbar

* Use Object.keys instead of Object.entries where applicable
2020-12-18 21:18:51 -05:00
51d76e819b Proper padding for the copy button 2020-12-18 21:18:51 -05:00
385657179d Reverse the related links 2020-12-18 21:18:51 -05:00
25e3a31827 Use html_js_files instead of the old approach to add JS files. 2020-12-18 21:18:51 -05:00
2e3b8dc3d1 Cleanup copy button CSS and add a hover-over explanation. 2020-12-18 21:18:51 -05:00
7607d3628d Rewrite the DOM to use CSS grids
This also rewrites the CSS to use CSS variables. Currently this isn't
done to codeblocks however.
2020-12-18 21:18:51 -05:00
ce0d0a20dd add copy codeblock button
Apply suggestions from code review

Co-authored-by: Danny <Rapptz@users.noreply.github.com>

Change to icon, change according to slice's review
2020-12-18 21:18:51 -05:00
c21919cee5 [matrix] Add sans-serif font toggle to settings modal
* Add sans serif font toggle

* remove unnecessary boolean comparison from setFont

Co-authored-by: slice <ryaneft@gmail.com>

* Update checkbox title

Co-authored-by: slice <ryaneft@gmail.com>

* General cleanup of settings system

* Apply overflow hidden to modal

Co-authored-by: slice <ryaneft@gmail.com>
2020-12-18 21:18:50 -05:00
8be9ef38db [matrix] Create settings modal
* Create settings modal

* Fix issue with spacing after settings button

* Fix issue with modal background on mobile devices

* Add close button to modal

* Add tooltip to close button

* Support closing modal with escape key

* Add missing semicolon to keydown event listener
2020-12-18 21:18:50 -05:00
70c73084b3 [matrix] Refactor docs JS
* Refactor custom.js

* Refactor scorer.js

* tables variable shoudn't be in global scope
2020-12-18 21:18:50 -05:00
51f6787692 Add favicon 2020-12-18 21:18:50 -05:00
4dcf4bc6f4 Use actual viewport tag with initial-scale set to 1 2020-12-18 21:18:50 -05:00
e3ffe22129 Add fixed header links, fix some parts of mobile UI
Dynamic content width equal to old one if on 1080p

Fix mobile view

Disable fixed header on mobile
2020-12-18 21:18:50 -05:00
fd14cf7b81 Bump Sphinx to 3.0.3 2020-12-18 21:18:50 -05:00
ad694d8348 make documentation sphinx 3.x compatible 2020-12-18 21:18:50 -05:00
5bd05b194d Move table JS outside of scrolling 2020-12-18 21:18:50 -05:00
5fbb340339 Bump Sphinx to 2.4.4 2020-12-18 21:18:50 -05:00
9b88c63163 Add attributetable and add some class-level sections.
The extensions have yet to receive this treatment and CSS needs work,
but for now this is fine.
2020-12-18 21:18:47 -05:00
93f102ca90 Add support for Member.pending boolean attribute 2020-12-18 21:02:22 -05:00
f9dd200314 [commands] max_concurrency comes before cooldowns
Fix #6172
2020-12-17 22:21:45 -05:00
3fea697ba5 Add versionadded string for Emoji.url_as 2020-12-17 22:21:45 -05:00
13bba3afc2 Add Emoji.url_as 2020-12-17 22:20:00 -05:00
6515f33978 [tasks] Fix a typo in documentation 2020-12-14 22:18:40 -05:00
0216db0c0a [tasks] Add support for manually calling the wrapped coroutine 2020-12-14 22:11:37 -05:00
60f804c632 Update Windows opus binaries from 1.2.1 to 1.3.1 2020-12-12 20:23:57 -05:00
a20ddfa766 Add in Decoder 2020-12-12 20:12:04 -05:00
a4b20d08c3 Make File docstring raw for Python 3.9 compatibility 2020-12-11 03:22:36 -05:00
52d587d286 Allow PartialMessage to work with DM channels as well 2020-12-11 02:32:51 -05:00
186f4968d3 Export to_message_reference_dict to make PartialMessage.reply work 2020-12-11 00:39:05 -05:00
ebf623d9de Add operations you can do to a Message and PartialMessage to docs 2020-12-11 00:32:38 -05:00
3fe6d261f1 Add PartialMessage to allow working with channel/message_id pairs.
Fix #5905
2020-12-11 00:32:38 -05:00
bde5bb5d5c Fix WebhookMessages docstrings
Silly danno
2020-12-10 23:32:22 -05:00
44dc7a8e02 Add support for editing and deleting webhook messages.
Fix #6058
2020-12-09 20:15:35 -05:00
b00aaab0b2 Revert Message.edit logic that deals with allowed_mentions
It made no sense here.
2020-12-08 21:13:29 -05:00
08d632880a Fix embed suppression when using client-wide allowed_mentions 2020-12-08 20:42:26 -05:00
0995d07727 [commands] Added in missing channel links 2020-12-07 18:35:16 -05:00
fff2234823 Fix wrong documented permission for GuildChannel.invites()
I tested it just now, and manage_guild is not the permission you need to
fetch invites from a given channel. You need manage_channels.

Note that this isn't the same as Guild.invites(), which DOES use
manage_guild.
2020-12-07 18:34:51 -05:00
6e6a3bed1a Add created_at property to PartialEmoji
Also fixed docstring for PartialEmoji.url
2020-12-06 03:59:20 -05:00
6ea7fce828 [commands] Cog unload failures are swallowed.
Fix #6113
2020-12-03 19:17:28 -05:00
f8e428bd5b Add support for chunking AsyncIterator objects 2020-12-03 18:32:53 -05:00
a39c957ba5 Update documentation for rules/updates channels 2020-12-03 18:20:27 -05:00
96059e5365 Add reaction roles example 2020-12-03 18:16:39 -05:00
80dd2c63c0 Fix Team.icon_url_as format argument default value 2020-11-28 19:58:48 -05:00