aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/nextcloud-cospend/service.css
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/nextcloud-cospend/service.css')
-rw-r--r--recipes/nextcloud-cospend/service.css39
1 files changed, 34 insertions, 5 deletions
diff --git a/recipes/nextcloud-cospend/service.css b/recipes/nextcloud-cospend/service.css
index 764531b..85171b0 100644
--- a/recipes/nextcloud-cospend/service.css
+++ b/recipes/nextcloud-cospend/service.css
@@ -1,12 +1,41 @@
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
2Cospend */ 2Cospend */
3#appmenu li:not([data-id="cospend"]), #contactsmenu {display: none;} 3#appmenu li:not([data-id='cospend']),
4#contactsmenu {
5 display: none;
6}
4 7
5/* Change the cursor to the default for Nextcloud home, Cospend and settings 8/* Change the cursor to the default for Nextcloud home and Cospend
6links in the top menu and disable them */ 9links in the top menu and disable them */
7#nextcloud, #appmenu li[data-id="cospend"] a, #settings { 10#nextcloud,
8 cursor:default; pointer-events: none; 11#appmenu li[data-id='cospend'] 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;
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}
31
32/* Hide notifications that are not related to Cospend */
33.notifications .notification-wrapper .notification:not([object_type="cospend"]) {
34 display: none;
35}
36
37/* Hide "Dismiss all notifications" as this action will dismiss also hidden
38notifications */
39.notification-wrapper .dismiss-all {
40 display: none;
41}