From 08a7af9ef2bb0030fd1876674d53b719e91f13e2 Mon Sep 17 00:00:00 2001 From: Carlos SolĂ­s Date: Tue, 21 Jun 2022 09:39:54 -0600 Subject: Add fixes for Nextcloud-related webapps (#66) --- recipes/nextcloud-talk/service.css | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) (limited to 'recipes/nextcloud-talk/service.css') diff --git a/recipes/nextcloud-talk/service.css b/recipes/nextcloud-talk/service.css index f4f08bc..ccdba58 100644 --- a/recipes/nextcloud-talk/service.css +++ b/recipes/nextcloud-talk/service.css @@ -3,20 +3,34 @@ display: none; } -/* Change cursor to the default pointer for top menu Nextcloud home, Talk and -settings links and disable them */ -#nextcloud, #appmenu li[data-id="spreed"] a, #settings { +/* Change cursor to the default pointer for top menu Nextcloud home and Talk +links and disable them */ +#nextcloud, +#appmenu li[data-id="spreed"] 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 calendar */ -.notifications .notification-wrapper .notification {display: none;} +/* Hide notifications that are not related to Talk */ +.notifications .notification-wrapper .notification { + display: none; +} .notifications .notification-wrapper .notification[object_type="chat"], .notifications .notification-wrapper .notification[object_type="room"] { display: initial; @@ -24,4 +38,6 @@ settings links and disable them */ /* Hide "Dismiss all notifications" as this action will dismiss also hidden notifications */ -.notification-wrapper .dismiss-all {display: none;} +.notification-wrapper .dismiss-all { + display: none; +} -- cgit v1.2.3-70-g09d2