diff options
Diffstat (limited to 'recipes/nextcloud-deck/service.css')
-rw-r--r-- | recipes/nextcloud-deck/service.css | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/recipes/nextcloud-deck/service.css b/recipes/nextcloud-deck/service.css new file mode 100644 index 0000000..0bfd055 --- /dev/null +++ b/recipes/nextcloud-deck/service.css | |||
@@ -0,0 +1,41 @@ | |||
1 | /* Hide all app links and contacts menu link in the top menu except for | ||
2 | Deck */ | ||
3 | #appmenu li:not([data-id='deck']), | ||
4 | #contactsmenu { | ||
5 | display: none; | ||
6 | } | ||
7 | |||
8 | /* Change the cursor to the default for Nextcloud home and Deck | ||
9 | links in the top menu and disable them */ | ||
10 | #nextcloud, | ||
11 | #appmenu li[data-id='deck'] 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 | } | ||
20 | |||
21 | /* Fix the margin of the dropdown */ | ||
22 | #settings #expanddiv, | ||
23 | #settings #expanddiv > ul { | ||
24 | min-height: 0; | ||
25 | } | ||
26 | |||
27 | /* Hide "More" link in the top menu */ | ||
28 | #more-apps { | ||
29 | display: none !important; | ||
30 | } | ||
31 | |||
32 | /* Hide notifications that are not related to Deck */ | ||
33 | .notifications .notification-wrapper .notification:not([object_type="deck"]) { | ||
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 | } | ||