From 48c07ad8f8bc69f71ccbfe36642210e9b840c1c1 Mon Sep 17 00:00:00 2001 From: mindcombatant <9550058+mindcombatant@users.noreply.github.com> Date: Mon, 15 May 2023 00:00:50 +0000 Subject: Add Nextcloud Deck Recipe (#360) --- recipes/nextcloud-deck/service.css | 41 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 recipes/nextcloud-deck/service.css (limited to 'recipes/nextcloud-deck/service.css') 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 @@ +/* Hide all app links and contacts menu link in the top menu except for +Deck */ +#appmenu li:not([data-id='deck']), +#contactsmenu { + display: none; +} + +/* Change the cursor to the default for Nextcloud home and Deck +links in the top menu and disable them */ +#nextcloud, +#appmenu li[data-id='deck'] 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 Deck */ +.notifications .notification-wrapper .notification:not([object_type="deck"]) { + display: none; +} + +/* Hide "Dismiss all notifications" as this action will dismiss also hidden +notifications */ +.notification-wrapper .dismiss-all { + display: none; +} -- cgit v1.2.3-54-g00ecf