Commit graph

969 commits

Author SHA1 Message Date
David Palmer
121ed585dc
Merge branch 'main' into expand-video-embeds-to-fullwidth 2023-06-21 16:31:13 +12:00
David Palmer
c16c00db0d
add a prefix to hint to screenreaders what this iframe is 2023-06-21 16:28:27 +12:00
Jay Sitter
deed524a7f fix: Small adjustments to create post form 2023-06-21 00:20:05 -04:00
David Palmer
9858514bb4
wrap video embeds in the ratio container
This should correctly size the embedded video iframe to the full
available width, which looks better and is compatible with mobile
devices.

Also add the "allowfullscreen" modifier to the iframe so that the video
can be expanded to the browser's fullscreen mode.

Also add the post.embed_title as the iframe "title" attribute.
2023-06-21 16:15:02 +12:00
Jay Sitter
65703793f6 fix: Fix Communities search/filter header #1417 2023-06-21 00:01:31 -04:00
SleeplessOne1917
dd9838a7a7
Merge branch 'main' into feat/shorten-comments-button-text 2023-06-21 00:27:52 +00:00
Ivo Barros
747bc943a9 refactor if into switch case 2023-06-21 01:21:14 +01:00
Ivo Barros
ced7b887d2 Merge branch 'main' of github.com:L3v3L/lemmy-ui into main 2023-06-21 01:19:33 +01:00
SleeplessOne1917
bc658a80a4
Fix mobile navbar bug (#1428)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-20 20:09:45 -04:00
Jay Sitter
3574212c76 feat: Hide 'comments' in post listing comments button; icon and title text is clear 2023-06-20 19:53:55 -04:00
n3oney
a7d91d3f2c
Merge branch 'main' into patch-1 2023-06-21 00:40:25 +02:00
Ivo Barros
a07fc75972
Merge branch 'main' into main 2023-06-20 23:07:57 +01:00
SleeplessOne1917
4da34c1370
Merge branch 'main' into breakout-role-utils 2023-06-20 21:12:18 +00:00
SleeplessOne1917
5960b85e46
Merge branch 'main' into feat/component-classes-v2 2023-06-20 21:09:17 +00:00
Alec Armbruster
671d903166
fix main.css vars (#1424) 2023-06-20 17:01:35 -04:00
Alec Armbruster
cc4ecb585e
forgot an import 2023-06-20 15:51:37 -04:00
djvs
5033b024f6 component classes v2 2023-06-20 14:46:16 -04:00
Alec Armbruster
697df71b2d
Merge branch 'breakout-role-utils' of https://github.com/alectrocute/lemmy-ui into breakout-role-utils 2023-06-20 10:21:41 -04:00
Alec Armbruster
2d4c9dd1c2
make suggested changes 2023-06-20 10:21:31 -04:00
Alec Armbruster
b8fd516f02
Merge branch 'main' into breakout-role-utils 2023-06-20 10:17:52 -04:00
Alec Armbruster
b874eaa38d
Merge branch 'breakout-role-utils' of https://github.com/alectrocute/lemmy-ui into breakout-role-utils 2023-06-20 10:17:29 -04:00
Alec Armbruster
e4f9c31cfa
make suggested changes 2023-06-20 10:17:16 -04:00
Jay Sitter
c77086a9d5
feat: Bootstrap 5 (#1378)
* feat: Use Bootstrap 5; remove Bootstrap 4

* feat: Add link decoration override global var

* fix: Change sr-only to visually-hidden

* fix: Fix missing toggle button classes

* fix: Use darker green to pass 3:1 contrast and allow foreground color generation

* fix: Replace all mr- and ml- classes with me- (end) and ms- (start) classes

* fix: Replace all pr- and pl- classes with pe- (end) and ps- (start) classes

* fix: Replace custom-select with form-select d-inline-block

* fix: Change max-width to Bootstrap 4's max-width

* fix: Fix badge colors

* fix: Replace deprecated btn-block class with d-block

* fix: Temporary fix for missing btn-block styles

* fix: Fix margin-left auto and margin-right auto

* fix: Fix default border color

* fix: Fix some button widths

* fix: Fix form row margins

* fix: Remove theme color maps; no longer necessary in Bootstrap 5

* fix: Remove unused gray

* test commit

* fix: Fix deprecated input-group-append usage

* fix: Add missing col-form-label classes

* fix: Fix some column widths

* fix: Fix language dropdown style regression

* fix: Fix toast background color

* fix: Fix missing colors in red themes

* fix: Fix default radio button appearance for toggles

* fix: Fix missing margin in search form

* fix: Fix search form widths

* fix: Fix rate limit form columns

* fix: Fix search filters layout

* fix: Fix weird table background issue; re-compile from main updates

* fix: Fix modlog filter layout

* fix: Fix some horizontal margins

* fix: Fix incorrect usage of input-group

* chore: Empty commit to re-trigger Woodpecker job

* fix: Fix incorrect Bootstrap 5 padding class

* fix: Tighten up the home filter bars for the hell of it

* fix: Fix home filter bar gap

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-20 08:01:29 -04:00
SleeplessOne1917
4807619b6c
Merge branch 'main' into fix/fix-post-action-button-sizes 2023-06-20 11:10:29 +00:00
sunaurus
c9b48e4980
Fix redirect after successful password reset 2023-06-20 13:45:40 +03:00
Jay Sitter
5e30e7b1a8 fix: Shrink and normalize some post action button colors and sizes 2023-06-20 00:35:50 -04:00
Alec Armbruster
79bdb7e8e8
Merge branch 'main' into breakout-role-utils 2023-06-19 21:49:01 -04:00
Alec Armbruster
69a123b6d8
update imports 2023-06-19 21:48:38 -04:00
Alec Armbruster
b4ac5b9f56
Merge branch 'breakout-role-utils' of https://github.com/alectrocute/lemmy-ui into breakout-role-utils 2023-06-19 21:12:59 -04:00
Alec Armbruster
f53d5db007
export default everything, will fix type errors next 2023-06-19 21:12:42 -04:00
SleeplessOne1917
33cbc8b50e
Merge branch 'main' into fix_language_select_custom 2023-06-20 00:21:43 +00:00
SleeplessOne1917
41cc3d35ea
Merge branch 'main' into breakout-role-utils 2023-06-20 00:14:00 +00:00
SleeplessOne1917
fd2e8fb90a
Merge branch 'main' into fix/fix-wrong-litely-red-import 2023-06-20 00:08:51 +00:00
SleeplessOne1917
13df4b9c56
Merge branch 'main' into fix/add-aria-label-to-featured-pins 2023-06-19 23:32:00 +00:00
Alec Armbruster
b1b0fdf5f8
fix missing imports 2023-06-19 19:10:53 -04:00
Dessalines
0c95172993
Merge branch 'main' into breakout-role-utils 2023-06-19 18:48:59 -04:00
Jay Sitter
7dc06199f2 fix: Litely Red was importing the wrong vars 2023-06-19 17:21:08 -04:00
Jay Sitter
e8dfaa458a fix: Always show advanced post buttons dropdown 2023-06-19 15:56:55 -04:00
b7da6851aa Fixing missing class for language select. 2023-06-19 11:53:18 -04:00
Jay Sitter
94274a1e7f
feat(post): Move post domain beneath post title (#1363)
* feat(post): Move post domain and preview button beneath post title

* fix: Move the 'show body' button back to actions line; only show if there is something to show; add 'active' color

* fix: Fix some margins
2023-06-19 11:26:29 -04:00
Dessalines
02ffa85b58
Merge branch 'main' into breakout-role-utils 2023-06-19 10:04:19 -04:00
ayan4m1
5ccd8922da feat(css): make vertical rhythm more consistent for post listings 2023-06-18 23:55:04 -04:00
Jay Sitter
2348bbbf5b
Merge branch 'main' into fix/fix-post-creator-alignment 2023-06-18 23:45:06 -04:00
SleeplessOne1917
edf13f39e6
Merge branch 'main' into fix/fix-post-creator-alignment 2023-06-19 03:36:32 +00:00
Jay Sitter
6e4b2004dd
Merge branch 'main' into fix/add-labels-to-block-report 2023-06-18 23:23:44 -04:00
SleeplessOne1917
61586459ea
Merge branch 'main' into fix/fix-intense-hr-color 2023-06-19 03:20:59 +00:00
Jay Sitter
ad984c8584 fix: Use classnames 2023-06-18 23:19:56 -04:00
Jay Sitter
b55cf01e72 Merge remote-tracking branch 'origin/main' into fix/fix-post-creator-alignment
* origin/main:
  fix: Prettier ignore generated themes, as they aren't written by humans
  feat: Badge-ify NSFW and removed by mod title info
2023-06-18 23:18:03 -04:00
Jay Sitter
7f818921d2 fix(post): Fix missing labels on block/report buttons in new dropdown 2023-06-18 16:02:55 -04:00
Jay Sitter
eb9bc1d4fb fix: Add compiled theme stylesheets 2023-06-18 15:45:01 -04:00
Jay Sitter
473406d1da fix: Fix too-intense hr color between posts 2023-06-18 15:38:16 -04:00
Jay Sitter
90cd24b8ca fix: Fix post creator text alignment 2023-06-18 12:46:31 -04:00
Jay Sitter
28fd28f6d3 feat: Badge-ify NSFW and removed by mod title info 2023-06-18 10:47:29 -04:00
Jay Sitter
3e0ad0d56d fix: Fix display inline of post title 2023-06-18 10:19:42 -04:00
Jay Sitter
fbd2b727cb fix: Only post title should be inside h5, not the additional metadata icons 2023-06-18 10:19:40 -04:00
Jay Sitter
dcf576ff41 fix: Use btn-sm for advanced menu dropdown buttons 2023-06-18 10:18:17 -04:00
Jay Sitter
2e98e28e71 fix: Remove some extra classes on flag/report buttons 2023-06-18 10:18:17 -04:00
Jay Sitter
b4c83b214b fix: Fix vertical alignment and border radius of advanced dropdown menu items 2023-06-18 10:18:17 -04:00
Jay Sitter
fb2c9f7491 fix(a11y): Add aria-controls for advanced button dropdown 2023-06-18 10:18:17 -04:00
Jay Sitter
fc1c4f3279 fix: Fix some button labels and tippy text 2023-06-18 10:18:17 -04:00
Jay Sitter
96a4df220a fix: Remove unused var 2023-06-18 10:18:17 -04:00
Jay Sitter
7c264916a3 feat: Move advanced post menu into dropdown 2023-06-18 10:18:17 -04:00
SleeplessOne1917
0668a52daa
Merge branch 'main' into feat/move-advanced-post-menu-into-dropdown 2023-06-18 13:58:51 +00:00
SleeplessOne1917
37c9d3a9a1
Merge branch 'main' into fix/fix-post-title-element 2023-06-18 13:53:29 +00:00
SleeplessOne1917
30e6cdf29f
Merge branch 'main' into fix/add-aria-label-to-featured-pins 2023-06-18 13:48:45 +00:00
SleeplessOne1917
8df8c71a1f
Merge branch 'main' into main 2023-06-18 13:43:12 +00:00
Jay Sitter
4aacb38de6
Merge branch 'main' into feat/move-advanced-post-menu-into-dropdown 2023-06-18 09:38:25 -04:00
Jay Sitter
137498bfb9
Merge branch 'main' into fix/fix-post-title-element 2023-06-18 09:37:58 -04:00
Jay Sitter
982dbe39da
Merge branch 'main' into fix/add-aria-label-to-featured-pins 2023-06-18 09:37:52 -04:00
sunaurus
3f80010434
Always allow users to control whether they see NSFW content 2023-06-18 14:05:01 +03:00
Jay Sitter
cd0a5a60c6 fix: Fix display inline of post title 2023-06-18 00:41:47 -04:00
Jay Sitter
4da9fcdce9 fix: Use btn-sm for advanced menu dropdown buttons 2023-06-17 21:09:43 -04:00
Jay Sitter
bc69e0116c fix: Remove some extra classes on flag/report buttons 2023-06-17 21:04:40 -04:00
Jay Sitter
d0ae0f7543 fix: Fix vertical alignment and border radius of advanced dropdown menu items 2023-06-17 21:02:58 -04:00
Ivo Barros
5e9a414dfc clean code 2023-06-18 00:51:32 +01:00
Jay Sitter
f702cbd256 fix: Fix build error 2023-06-17 19:27:11 -04:00
Jay Sitter
560f1e3c18
Merge branch 'main' into fix/fix-post-title-element 2023-06-17 19:22:39 -04:00
Jay Sitter
ffaa3c4fc5 fix: Remove unused var 2023-06-17 19:16:52 -04:00
Jay Sitter
0d35d9a8d2
Merge branch 'main' into fix/site-sidebar-collapse 2023-06-17 19:12:29 -04:00
Jay Sitter
a7b0e2002d fix(a11y): Add aria-controls for advanced button dropdown 2023-06-17 19:10:53 -04:00
Jay Sitter
c48ee703c0 fix: Fix some button labels and tippy text 2023-06-17 18:28:35 -04:00
Jay Sitter
57ef993b82 fix: Remove unused var 2023-06-17 18:17:22 -04:00
Jay Sitter
086b0c0cc9 feat: Move advanced post menu into dropdown 2023-06-17 18:03:12 -04:00
Jay Sitter
3564c6c379 fix: Fix some small style issues 2023-06-17 17:01:14 -04:00
Jay Sitter
c8758317f7 fix: Fix Trending sidebar card too 2023-06-17 15:32:49 -04:00
Jay Sitter
0d302c0e40 fix: Cleaner logic 2023-06-17 15:32:29 -04:00
Jay Sitter
cf5c8a1c07 fix(a11y): Fix some mobile styles for Sidebar Cards 2023-06-17 15:24:55 -04:00
SleeplessOne1917
f0283ac9b3
Merge branch 'main' into fix/add-aria-label-to-featured-pins 2023-06-17 19:15:06 +00:00
Jay Sitter
072d253baa fix(a11y): Apply same accordion/collapse markup to Subscribed Communities sidebar card 2023-06-17 15:09:10 -04:00
SleeplessOne1917
1347ec6cbb
Merge branch 'main' into refactor-server-tidy 2023-06-17 19:01:44 +00:00
Jay Sitter
878e0f0f85 fix: Add .accordion wrapper around sidebar to obtain negative bottom margin 2023-06-17 14:24:13 -04:00
Jay Sitter
ff4d37d03a fix(a11y): Fix some a11y issues in Site Sidebar and use native Bootstrap Collapse and Card classes 2023-06-17 13:52:23 -04:00
Jay Sitter
ec1d3726ed fix(a11y): Add aria-label to fetaured pins 2023-06-17 13:08:56 -04:00
Jay Sitter
84887b6feb fix: Only post title should be inside h5, not the additional metadata icons 2023-06-17 12:32:12 -04:00
Alec Armbruster
e21029602b
Merge branch 'main' into refactor-server-tidy 2023-06-17 12:08:37 -04:00
Jay Sitter
c5e55fb286 fix: Remove some unused vars 2023-06-17 11:16:04 -04:00
SleeplessOne1917
b52b18939c
Merge branch 'main' into refactor-server-tidy 2023-06-17 15:06:09 +00:00
Jay Sitter
77ab1f9e85 fix: Fix some references to ; they should refer to a specific gray in case changes 2023-06-17 10:58:22 -04:00
Jay Sitter
77a3e57f94 fix: Move var to grays area 2023-06-17 10:56:17 -04:00
Jay Sitter
6bb44191ae fix: Fix broken theme overrides; group theme variable files by variable type 2023-06-17 10:54:49 -04:00
SleeplessOne1917
2f1e349e17
Merge branch 'main' into chore/sass-cleanup 2023-06-17 14:15:09 +00:00
Alec Armbruster
f8fd90cc2e
fix accidental changes 2023-06-17 08:47:43 -04:00
Alec Armbruster
571b1faf70
remove comments 2023-06-17 08:46:19 -04:00
Alec Armbruster
7f48a38b72
Merge branch 'main' into breakout-role-utils 2023-06-17 08:44:47 -04:00
Alec Armbruster
96abf25d00
fix merge conflicts 2023-06-17 08:07:25 -04:00
Alec Armbruster
e6005daadf
Merge branch 'main' into refactor-server-tidy 2023-06-17 08:02:46 -04:00
SleeplessOne1917
4bdddb1710
Add default profile picture for users who do not set one (#1339) 2023-06-17 08:00:13 -04:00
Marcin Mróz
7c2a471031
feat(navbar): Add labels for navbar items on mobile (#1323)
* feat(navbar): Add labels for navbar items on mobile

* fix(navbar): Fix icons positioning on desktop

---------

Co-authored-by: Marcin Mróz <marcin.mroz@displate.com>
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-17 07:55:59 -04:00
Ivo Barros
3ca24607fb add hours as sorting options 2023-06-17 09:37:03 +01:00
Jay Sitter
fef03525f1 fix: Fix rounded top corners in markdown textarea 2023-06-17 01:43:05 -04:00
Jay Sitter
b59ddb1810 fix: Fix input-bg for darkly theme 2023-06-17 01:39:48 -04:00
Jay Sitter
9885bc31eb chore: Fix a missing theme color 2023-06-17 01:20:49 -04:00
Jay Sitter
f0bbbd181d chore: Remove some more redundancies 2023-06-17 01:19:45 -04:00
Jay Sitter
87cf5d9b6c chore: Remove some more redundancies 2023-06-17 01:18:35 -04:00
Jay Sitter
d2dac88cd8 chore: Fix vars 2023-06-17 00:53:44 -04:00
Jay Sitter
fb60612066 Merge remote-tracking branch 'origin/main' into chore/sass-cleanup
* origin/main:
  Revert "fix: Sass files don't need to refer to full node_modules path"
2023-06-17 00:39:13 -04:00
Jay Sitter
42c46c18ca chore: Remove some redundant Sass variable declarations and re-organize them 2023-06-17 00:38:30 -04:00
Jay Sitter
a41079929d fix: Fix imports 2023-06-17 00:12:01 -04:00
Jay Sitter
366acfe106 Revert "fix: Sass files don't need to refer to full node_modules path"
This reverts commit ab92d7264d.
2023-06-16 23:32:59 -04:00
Jay Sitter
ab92d7264d fix: Sass files don't need to refer to full node_modules path 2023-06-16 23:14:39 -04:00
Jay Sitter
cd259cd416
Merge branch 'main' into fix/markdown-bootstrap-classes 2023-06-16 21:48:33 -05:00
Jay Sitter
133951bc84 fix: Remove inline styles and use Bootstrap classes 2023-06-16 22:43:46 -04:00
Jay Sitter
fb678d10f8
Merge branch 'main' into feat/add-badges-common-component 2023-06-16 21:35:14 -05:00
Jay Sitter
4ec7c26707
Merge branch 'main' into feat/add-badges-common-component 2023-06-16 21:31:03 -05:00
SleeplessOne1917
72655e0714
Merge branch 'main' into fix-nsfw-blur-spill 2023-06-17 02:29:33 +00:00
Jay Sitter
d951fb57da fix: Fix missing prop 2023-06-16 22:25:35 -04:00
SleeplessOne1917
6c998ed862
Merge branch 'main' into route-data-refactor 2023-06-17 02:25:18 +00:00
SleeplessOne1917
61cbbfe57f
Merge branch 'main' into route-data-refactor 2023-06-17 02:22:36 +00:00
SleeplessOne1917
28023bb3a6
Merge branch 'main' into generate-theme-css 2023-06-17 02:22:10 +00:00
SleeplessOne1917
9165433282
Merge branch 'main' into 1117-jump-to-main-content 2023-06-17 02:19:59 +00:00
SleeplessOne1917
5033d03ed2
Merge branch 'main' into generate-theme-css 2023-06-17 02:17:45 +00:00
SleeplessOne1917
879e3b6f70
Merge branch 'main' into fix-nsfw-blur-spill 2023-06-17 02:17:04 +00:00
SleeplessOne1917
8b2bcd5a99
Merge branch 'main' into feat/markdown-format-bar-above 2023-06-17 02:16:36 +00:00
SleeplessOne1917
7a105942b0
Merge branch 'main' into feat/add-badges-common-component 2023-06-17 02:08:34 +00:00
Jay Sitter
ba3a565d2b fix: Vertically align icons in post listing 2023-06-16 21:50:31 -04:00
Jay Sitter
f7f8ddcd7c fix: Add total users in site sidebar 2023-06-16 21:44:45 -04:00
Jay Sitter
fe64edd2fc fix: Re-add 'number of communities' to site sidebar 2023-06-16 20:56:01 -04:00
Jay Sitter
cb72180f97 fix: Fix broken link 2023-06-16 20:54:13 -04:00
Jay Sitter
8bbb6c9652 Merge remote-tracking branch 'origin/main' into feat/add-badges-common-component
* origin/main:
  handle login failures correctly
  wrap login call in try/catch for error handling
  Remove extra div in post sidebar
  Add a class to the more button on a comment node
  Switch navbar classes to ids
  Adding a few more 0.18.0 API changes. (#1324)
  Use aside semantic HTML tag for sidebars
  Use article semantic HTML tag for posts/comments
  Use footer semantic HTML tag
  Adding codeowners.
  Add lemmy-site class for easier detection
  Add ID's and classes to sidebars
  Add clases and ID's to post form/listing
  Add classes to post and comment repy textareas
  Rename markdown-textarea ID's
  Add nav and footer ID's
2023-06-16 20:35:44 -04:00
Jay Sitter
e540b1e4a9
Merge branch 'main' into feat/markdown-format-bar-above 2023-06-16 19:14:48 -05:00
Jay Sitter
f037220d5e fix: Fix rounded textarea in Markdown box 2023-06-16 20:13:25 -04:00
Jay Sitter
3d24a108ae feat: Fix some colors on dark mode 2023-06-16 20:02:07 -04:00
Jay Sitter
f9f4caf260 feat: Redesign the format bar / textarea into a single bordered area with divider 2023-06-16 19:49:28 -04:00
Alec Armbruster
b3a25a3bb3
hopefully last merge fiasco cleanup 2023-06-16 19:20:43 -04:00
Alec Armbruster
fbc13249ca
more cleanup 2023-06-16 19:18:06 -04:00
Alec Armbruster
768ed8ea94
even more cleanup 2023-06-16 19:16:00 -04:00
Alec Armbruster
8fcde4bdd0
more cleanup 2023-06-16 19:14:35 -04:00
Alec Armbruster
e164a3b9a1
attempt to fix crazy merge fiasco 2023-06-16 19:10:25 -04:00
Alec Armbruster
3ee47d38b8
Merge branch 'LemmyNet:main' into breakout-role-utils 2023-06-16 18:57:20 -04:00
Alec Armbruster
6c6ddd5b51
reset, merge issues 2023-06-16 18:56:23 -04:00