aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/nextcloud-cospend/service.css
blob: 85171b08ada49857303845a056cb25ead9dd4bd9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/* Hide all app links and contacts menu link in the top menu except for
Cospend */
#appmenu li:not([data-id='cospend']),
#contactsmenu {
  display: none;
}

/* Change the cursor to the default for Nextcloud home and Cospend
links in the top menu and disable them */
#nextcloud,
#appmenu li[data-id='cospend'] a {
  cursor: default;
  pointer-events: none;
}

/* Hide all settings options, except the option to log out */
#settings #expanddiv li:not([data-id='logout']) {
  display: none;
}

/* Fix the margin of the dropdown */
#settings #expanddiv,
#settings #expanddiv > ul {
  min-height: 0;
}

/* Hide "More" link in the top menu */
#more-apps {
  display: none !important;
}

/* Hide notifications that are not related to Cospend */
.notifications .notification-wrapper .notification:not([object_type="cospend"]) {
  display: none;
}

/* Hide "Dismiss all notifications" as this action will dismiss also hidden
notifications */
.notification-wrapper .dismiss-all {
  display: none;
}