aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/nextcloud-news/service.css
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/nextcloud-news/service.css')
-rw-r--r--recipes/nextcloud-news/service.css27
1 files changed, 24 insertions, 3 deletions
diff --git a/recipes/nextcloud-news/service.css b/recipes/nextcloud-news/service.css
index ea90cc9..1a87a84 100644
--- a/recipes/nextcloud-news/service.css
+++ b/recipes/nextcloud-news/service.css
@@ -5,16 +5,37 @@ News */
5 display: none; 5 display: none;
6} 6}
7 7
8/* Change the cursor to the default for Nextcloud home, News and settings 8/* Change the cursor to the default for Nextcloud home and News
9links in the top menu and disable them */ 9links in the top menu and disable them */
10#nextcloud, 10#nextcloud,
11#appmenu li[data-id='news'] a, 11#appmenu li[data-id='news'] a {
12#settings {
13 cursor: default; 12 cursor: default;
14 pointer-events: none; 13 pointer-events: none;
15} 14}
16 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
17/* Hide "More" link in the top menu */ 27/* Hide "More" link in the top menu */
18#more-apps { 28#more-apps {
19 display: none !important; 29 display: none !important;
20} 30}
31
32/* Hide notifications that are not related to News */
33.notifications .notification-wrapper .notification:not([object_type="news"]) {
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}