diff options
author | Edgars <eandersons@users.noreply.github.com> | 2020-09-19 21:59:07 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-19 19:59:07 +0100 |
commit | 8baea0618cbcc2ebd1e559dda9124e3cb62e5b3b (patch) | |
tree | 3624bc032722a2d77cf19a2e41ece883fbdc4d9d /uncompressed/nextcloud-talk/service.css | |
parent | Add Pomodoro Tracker recipe (#252) (diff) | |
download | ferdium-recipes-8baea0618cbcc2ebd1e559dda9124e3cb62e5b3b.tar.gz ferdium-recipes-8baea0618cbcc2ebd1e559dda9124e3cb62e5b3b.tar.zst ferdium-recipes-8baea0618cbcc2ebd1e559dda9124e3cb62e5b3b.zip |
Update Nextcloud Talk to remove/disable unnecessary links (#270)
`service.css` was updated to remove or disable unnecessary links from the top
menu to remove the possibility to navigate away from the app:
- disable Nextcloud logo, Talk and settings link;
- remove "More" and contacts link.
`package.json` was updated to:
- increase version number to 1.0.2;
- add `serviceURL` to `config` to successfully package this recipe.
Co-authored-by: Edgars <Edgars@gaitenis.id.lv>
Diffstat (limited to 'uncompressed/nextcloud-talk/service.css')
-rw-r--r-- | uncompressed/nextcloud-talk/service.css | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/uncompressed/nextcloud-talk/service.css b/uncompressed/nextcloud-talk/service.css index 30d1d18..82dde75 100644 --- a/uncompressed/nextcloud-talk/service.css +++ b/uncompressed/nextcloud-talk/service.css | |||
@@ -1,3 +1,21 @@ | |||
1 | /* Hide all app links in the top menu except for Talk */ | ||
1 | #appmenu li:not([data-id="spreed"]) { | 2 | #appmenu li:not([data-id="spreed"]) { |
2 | display: none; | 3 | display: none; |
3 | } \ No newline at end of file | 4 | } |
5 | |||
6 | /* Change cursor to the default pointer for top menu Nextcloud home, Talk and | ||
7 | settings links and disable them */ | ||
8 | #nextcloud, #appmenu li[data-id="spreed"] a, #settings { | ||
9 | cursor: default; | ||
10 | pointer-events: none; | ||
11 | } | ||
12 | |||
13 | /* Hide "More" link in the top menu */ | ||
14 | #more-apps { | ||
15 | display: none !important; | ||
16 | } | ||
17 | |||
18 | /* Hide contacts in the top menu */ | ||
19 | #contactsmenu { | ||
20 | display: none; | ||
21 | } | ||