Commit graph

88 commits

Author SHA1 Message Date
Jay Sitter 71b7375773 fix(UI): Make max-width wider, and make sidebar narrower on wide screens #1536 2023-06-25 14:00:55 -04:00
Jay Sitter e09b1f53d3 Merge remote-tracking branch 'lemmy/main' into fix/a11y-fixes-2
* lemmy/main: (38 commits)
  chore: Empty commit to re-trigger Woodpecker
  fix(a11y): Fix non-list item being inside ul list in navbar
  fix: Fix non-unique ID attribute on re-used element
  fix: Fix another class
  fix: Fix some Bootstrap 5 font classes
  fix: Fix some emoji escape logic
  fix: Button doesn't need tabindex
  fix: Fix incorrect function reference
  fix: Emoji picker can be closed with escape key, other a11y fixes
  fix: Fix some a11y issues on jump to content button
  fix: Clarify a comment
  fix: Fix merge error
  Remove federation worker count
  fix: Add triangle alert icon to language warning
  added litely-compact
  changed where custom compact code goes
  added darkly-compact - issue 552
  Refactor first load handling
  Fix issue when navigating awat from settings
  Give function better name
  ...
2023-06-25 01:05:36 -04:00
Jay Sitter dccfc72e73 fix(a11y): Change image remove button to true button element 2023-06-24 19:44:22 -04:00
Jay Sitter 5ed7352359 fix: Emoji picker can be closed with escape key, other a11y fixes 2023-06-24 01:58:21 -04:00
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