Commit graph

134 commits

Author SHA1 Message Date
dankxiaobong
1c0f4f6002 added litely-compact 2023-06-21 13:46:31 +02:00
dankxiaobong
6d13c84f69 changed where custom compact code goes 2023-06-21 12:29:00 +02:00
dankxiaobong
d56aeb95ca added darkly-compact - issue 552 2023-06-21 11:19:30 +02: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
djvs
5033b024f6 component classes v2 2023-06-20 14:46: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
Jay Sitter
7dc06199f2 fix: Litely Red was importing the wrong vars 2023-06-19 17:21:08 -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
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
c5e55fb286 fix: Remove some unused vars 2023-06-17 11:16:04 -04: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
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
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
ab92d7264d fix: Sass files don't need to refer to full node_modules path 2023-06-16 23:14:39 -04: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
Jay Sitter
3d24a108ae feat: Fix some colors on dark mode 2023-06-16 20:02:07 -04:00
Jay Sitter
ebba5bdd80 feat: Move text formatting bar above textarea 2023-06-16 17:47:43 -04:00
Sean Spade
d3e181222a feat: Adds Jump to main content functionality
feat: Adds media query for prefers reduced motion

chore: remove <a/> from index.tsx

chore: remove tranisiton for skip link

chore: remove omitted error variable

update translations

chore: update translations

chore: Covert <a/> jump to content from html to Inferno JSX

chore: add translation

feat: add main as a parent to routes so jump to content always skips navigation on every page

chore: Use bootstrap classes

feat: Tidy Jump to content feature with some basic JS

feat: Jump to main content
2023-06-16 17:22:05 -04:00
SleeplessOne1917
d3a19751d5
Merge branch 'main' into generate-theme-css 2023-06-16 20:00:46 +00:00
Florian Heft
3afd636b9e Fixed color scheme variables of litely-red
* Adapted variables to the actual color that
  was used before
2023-06-16 10:53:26 +02:00
Andrew DeLisa
79f4009541
Improve the look of tables (#1299)
* feat(css): remove table styling that overrides bootstrap

* feat(utils): style MD tables appropriately with bootstrap class
2023-06-15 17:42:22 -04:00
SleeplessOne1917
4c67ff255b
Merge branch 'main' into generate-theme-css 2023-06-15 15:51:52 +00:00
SleeplessOne1917
31e61e7449
Merge branch 'main' into comment-depth 2023-06-14 23:46:11 +00:00
Camel Coder
be60dae9f8
Horizontally scrollable code blocks, instead of wrapping.
This disables word wrapping for code generated from markdown, and instead enables a horizontal scroll bar.
2023-06-14 12:00:13 +00:00
Florian Heft
20c3b6bfb3 Recompiled theme files using latest Bootstrap 4
* Rebuild the existing theme files using the
  new build system (93f00c9e).
* Files should be functionally the same apart
  from possibly some Bootstrap fixes. Most
  of the diff is reordering and formatting
  (e.g. color values).
2023-06-14 01:14:18 +02:00
Florian Heft
a170a0cc74 Added npm scripts to rebuild theme files
* Add Bootstrap 4 dependency
* Add scripts to compile theme files using SASS
* Remove circular dependency of theme variables
  and Bootstrap base variables
2023-06-14 01:14:18 +02:00
SleeplessOne1917
800c1655fe
Merge branch 'main' into avatar-aspect-ratio-fix 2023-06-12 21:12:49 +00:00
Raymond Berger
de230a5e2f
remove unused theme files (#1202)
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-06-12 14:57:52 -04:00
Alec Armbruster
1aa934584f
add .img-cover class, implement 2023-06-12 13:00:18 -04:00
abias
b12399de5f Make comments nested lists 2023-06-03 22:02:07 -04:00
SleeplessOne1917
ffe95ee1c6
Navbar hide menu fix (#1033)
* Fix navbar not closing on mobile when it should

* Get rid of unnecessary HTML tags
2023-05-21 23:31:08 -04:00
SleeplessOne1917
0bd9a17009
Add web share for browsers that have it enabled (#1029)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-05-21 14:17:56 -04:00
SleeplessOne1917
0d30f4c731
Make admin UI for allowing/blocking instances easier to work with (#1012)
* Make admin UI for allowing/blocking instances easier to work with

* Tweak styles

* Remove log statements

* Trim instance names and slight refactor

* Use linkEvent
2023-05-16 09:08:52 -04:00
SleeplessOne1917
b19b51c78c
Add support for PWA (#1005)
* Add logic for dynamically generating web manifest

* Make PWA icon get autogenerated

* Make service worker work

* Tweak things for PWA

* Handle apple icons and refactor

* Update prod dockerfile

* Remove jimp

* Remove unnecessary option

* Use different function syntax
2023-05-11 21:07:59 -04:00
Dessalines
457187693f
Prettier css (#995)
* Add prettier lint for css and scss files.

* Fixing eslint issue.

* Run prettier
2023-05-03 22:09:27 -04:00
SleeplessOne1917
3a88f6e854
Add content warning to modlog and fix modlog routing bug (#994)
* Add content warning to modlog and fix modlog routing bug

* Add translation logic
2023-05-03 22:06:59 -04:00
Anon
1f15ea5aa8 Add Custom Emoji Support 2023-02-26 11:22:05 -06:00
Dessalines
6aa33e6809
Remove buggy navbar search. Fixes #921 (#950) 2023-02-21 15:52:12 -05:00
Dessalines
31715ca75c
Removing extra themes. Fixes #905 (#910) 2023-02-02 21:14:59 -05:00
Dessalines
afeb64009b
Adding Community Language fixes. #783 (#868)
* Partially done with language tagging. #783

* A few more updates.
2022-12-19 10:57:29 -05:00
Anon
e2a29a5bad
Add Taglines support (#854)
* Add Taglines support

* Fix issue with deletion not rendering properly.

* Address PR comments

* Missed alllanguages

* Cleanup tagline match

* Update js client

* Move taglines to siteres

* Only show taglines editor after site setup

* Update js client
2022-11-20 11:08:44 -05:00
Dessalines
6e3a6a601b
Move symbols to its own cacheable file. Fixes #809 (#862) 2022-11-18 13:28:05 -05:00
Rens Groothuijsen
b979e0a3a9
Search button and input style fixes (#825)
* Align search button style with other navbar buttons, disable search box when hidden, adjust search box size

* Align search button margin with other navigation bar buttons
2022-10-20 23:56:57 -04:00
Sergio Varela
326beabda1
Cantarell for darkly/darkly-red. Fixes #779 (#784)
* Adds Cantarell

See: Use Cantarell instead of Liberation Sans for GNOME users on darkly/darkly-red themes. #779 (https://github.com/LemmyNet/lemmy-ui/issues/779)

* Adds Cantarell

See: Use Cantarell instead of Liberation Sans for GNOME users on darkly/darkly-red themes. #779 (https://github.com/LemmyNet/lemmy-ui/issues/779)
2022-09-20 22:43:33 -04:00
Anon
a8ab4e0558 Add support for filtering mod logs 2022-08-07 10:26:27 -05:00
Dessalines
321339c6c5
Don't render markdown for summaries. Fixes #658 (#659) 2022-05-23 11:13:41 +00:00
Dessalines
6b53ae7f62
Adding litely-red and darkly-red themes. (#636) 2022-04-27 19:10:58 +00:00
ada4b03615
Rename theme files from *.min.css to *.css (#590) 2022-03-03 12:55:26 -05:00
eduardog3000
5f6ea5de6d
Improvements to post listings (#536)
* Improvements to post listings.

* Expanded image and body now show below the rest of the listing.
* The above are also offset to not be under the votes and thumbnail.
* Post title doesn't jump to a new line when you expand the image.
* Thumbnail doesn't disappear when you expand the image.
* Does not apply on mobile since things don't jump around as much.
* Clicking expanded image opens the original in a new tab.
* Does not apply on mobile since you can just long press.
* Instead tapping the image closes it.
* pictrs images now prefer the original format over jpg.
* Rendering split into many functions to improve readability.
* Post actions are now on the same line as the comments button.
* Post actions now show on mobile.
* Comments button made larger.
* Expanding or contracting an image now expands or contracts the body.

* Regenerated yarn.lock

To avoid problems resulting from malicous changes by the dev of `colors`
2022-01-11 19:53:23 -05:00
Marek Ľach
f7e65d1dc0
Add some fallback properties for display in older browsers (#535)
* Update main.css

* Add some fallback for better rendering in older browsers

* Add some fallback for rendering in older browsers

* Add some fallback properties for older browsers

* Try to fix build for legacy browser improvements

* Update main.css
2022-01-03 15:32:37 -05:00
Dessalines
4c6713d3f2
Add nord theme. Fixes #520 (#527) 2021-12-22 10:50:55 -05:00
Dessalines
0b3d7fbde4
Add honeypot for user and form creation. Fixes #433 (#435) 2021-10-01 10:19:47 -04:00
Dessalines
967b0dd964
Fix community display name overflow. Fixes #390 (#425) 2021-09-18 17:59:20 -04:00
Dessalines
b27d982a7b
Feature/user community block (#362)
* Extracting user settings and profile page.

- Auto-collapsing dropdown and navbar on link clicks.
- Fixes #180

* Adding User and Community blocking. Fixes #295

- Added a new settings page.
- Switched to myUserInfo.
- Removing GetFollowedCommunities endpoint

* Fixing blocks
2021-08-19 22:56:18 -04:00
e17a1da767 Center spinner, make smaller. Fixes #203 2021-07-31 15:41:21 -04:00
08d635c30e Fix font issues. Fixes #354 2021-07-31 15:40:22 -04:00
782587b1a7 Fixing darkly danger color 2021-07-23 12:13:44 -04:00
e9896eb469 Revert "Update litely"
This reverts commit b7cffe8ac3.
2021-07-22 11:40:39 -04:00
Dessalines
2d8be72b33
Fixing too many large spinners (#337) 2021-07-17 16:21:31 -04:00
5f741b420a Make spinner bigger. Fixes #203 2021-07-17 00:24:12 -04:00
Dessalines
8902e15888
Merge pull request #330 from LemmyNet/update_darkly_colors_1
Update darkly, make danger darker. Fixes #16
2021-07-16 23:43:30 -04:00
b7cffe8ac3 Update litely 2021-07-16 21:44:17 -04:00
fae866e83b Update darkly, make danger darker. Fixes #16 2021-07-16 21:33:50 -04:00
hammsvietro
b5e87781ea
Insert triple backticks for 'code' button when multiple lines are selected. (#311)
* Insert triple backquotes for 'code' button when multiple lines are selected

* uses theme's purple var in multiline code md
2021-06-24 15:05:11 -04:00
34450857ee Adding not allowed to password reset. Fixes #205 2021-03-25 12:17:42 -04:00
Marek Ľach
658aee2e53
Improve rendering in older browsers
...like SailfishOS.
2021-02-23 21:36:53 +00:00
e3a337fb23 Running newer prettier. 2021-02-21 21:39:04 -05:00
5c66424516 Always show password reset link. Fixes #176 2021-02-11 13:52:26 -05:00
0949244d6c Try standalone. Fixes #138 2021-01-23 20:44:11 -05:00
c5bc46d350 Adding a few markdown header sizes. Fixes #99 2021-01-23 17:32:04 -05:00
40e1aca891 Making front end work w/ pictrs v2. Fixes #57 2020-10-14 14:36:37 -05:00
05065608f3 Changing choices background. Fixes #48 2020-10-03 10:32:36 -05:00
8c5cebbde9 Updating translations, repo url, fixing webmanifest. 2020-09-22 14:09:16 -05:00
8d6b75a45f Adding themes, assets. Hate doing this but oh well. Fixes #2 2020-09-10 21:40:41 -05:00