mirror of
https://github.com/prasathmani/tinyfilemanager.git
synced 2026-04-26 10:55:56 +03:00
[GH-ISSUE #625] Suggestion: custom CSS themes #443
Labels
No labels
Feature
Feature
Is It Really an Issue?
Need More Info
Request
Security
bug
duplicate
enhancement
enhancement
help wanted
invalid
pull-request
question
suggestion
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tinyfilemanager#443
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nitodico on GitHub (Sep 11, 2021).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/625
The idea gettting custom CSS themes is possible? i was doing some testing and somewhere on line 3652 i just added
if(file_exists(__DIR__."/custom.css")) echo file_get_contents("custom.css");Adding a single line could lead to designers to submit custom CSS themes
@tapmeppe commented on GitHub (Jun 22, 2024):
The same goes for custom.js .
@tapmeppe commented on GitHub (Jun 22, 2024):
I could do a pull request of both. Would that be okay?
@elektrischerwalfisch commented on GitHub (Apr 9, 2025):
Are there any new developments on this subject?
I would also find a custom css extremely usefull especially for things like setting a max-width for the main layout so that the filemanager does not spread across the whole browser-window (More user-friendly in some cases).
I'd love to propose official support for an optional custom stylesheet that:
$externalonly if it exists,print_external('custom-css')in the template.Example Implementation
Add below line 166:
Add below line 3829 and 3993:
This keeps things clean and avoids breaking anything if no custom style is provided.