diff options
Diffstat (limited to 'recipes/nextcloud-calendar/service.css')
-rw-r--r-- | recipes/nextcloud-calendar/service.css | 34 |
1 files changed, 27 insertions, 7 deletions
diff --git a/recipes/nextcloud-calendar/service.css b/recipes/nextcloud-calendar/service.css index a0016ae..6e04c63 100644 --- a/recipes/nextcloud-calendar/service.css +++ b/recipes/nextcloud-calendar/service.css | |||
@@ -1,15 +1,33 @@ | |||
1 | /* Hide all app links and contacts menu link in the top menu except for | 1 | /* Hide all app links and contacts menu link in the top menu except for |
2 | Calendar */ | 2 | Calendar */ |
3 | #appmenu li:not([data-id="calendar"]), #contactsmenu {display: none;} | 3 | #appmenu li:not([data-id="calendar"]), |
4 | #contactsmenu { | ||
5 | display: none; | ||
6 | } | ||
7 | |||
8 | /* Change the cursor to default for top menu Nextcloud home and Calendar | ||
9 | links and disable them */ | ||
10 | #nextcloud, | ||
11 | #appmenu li[data-id="calendar"] a { | ||
12 | cursor:default; | ||
13 | pointer-events: none; | ||
14 | } | ||
4 | 15 | ||
5 | /* Change the cursor to default for top menu Nextcloud home, Calendar and | 16 | /* Hide all settings options, except the option to log out */ |
6 | settings links and disable them */ | 17 | #settings #expanddiv li:not([data-id='logout']) { |
7 | #nextcloud, #appmenu li[data-id="calendar"] a, #settings { | 18 | display: none; |
8 | cursor:default; pointer-events: none; | 19 | } |
20 | |||
21 | /* Fix the margin of the dropdown */ | ||
22 | #settings #expanddiv, | ||
23 | #settings #expanddiv > ul { | ||
24 | min-height: 0; | ||
9 | } | 25 | } |
10 | 26 | ||
11 | /* Hide "More" link in the top menu */ | 27 | /* Hide "More" link in the top menu */ |
12 | #more-apps {display: none !important;} | 28 | #more-apps { |
29 | display: none !important; | ||
30 | } | ||
13 | 31 | ||
14 | /* Hide notifications that are not related to calendar */ | 32 | /* Hide notifications that are not related to calendar */ |
15 | .notifications .notification-wrapper .notification:not([object_type="dav"]) { | 33 | .notifications .notification-wrapper .notification:not([object_type="dav"]) { |
@@ -18,4 +36,6 @@ settings links and disable them */ | |||
18 | 36 | ||
19 | /* Hide "Dismiss all notifications" as this action will dismiss also hidden | 37 | /* Hide "Dismiss all notifications" as this action will dismiss also hidden |
20 | notifications */ | 38 | notifications */ |
21 | .notification-wrapper .dismiss-all {display: none;} | 39 | .notification-wrapper .dismiss-all { |
40 | display: none; | ||
41 | } | ||