227 Commits

Author SHA1 Message Date
syeopite
60c8c55ff2
Add workaround to avoid duplicating theme css
In order to support both a theme toggle and to automatically use the
user's selected theme based on browser/system defaults the stylesheets
has to be duplicated twice since the latter requires the css to be
wrapped around a media query.

This duplication is a painful experience to deal with when adding or
changing existing styles. Even more so when it involves jumping around
the behemoth default.css from and back to whatever sections you were
just working on.

I don't believe the we the Invidious team will be able to agree to a
proper solution anytime soon (eg css post-processor, modern css
light-dark feature, etc) so this commit is here as a stopgap measure.

The workaround is to move the theming styles to two separate files
which are read at runtime and used to generate a combined stylesheet
with the necessary duplication for the media query. This combined
stylesheet is then delivered on a new route added to Invidious,
bypassing the static file handler.
2025-05-21 19:10:30 -07:00
syeopite
6c063436d4
Fix issues raised by code review
Remove explicit `self.` from #process of parsers

Remove explicit return tuple in get_issue_template

Fix formatting

Move inline issue template style to stylesheet

Use @id in ProblematicTimelineItem xml repr

Fix naming
2025-04-05 12:40:38 -07:00
syeopite
dd16f15aae
Improve error card border color on dark theme 2025-03-19 22:52:04 -07:00
syeopite
180d77276b
Emphasise error card icon 2025-03-19 22:52:04 -07:00
syeopite
9de69c0052
Improve design of placeholder item
Also makes it show the error backtrace
2025-03-19 22:52:03 -07:00
syeopite
dbeee71457
Apply search filters details css only to itself
The CSS for the search filters details box was applied to every
detail element when search.css is loaded
2025-03-19 22:52:03 -07:00
Samantaz Fox
0fb67cc090
Player: Fix a bug where menus were hard to open (#4750)
The fix basically enlarges the hoverable area in order to avoid getting the
menu closed if the mouse isn't moved fast enough.

Video of the fix:
https://www.loom.com/share/36494a3653984650aea3eaa2af276a35

Closes issue 4749
2024-10-30 16:59:34 +01:00
Samantaz Fox
b200ebfb6b
CSS: Remove extra space in default.css 2024-08-21 20:23:45 +00:00
giacomocerquone
288e1dccda Fix player menus hiding onHover 2024-06-13 01:10:35 +02:00
thansk
1ce2d10c50
fix: use ion icon for search icon 2024-05-20 14:17:30 +00:00
thansk
5abafb8296
fix: use a search icon instead of text 2024-05-20 11:49:56 +00:00
thansk
9cd2e93a2e
feat: allow submitting search with mouse 2024-05-19 11:46:55 +00:00
Samantaz Fox
e0ce59d3e8
Channels: Add support for multi-image community posts (#4412)
This PR adds a CSS-only image carousel for community posts with more than
one image attached.

Closes issue 3522
2024-02-19 00:16:17 +01:00
Samantaz Fox
c5a3112e49
CSS: expand #contents width on small screens (#4405)
The #contents div now takes the full width on small screens (< 1280px).
All page elements have a little more room, especially the video titles.
2024-02-19 00:16:17 +01:00
ChunkyProgrammer
a957b0fb7c remove trailing white spaces 2024-02-16 16:22:43 -05:00
ChunkyProgrammer
ef6b766b29 Add support for multi image community posts 2024-02-15 21:45:21 -05:00
toabr
4a339df5c4 CSS: expand #contents width on small screens 2024-01-27 00:38:47 +01:00
Corné Dorrestijn
16c79f1ef5
Fixed aspect ratio for thumnails to prevent CLS 2023-11-21 08:14:45 +01:00
Samantaz Fox
1a33012cad
CSS: Remove inline styling of the download widget (#4162) 2023-10-21 18:32:40 +02:00
Samantaz Fox
9072fa4355
CSS: Improve links contrast on dark theme (#4100) 2023-10-21 18:31:30 +02:00
RadoslavL
cc703b0274 Removed commented lines 2023-10-17 10:02:08 +03:00
jt404
d7ea5609b2 move styles for download widget to default.css file 2023-10-17 01:00:14 +02:00
jt404
8125ddca06 Replace inline styling for download widget with css file 2023-10-12 03:22:34 +02:00
ChunkyProgrammer
f77e4378fe Add support for viewing comments without js
Improve stylings
2023-09-28 18:09:45 -04:00
RadoslavL
ea781ceeee Removed unnecessary lines 2023-09-24 10:08:16 +03:00
RadoslavL
e8c9b85ef5 Increased footer contrast 2023-09-19 09:15:44 +03:00
ChunkyProgrammer
e3c365f3d6 Add support for post page 2023-09-18 20:10:41 -04:00
RadoslavL
270d606ad8 Changed the default dark theme as well 2023-09-18 08:14:34 +03:00
RadoslavL
beec62cf0e Increased link contrast in dark mode 2023-09-14 20:37:35 +03:00
Samantaz Fox
9b75f79fb5
HTML/CSS: Add thumbnail placeholder in thin mode
This change is required to make the overlay buttons functional
(add to and delete from playlist, mark as watched, etc.)
2023-07-08 21:33:59 +02:00
Samantaz Fox
42fa6ad2a3
HTML/CSS: Fix buttons' responsiveness 2023-07-08 20:48:36 +02:00
Samantaz Fox
cc30b00f8c
CSS: fix light/dark themes for pure buttons 2023-07-08 20:48:36 +02:00
Samantaz Fox
080c7446c6
HTML: Use new buttons for playlists (save/delete/add videos/etc...) 2023-07-08 20:48:32 +02:00
Samantaz Fox
b6bbfb9b20
HTML: Use new buttons for thumbnail overlays
In addition, this commit also heavily changes the structure of the
generic "video card" item. Main benefits:
  * Improved accessibility for keyboard users
  * Many styling glitches were fixed
  * PlaylistVideos now use the same items as the rest
  * Elements all have distinct CSS classes
  * Design can be expanded to add more icons
2023-07-06 00:58:32 +02:00
Samantaz Fox
77d401cec2
CSS: add styling for the new buttons 2023-07-06 00:23:22 +02:00
Samantaz Fox
6440ae0b5c
Community: Fix position of the "creator heart" (broken by #3783) 2023-05-23 23:32:23 +02:00
Samantaz Fox
ce2649420f
CSS: Fix iframe attachment size in community posts 2023-05-06 19:46:03 +02:00
Samantaz Fox
7aac401407
CSS: limit width of the comments in community tab 2023-05-06 19:23:55 +02:00
Samantaz Fox
961cae2b9a
Improve accessibility (#3710) 2023-04-10 17:55:24 +02:00
Lennart Bernhardt
f83f0d2561
remove fixed height from description 2023-03-28 10:33:03 +02:00
Lennart Bernhardt
1d187bcf17
fix long description overflow 2023-03-28 10:30:52 +02:00
ChunkyProgrammer
a3da03bee9 improve accessibility 2023-03-27 22:56:29 -04:00
Samantaz Fox
b4806e7ba9
Comments: Add support for custom emojis + member info (#3636) 2023-03-12 23:42:38 +01:00
amogusussy
03542f2f5d
Fix empty description boxes.
If a video has no description, (without this commit) the description box will still take up 8.3em, even if there's no content in it.

This fixes that issue.
2023-03-03 22:28:26 +00:00
ChunkyProgrammer
60b7c8015c add channel emoji css class 2023-03-02 07:29:44 -05:00
Samantaz Fox
4bbeb4a4c8
Add watch indicators (#3383) 2023-02-19 23:08:38 +01:00
techmetx11
caf9520c86
Major improvements 2023-01-22 00:12:04 +01:00
Wes van der Vleuten
420e12bb8b Merge remote-tracking branch 'upstream/master' 2023-01-21 23:35:39 +01:00
techmetx11
fe5b81f2c3
Add support for multiple songs 2023-01-16 14:04:20 +01:00
Brackets
ed8f02ef01
Update default.css
pointer on hover on label for descexpansionbutton
2023-01-07 18:31:42 +01:00