diff options
author | 2022-06-21 09:39:54 -0600 | |
---|---|---|
committer | 2022-06-21 15:39:54 +0000 | |
commit | 08a7af9ef2bb0030fd1876674d53b719e91f13e2 (patch) | |
tree | da71d5f5d17e90faaf0af07fd0e97936b8820aff /recipes/nextcloud-carnet/service.css | |
parent | docs: add dqos as a contributor for code (#72) [skip ci] (diff) | |
download | ferdium-recipes-08a7af9ef2bb0030fd1876674d53b719e91f13e2.tar.gz ferdium-recipes-08a7af9ef2bb0030fd1876674d53b719e91f13e2.tar.zst ferdium-recipes-08a7af9ef2bb0030fd1876674d53b719e91f13e2.zip |
Add fixes for Nextcloud-related webapps (#66)
Diffstat (limited to 'recipes/nextcloud-carnet/service.css')
-rw-r--r-- | recipes/nextcloud-carnet/service.css | 44 |
1 files changed, 37 insertions, 7 deletions
diff --git a/recipes/nextcloud-carnet/service.css b/recipes/nextcloud-carnet/service.css index 8e767c2..9b2948e 100644 --- a/recipes/nextcloud-carnet/service.css +++ b/recipes/nextcloud-carnet/service.css | |||
@@ -1,11 +1,41 @@ | |||
1 | /* Hide all app links and contacts link in the top menu except for Carnet */ | 1 | /* Hide all app links and contacts menu link in the top menu except for |
2 | #appmenu li:not([data-id="carnet"]), #contactsmenu {display: none;} | 2 | Carnet */ |
3 | #appmenu li:not([data-id='carnet']), | ||
4 | #contactsmenu { | ||
5 | display: none; | ||
6 | } | ||
7 | |||
8 | /* Change the cursor to the default for Nextcloud home and Carnet | ||
9 | links in the top menu and disable them */ | ||
10 | #nextcloud, | ||
11 | #appmenu li[data-id='carnet'] a { | ||
12 | cursor: default; | ||
13 | pointer-events: none; | ||
14 | } | ||
15 | |||
16 | /* Hide all settings options, except the option to log out */ | ||
17 | #settings #expanddiv li:not([data-id='logout']) { | ||
18 | display: none; | ||
19 | } | ||
3 | 20 | ||
4 | /* Change cursor to the default pointer for Nextcloud home, Carnet and settings | 21 | /* Fix the margin of the dropdown */ |
5 | link and disable them in the top menu */ | 22 | #settings #expanddiv, |
6 | #nextcloud, #appmenu li[data-id="carnet"] a, #settings { | 23 | #settings #expanddiv > ul { |
7 | cursor:default; pointer-events: none; | 24 | min-height: 0; |
8 | } | 25 | } |
9 | 26 | ||
10 | /* Hide "More" link in the top menu */ | 27 | /* Hide "More" link in the top menu */ |
11 | #more-apps {display: none !important;} | 28 | #more-apps { |
29 | display: none !important; | ||
30 | } | ||
31 | |||
32 | /* Hide notifications that are not related to Carnet */ | ||
33 | .notifications .notification-wrapper .notification:not([object_type="carnet"]) { | ||
34 | display: none; | ||
35 | } | ||
36 | |||
37 | /* Hide "Dismiss all notifications" as this action will dismiss also hidden | ||
38 | notifications */ | ||
39 | .notification-wrapper .dismiss-all { | ||
40 | display: none; | ||
41 | } | ||