aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/nextcloud-talk/service.css
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/nextcloud-talk/service.css')
-rw-r--r--recipes/nextcloud-talk/service.css52
1 files changed, 32 insertions, 20 deletions
diff --git a/recipes/nextcloud-talk/service.css b/recipes/nextcloud-talk/service.css
index ccdba58..e616dd6 100644
--- a/recipes/nextcloud-talk/service.css
+++ b/recipes/nextcloud-talk/service.css
@@ -1,25 +1,43 @@
1/* Hide all app links in the top menu except for Talk */ 1/*
2#appmenu li:not([data-id="spreed"]) { 2With `/* Legacy [asterisk]/` are marked those selectors that were working for
3some Nextcloud version before 27 (24 or 25).
4*/
5
6/*Hide all interactive elements that are not related to the Talk. */
7/* App links and contacts menu link in the top menu except for Talk. */
8#appmenu li:not([data-id="spreed"]), /* Legacy */
9.app-menu .app-menu-main > .app-menu-entry:not([data-app-id="spreed"]),
10#unified-search,
11#contactsmenu,
12/* All settings options, except the option to log out */
13#settings #expanddiv li:not([data-id='logout']), /* Legacy */
14#header-menu-user-menu li:not([id='logout']), /* Nextcloud 27 */
15/* Hide notifications that are not related to Talk */
16.notification-container .notification-wrapper .notification:not([data-app="spreed"]),
17/* "Dismiss all notifications" as this action will dismiss also hidden
18notifications as this behaviour might not be desirable. */
19.notification-wrapper .dismiss-all, /* Legacy */
20#header-menu-notifications .notification-container .dismiss-all /* Nextcloud 27 */ {
3 display: none; 21 display: none;
4} 22}
5 23
6/* Change cursor to the default pointer for top menu Nextcloud home and Talk 24/* Change cursor to the default pointer for top menu Nextcloud home and Talk
7links and disable them */ 25links and disable them */
8#nextcloud, 26#nextcloud,
9#appmenu li[data-id="spreed"] a { 27#appmenu li[data-id="spreed"] a, /* Legacy */
28.app-menu-main li[data-app-id="spreed"] a /* Nextcloud 27 */ {
10 cursor: default; 29 cursor: default;
11 pointer-events: none; 30 pointer-events: none;
12} 31}
13 32
14/* Hide all settings options, except the option to log out */
15#settings #expanddiv li:not([data-id='logout']) {
16 display: none;
17}
18
19/* Fix the margin of the dropdown */ 33/* Fix the margin of the dropdown */
20#settings #expanddiv, 34#settings #expanddiv, /* Legacy */
21#settings #expanddiv > ul { 35#settings #expanddiv > ul, /* Legacy */
22 min-height: 0; 36#header-menu-user-menu, /* Nextcloud 27 */
37#header-menu-user-menu > .header-menu__content, /* Nextcloud 27 */
38#header-menu-notifications, /* Nextcloud 27 */
39#header-menu-notifications > .header-menu__content /* Nextcloud 27 */ {
40 min-height: auto;
23} 41}
24 42
25/* Hide "More" link in the top menu */ 43/* Hide "More" link in the top menu */
@@ -28,16 +46,10 @@ links and disable them */
28} 46}
29 47
30/* Hide notifications that are not related to Talk */ 48/* Hide notifications that are not related to Talk */
31.notifications .notification-wrapper .notification { 49.notifications .notification-wrapper .notification /* Legacy */ {
32 display: none; 50 display: none;
33} 51}
34.notifications .notification-wrapper .notification[object_type="chat"], 52.notifications .notification-wrapper .notification[object_type="chat"], /* Legacy */
35.notifications .notification-wrapper .notification[object_type="room"] { 53.notifications .notification-wrapper .notification[object_type="room"] /* Legacy */ {
36 display: initial; 54 display: initial;
37} 55}
38
39/* Hide "Dismiss all notifications" as this action will dismiss also hidden
40notifications */
41.notification-wrapper .dismiss-all {
42 display: none;
43}