-
-
Notifications
You must be signed in to change notification settings - Fork 96
Added stylesheet for Nextcloud instances #1893
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
@LeonardFiedrowicz Did you get this to work with style mappings? If so, how? I currently have set up a style mapping like this: Searching for the nextcloud.localhost in the styles section shows up like this: So there's no problem loading the feature there... however when I try to activate the features on the target website i get an error: I'm a little puzzled on how to debug this :D the extension logs just show this: Any idea what I am doing wrong here @sameerasw ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it intentional that you have your personal website in here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, that wasn't intentional. I wouldn't mind keeping it in, although that makes testing the style transfer harder.
|
I don't have an instance so can someone try out and confirm the style is working? |
|
The style mapping only works for me when I enable or disable styling (both enable the styling) but only for what's currently on screen. When I reload the page it's back without the styling. Is this an issue with the style mapping or an issue with my .css? I just removed most things from the .css for testing and the issue is still there. |
|
@LeonardFiedrowicz I am experiencing the same issue when I use it without a mapping (e.g. naming the style sheet |
|
@sameerasw you can use my instance for testing this issue (nextcloud.0qln.duckdns.org) |
I'm seeing the same behavior as on my site. If I toggle the Enable for this site button it works but only until the site is reloaded. I just noticed that if you don't restart your browser, even with the domain being in the style sheet, it behaves like with the style mapping. So you can apply the style if you toggle the Enable for this Site button briefly until you reload, which gets fixed after a browser restart but only for stuff in the style sheet, not the style mapping. |
I think I know the reason... It has happened for me on firefox for some websites.. I think it might be an addon issue... I will look into the implementation to fix it maybe this week... a lil busy :) |
Can you test one thing for me, once reloaded, toggle at least one of it's features... then see if it persists. |
If I toggle on transparency it enables it but only until I reload. |
|
Hey @sameerasw, were you able to find the time to look into the addon issue? ^^ |








Added a style sheet to be used for Nextcloud instances. Name of the file is a placeholder to be used with style mapping for a specific Nextcloud instance. I only adjusted the style sheet to some of the Nextcloud add-ons I use like calendar, files, notes, memories and music. Feedback welcome.
#1745