Compare commits

..

75 Commits

Author SHA1 Message Date
Simon Vieille d078cc68e7 fix(StandardMenu): move 'more apps' buttons down (#510) 2026-09-05 15:54:26 +02:00
Simon Vieille 55a2b21ed1 fix(StandardMenu): move app labels down (#510) 2026-09-05 15:43:35 +02:00
Simon Vieille f7a8a41f6e merge develop 2026-09-05 13:16:38 +02:00
Simon Vieille c2c6399106 Merge pull request 'feat: add search toggle option (fix #509)' (#515) from feature/issue509-search-toggle into develop
Reviewed-on: https://gitnet.fr/deblan/side_menu/pulls/515
2026-09-05 13:09:52 +02:00
Simon Vieille f4833d1956 feat: add search toggle option (fix #509) 2026-09-05 13:06:24 +02:00
Simon Vieille 9eab478c36 chore(info): set version 2026-07-18 16:28:51 +02:00
Simon Vieille c1588dfc2e Merge pull request 'feat(standard-menu): add unified-search-input size handling' (#507) from bugfix/top-menu-popover into develop
Reviewed-on: https://gitnet.fr/deblan/side_menu/pulls/507
2026-07-18 16:26:18 +02:00
Simon Vieille c24bb6f8c8 feat(standard-menu): add unified-search-input size handling 2026-07-18 16:26:06 +02:00
Simon Vieille ca689d8b6f Merge pull request 'bugfix/top-menu-popover' (#506) from bugfix/top-menu-popover into develop
Reviewed-on: https://gitnet.fr/deblan/side_menu/pulls/506
2026-07-18 15:52:52 +02:00
Simon Vieille e81f0e4b76 doc: update changelog 2026-07-18 15:52:34 +02:00
Simon Vieille 7033569bed feat(standard-menu): add unified-search-input size handling 2026-07-18 15:52:21 +02:00
Simon Vieille a9788f0ab8 Merge pull request 'bugfix/always-displays-no-apps' (#505) from bugfix/always-displays-no-apps into develop
Reviewed-on: https://gitnet.fr/deblan/side_menu/pulls/505
2026-07-18 13:03:22 +02:00
Simon Vieille 1a8063bd94 doc: update changelog 2026-07-18 13:00:51 +02:00
Simon Vieille cc841570ec fix(ui): only apply always-displayed display css rules when the menu is displayed 2026-07-18 13:00:35 +02:00
Simon Vieille d6a2da402c fix(webpack): set global appVersion 2026-07-18 12:44:22 +02:00
Simon Vieille fef11cd0cf Merge pull request 'feature/nc34' (#503) from feature/nc34 into develop
Reviewed-on: https://gitnet.fr/deblan/side_menu/pulls/503
2026-07-17 18:59:17 +02:00
Simon Vieille 12b35470c7 doc: update changelog 2026-07-17 18:58:42 +02:00
Simon Vieille 23cb8fcfc1 chore(app): remove compatibility with Nextcloud < 34 2026-07-17 18:58:24 +02:00
Simon Vieille 2b4da9cfce Merge pull request 'chore(info): set version' (#502) from feature/nc34 into develop
Reviewed-on: https://gitnet.fr/deblan/side_menu/pulls/502
2026-07-17 18:45:08 +02:00
Simon Vieille f2af45711d chore(info): set version 2026-07-17 18:44:57 +02:00
Simon Vieille 35afa38f73 Merge pull request 'feature/nc34' (#500) from feature/nc34 into develop
Reviewed-on: https://gitnet.fr/deblan/side_menu/pulls/500
2026-07-17 18:43:53 +02:00
Simon Vieille ad162f5821 doc: update changelog 2026-07-17 18:34:53 +02:00
Simon Vieille d3f87adcca feat(app): add compatibility with Nextcloud 34 2026-07-17 18:34:53 +02:00
Simon Vieille b32e4ded42 fix(app): add compatibility with Nextcloud 34 2026-07-17 18:31:25 +02:00
Simon Vieille 88e54e01b6 chore(dep): update @nextcloud/vue 2026-07-17 18:29:11 +02:00
Simon Vieille ce01983f1c Merge pull request 'fix: #489: allow PHP 8.5 compatibility' (#490) from feature/php85 into develop
Reviewed-on: https://gitnet.fr/deblan/side_menu/pulls/490
2026-04-05 09:23:27 +02:00
Simon Vieille 6ee79a3110 chore: app version 2026-04-05 09:23:09 +02:00
Simon Vieille a32bf417a7 fix: #489: allow PHP 8.5 compatibility 2026-04-05 09:12:58 +02:00
Simon Vieille 337e1a07e3 doc: update changelog 2026-03-08 19:10:29 +01:00
gallegonovato fccfe1341a Translated using Weblate (Spanish)
Currently translated at 100.0% (111 of 111 strings)

Translation: Custom menu/Application
Translate-URL: https://translate.codeberg.org/projects/custom-menu/application/es/
2026-03-08 19:09:32 +01:00
Outbreak2096 242569316f Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (111 of 111 strings)

Translation: Custom menu/Application
Translate-URL: https://translate.codeberg.org/projects/custom-menu/application/zh_Hans/
2026-03-08 19:09:31 +01:00
gallegonovato 78888460fc Translated using Weblate (Spanish)
Currently translated at 100.0% (111 of 111 strings)

Translation: Custom menu/Application
Translate-URL: https://translate.codeberg.org/projects/custom-menu/application/es/
2026-03-08 19:09:31 +01:00
Simon Vieille 4d453676dc Merge branch 'develop' into translations 2026-03-08 19:08:08 +01:00
Simon Vieille f49b30b20e Merge pull request 'bugfix/intl-segmenter-polyfill' (#479) from bugfix/intl-segmenter-polyfill into develop
Reviewed-on: https://gitnet.fr/deblan/side_menu/pulls/479
2026-03-08 19:06:18 +01:00
Simon Vieille 0067b4e1c8 doc: update changelog 2026-03-08 19:05:56 +01:00
Simon Vieille 77cf610c8b Merge branch 'develop' into bugfix/intl-segmenter-polyfill 2026-03-08 19:05:14 +01:00
Simon Vieille 5cd106640c Merge pull request 'bugfix/issue475-orm' (#476) from bugfix/issue475-orm into develop
Reviewed-on: https://gitnet.fr/deblan/side_menu/pulls/476
2026-03-01 13:18:24 +01:00
Simon Vieille d057cd7665 doc: update changelog 2026-03-01 13:11:26 +01:00
Simon Vieille 520225603b fix(admin/*SaveButton): cast settings to string 2026-03-01 13:09:02 +01:00
Simon Vieille c2ecc5bf98 fix(LangRepository): check orm capabilities to query entities 2026-03-01 13:08:26 +01:00
Simon Vieille 8cca320a43 chore: set side_menu as package name 2026-03-01 13:07:07 +01:00
Simon Vieille 19aaf0759b Merge pull request 'chore: app version' (#473) from feature/nc33 into develop
Reviewed-on: https://gitnet.fr/deblan/side_menu/pulls/473
2026-02-27 09:18:16 +01:00
Simon Vieille 47a83f10cc chore: app version 2026-02-27 09:17:46 +01:00
Simon Vieille e1a191121d Merge pull request 'chore: add compatibility with NC33' (#471) from feature/nc33 into develop
Reviewed-on: https://gitnet.fr/deblan/side_menu/pulls/471
2026-02-27 09:16:32 +01:00
Simon Vieille 54f4dce09b chore: add compatibility with NC33 2026-02-27 09:16:02 +01:00
Simon Vieille c0aaa206ed Merge pull request 'bugfix/issue468-logo' (#469) from bugfix/issue468-logo into develop
Reviewed-on: https://gitnet.fr/deblan/side_menu/pulls/469
2026-02-16 11:52:40 +01:00
Simon Vieille 0124336558 doc: update changelog 2026-02-16 10:12:09 +01:00
Simon Vieille 5ccb56309a fix #468: force nextcloud logo display css rule (opener-only) 2026-02-16 10:09:31 +01:00
gallegonovato 0cb14258ad Translated using Weblate (Spanish)
Currently translated at 100.0% (111 of 111 strings)

Translation: Custom menu/Application
Translate-URL: https://translate.codeberg.org/projects/custom-menu/application/es/
2026-02-13 18:29:09 +00:00
Simon Vieille 7d26be253a doc: update changelog 2026-01-10 15:51:26 +01:00
Simon Vieille 0437019bb0 fix #464: add Intl.Segmenter polyfill 2026-01-10 15:49:16 +01:00
Outbreak2096 7e7397735b Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (111 of 111 strings)

Translation: Custom menu/Application
Translate-URL: https://translate.codeberg.org/projects/custom-menu/application/zh_Hans/
2025-11-21 16:10:09 +00:00
Simon Vieille be68f2ef55 fix(doc): fix curl cmd 2025-10-29 17:48:09 +01:00
Codeberg Translate ccfb541404 Merge branch 'origin/translations' into Weblate. 2025-09-30 21:16:55 +00:00
gallegonovato f4e35bdc5d Translated using Weblate (Spanish)
Currently translated at 100.0% (111 of 111 strings)

Translation: Custom menu/Application
Translate-URL: https://translate.codeberg.org/projects/custom-menu/application/es/
2025-09-30 21:16:53 +00:00
Simon Vieille 1bf9cee8d6 Merge pull request 'bugfix/build' (#446) from bugfix/build into develop
Reviewed-on: https://gitnet.fr/deblan/side_menu/pulls/446
2025-09-29 00:19:56 +02:00
Simon Vieille 403a7a72fb update changelog 2025-09-29 00:18:55 +02:00
Simon Vieille 81ae76cdb7 build: add package-lock.json 2025-09-29 00:17:57 +02:00
Simon Vieille 32e5ecda8f ci: rollback node to v20 2025-09-29 00:12:56 +02:00
Simon Vieille de98967da5 ci: upgrade node to v22 2025-09-28 23:50:10 +02:00
Simon Vieille f39f3b3aef Merge branch 'translations' into develop 2025-09-28 19:49:28 +02:00
Simon Vieille 0db732b921 fix(trans/fr): remove typo 2025-09-28 19:48:27 +02:00
Simon Vieille ce39df6c2d update changelog 2025-09-28 19:47:42 +02:00
Simon Vieille bc94b61c12 Merge branch 'translations' into develop 2025-09-28 19:46:14 +02:00
Simon Vieille c54c969824 release v5.1.2 2025-09-28 19:43:27 +02:00
Simon Vieille e828a914cf Merge pull request '"Refactor Side Menu JsController to Use IAvatarManager via Dependency Injection for Nextcloud 32 Com' (#442) from AndyXheli/side_menu:develop into develop
Reviewed-on: https://gitnet.fr/deblan/side_menu/pulls/442
2025-09-28 19:40:50 +02:00
mbouzada 177f88b9aa Translated using Weblate (Galician)
Currently translated at 100.0% (111 of 111 strings)

Translation: Custom menu/Application
Translate-URL: https://translate.codeberg.org/projects/custom-menu/application/gl/
2025-09-28 01:36:08 +00:00
p-bo 66a6fda385 Translated using Weblate (Czech)
Currently translated at 100.0% (111 of 111 strings)

Translation: Custom menu/Application
Translate-URL: https://translate.codeberg.org/projects/custom-menu/application/cs/
2025-09-28 01:36:08 +00:00
AndyXheli 9ad73c7bf7 Update lib/Controller/JsController.php
Signed-off-by: AndyXheli <andyxheli@gmail.com>
2025-09-20 16:43:41 +02:00
AndyXheli acde24ea71 Update lib/Controller/JsController.php 2025-09-20 16:42:52 +02:00
AndyXheli 8bd89b4565 Update lib/Controller/JsController.php 2025-09-20 16:41:49 +02:00
AndyXheli 58cfbc24af "Refactor Side Menu JsController to Use IAvatarManager via Dependency Injection for Nextcloud 32 Com
🔧 Problem: The Side Menu app was calling OC\Server::getAvatarManager(), which no longer exists in Nextcloud 32.

✅ Fix:

Injected IAvatarManager using Nextcloud’s public API instead of accessing it via OC::$server.

Updated the constructor to accept IAvatarManager, IUserSession, INavigationManager, and IURLGenerator.

Replaced all direct calls to OC::$server->getAvatarManager() and similar with the injected services.

This makes the app compatible with Nextcloud 32 and avoids deprecated internal method calls.

Signed-off-by: AndyXheli <andyxheli@gmail.com>
2025-09-20 16:25:58 +02:00
s0undy a00fcb1423 Translated using Weblate (Swedish)
Currently translated at 100.0% (111 of 111 strings)

Translation: Custom menu/Application
Translate-URL: https://translate.codeberg.org/projects/custom-menu/application/sv/
2025-06-08 19:58:24 +00:00
s0undy f335c086b6 Translated using Weblate (Swedish)
Currently translated at 15.3% (17 of 111 strings)

Translation: Custom menu/Application
Translate-URL: https://translate.codeberg.org/projects/custom-menu/application/sv/
2025-06-01 23:58:24 +00:00
yurtpage 7bc8cd857c Translated using Weblate (Russian)
Currently translated at 100.0% (111 of 111 strings)

Translation: Custom menu/Application
Translate-URL: https://translate.codeberg.org/projects/custom-menu/application/ru/
2025-06-01 23:58:24 +00:00
36 changed files with 10141 additions and 372 deletions
-4
View File
@@ -2,8 +2,4 @@
/node_modules
/l10n/*
/releases
/package-lock.json
!/l10n/.gitkeep
/yarn*.log
/src/admin.js.bk
/templates/settings/admin-form.php.bk
+529 -131
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -40,7 +40,7 @@ If you want to install it from source, go to https://gitnet.fr/deblan/side_menu/
```
$ cd /path/to/nextcloud/apps
$ VERSION=x.y.z; curl -sS https://gitnet.fr/deblan/side_menu/releases/download/v${VERSION}/side_menu_v${VERSION}.tar.gz | tar xvfz -
$ VERSION=x.y.z; curl -sS "https://gitnet.fr/deblan/side_menu/releases/download/${VERSION}/side_menu_v${VERSION}.tar.gz" | tar xvfz -
```
Administrators can edit many settings using the administration page.
+3 -3
View File
@@ -30,7 +30,7 @@ Notice
Because I believe in a free and decentralized Internet, [Gitnet](https://gitnet.fr) is **self-hosted at home**.
In case of downtime, you can download **Custom Menu** from [here](https://kim.deblan.fr/~side_menu/).
]]></description>
<version>5.1.1</version>
<version>6.0.1</version>
<licence>agpl</licence>
<author mail="contact@deblan.fr" homepage="https://www.deblan.fr/">Simon Vieille</author>
<namespace>SideMenu</namespace>
@@ -52,8 +52,8 @@ In case of downtime, you can download **Custom Menu** from [here](https://kim.de
<screenshot><![CDATA[https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc25_big_menu.png]]></screenshot>
<screenshot><![CDATA[https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc25_default_menu.png]]></screenshot>
<dependencies>
<php min-version="8.1" max-version="8.4" />
<nextcloud min-version="31" max-version="32"/>
<php min-version="8.1" max-version="8.5" />
<nextcloud min-version="34" max-version="34"/>
</dependencies>
<settings>
<admin>OCA\SideMenu\Settings\Admin</admin>
+10 -7
View File
@@ -6,6 +6,7 @@ use OC\AllConfig;
use OC\App\AppStore\Fetcher\CategoryFetcher;
use OC\AppFramework\Http\Request;
use OC\Security\CSP\ContentSecurityPolicyNonceManager;
use OC\Security\CSRF\CsrfTokenManager;
use OC\User\User;
use OCA\SideMenu\Service\AppRepository;
use OCA\SideMenu\Service\CategoryRepository;
@@ -19,8 +20,11 @@ use OCP\AppFramework\Bootstrap\IRegistrationContext;
use OCP\EventDispatcher\IEventDispatcher;
use OCP\IConfig;
use OCP\INavigationManager;
use OCP\IRequest;
use OCP\IURLGenerator;
use OCP\IUserSession;
use OCP\L10N\IFactory;
use OCP\Server;
use OCP\Util;
use Psr\Container\ContainerInterface;
@@ -34,9 +38,9 @@ class Application extends App implements IBootstrap
public const APP_ID = 'side_menu';
public const APP_NAME = 'Custom menu';
protected AllConfig $config;
protected IConfig $config;
protected ContentSecurityPolicyNonceManager $cspnm;
protected Request $request;
protected IRequest $request;
protected ?User $user = null;
public function __construct(array $urlParams = [])
@@ -83,10 +87,9 @@ class Application extends App implements IBootstrap
public function boot(IBootContext $context): void
{
$this->config = \OC::$server->getConfig();
$this->cspnm = \OC::$server->getContentSecurityPolicyNonceManager();
$this->user = \OC::$server[IUserSession::class]->getUser();
$this->request = \OC::$server->getRequest();
$this->config = Server::get(IConfig::class);
$this->user = Server::get(IUserSession::class)->getUser();
$this->request = Server::get(IRequest::class);
if (!$this->isEnabled()) {
return;
@@ -138,7 +141,7 @@ class Application extends App implements IBootstrap
$cache = $this->config->getAppValue(self::APP_ID, 'cache', '0');
foreach ($assets as $value) {
$route = \OC::$server->getURLGenerator()->linkToRoute(
$route = Server::get(IURLGenerator::class)->linkToRoute(
$value['route'],
['v' => $cache]
);
+13 -1
View File
@@ -97,6 +97,7 @@ class AdminSettingController extends Controller
'use-avatar',
'add-logo-link',
'show-settings',
'show-search-form',
'loader-enabled',
'always-displayed',
'enabled',
@@ -137,6 +138,7 @@ class AdminSettingController extends Controller
'use-avatar' => '0',
'add-logo-link' => '1',
'show-settings' => '0',
'show-search-form' => '1',
'loader-enabled' => '1',
'always-displayed' => '0',
'enabled' => '1',
@@ -206,7 +208,17 @@ class AdminSettingController extends Controller
}
foreach ($defaults as $key => $default) {
if (!array_key_exists($key, $config)) {
if (array_key_exists($key, $config)) {
continue;
}
if (in_array($key, $booleans)) {
$config[$key] = $default === '1';
} elseif (in_array($key, $arrays)) {
$config[$key] = json_decode($default);
} elseif (in_array($key, $integers)) {
$config[$key] = (int) $default;
} else {
$config[$key] = $default;
}
}
+16 -15
View File
@@ -20,7 +20,6 @@
namespace OCA\SideMenu\Controller;
use OC\User\User;
use OCA\SideMenu\AppInfo\Application;
use OCA\SideMenu\Service\ConfigProxy;
use OCA\Theming\ThemingDefaults;
use OCP\AppFramework\Controller;
@@ -29,10 +28,12 @@ use OCP\AppFramework\Http\Attribute\NoAdminRequired;
use OCP\AppFramework\Http\Attribute\NoCSRFRequired;
use OCP\AppFramework\Http\Attribute\PublicPage;
use OCP\AppFramework\Http\JSONResponse;
use OCP\AppFramework\Http\TemplateResponse;
use OCP\IRequest;
use OCP\IUserSession;
use OCP\L10N\IFactory;
use OCP\IAvatarManager;
use OCP\INavigationManager;
use OCP\IURLGenerator;
class JsController extends Controller
{
@@ -44,14 +45,13 @@ class JsController extends Controller
protected ConfigProxy $config,
protected ThemingDefaults $themingDefaults,
protected IFactory $l10nFactory,
protected IAvatarManager $avatarManager,
protected IUserSession $userSession,
protected INavigationManager $navigationManager,
protected IURLGenerator $urlGenerator,
) {
parent::__construct($appName, $request);
$this->themingDefaults = $themingDefaults;
$this->user = \OC::$server[IUserSession::class]->getUser();
$this->config = $config;
$this->l10nFactory = $l10nFactory;
$this->user = $this->userSession->getUser();
}
#[NoCSRFRequired]
@@ -99,25 +99,25 @@ class JsController extends Controller
$targetBlankApps = $userTargetBlankApps;
}
$isAvatarSet = \OC::$server->getAvatarManager()->getAvatar($this->user->getUid())->exists();
$isAvatarSet = $this->avatarManager->getAvatar($this->user->getUID())->exists();
if ($useAvatar && $isAvatarSet) {
$avatar = \OC::$server->getURLGenerator()->linkToRoute('core.avatar.getAvatar', [
'userId' => $this->user->getUid(),
$avatar = $this->urlGenerator->linkToRoute('core.avatar.getAvatar', [
'userId' => $this->user->getUID(),
'size' => 128,
'v' => $this->config->getUserValueInt($this->user, 'avatar', 'version', 0),
]);
}
if ($this->config->getAppValueBool('show-settings', '0')) {
$settingsNav = \OC::$server->getNavigationManager()->getAll('settings');
$settingsNav = $this->navigationManager->getAll('settings');
if (isset($settingsNav['settings'])) {
$settings = [
'href' => $settingsNav['settings']['href'],
'name' => $settingsNav['settings']['name'],
'avatar' => \OC::$server->getURLGenerator()->linkToRoute('core.avatar.getAvatar', [
'userId' => $this->user->getUid(),
'avatar' => $this->urlGenerator->linkToRoute('core.avatar.getAvatar', [
'userId' => $this->user->getUID(),
'size' => 32,
'v' => $this->config->getUserValueInt($this->user, 'avatar', 'version', 0),
]),
@@ -126,7 +126,7 @@ class JsController extends Controller
}
}
$indexUrl = \OC::$server->getURLGenerator()->linkTo('', 'index.php');
$indexUrl = $this->urlGenerator->linkTo('', 'index.php');
return [
'opener-position' => $this->config->getAppValue('opener-position', 'before'),
@@ -135,6 +135,7 @@ class JsController extends Controller
'force-light-icon' => $this->config->getAppValueBool('force-light-icon', '0'),
'display-logo' => $this->config->getAppValueBool('display-logo', '1'),
'use-avatar' => $this->config->getAppValueBool('use-avatar', '0'),
'show-search-form' => $this->config->getAppValueBool('show-search-form', '1'),
'hide-when-no-apps' => $this->config->getAppValueBool('hide-when-no-apps', '0'),
'loader-enabled' => $this->config->getAppValueBool('loader-enabled', '1'),
'always-displayed' => $this->config->getAppValueBool('always-displayed', '0'),
+6 -1
View File
@@ -30,7 +30,12 @@ class LangRepository
->from('preferences')
;
$stmt = $qb->execute();
// Nextcloud >=33+
if (method_exists($qb, 'executeQuery')) {
$stmt = $qb->executeQuery();
} else {
$stmt = $qb->execute();
}
$langs = ['en'];
+9300
View File
File diff suppressed because it is too large Load Diff
+2 -1
View File
@@ -11,8 +11,9 @@
},
"dependencies": {
"@babel/core": ">=7.12.0 <8.0.0",
"@formatjs/intl-segmenter": "^12.0.8",
"@nextcloud/router": "^3.0.1",
"@nextcloud/vue": "^9.0.0-alpha.8",
"@nextcloud/vue": "^9.9.0",
"node-polyfill-webpack-plugin": "^4.1.0",
"pinia": "^3.0.1",
"postcss": "^7.0.0 || ^8.0.1",
+2
View File
@@ -17,6 +17,8 @@
import './scss/admin.scss'
import '@formatjs/intl-segmenter/polyfill.js'
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import { waitContainer } from './lib/dom.js'
+2 -2
View File
@@ -73,10 +73,10 @@ const save = async () => {
if (Array.isArray(value) || typeof value === 'object') {
value = JSON.stringify(value)
} else if (typeof value === 'boolean') {
value = value ? 1 : 0
value = value ? '1' : '0'
}
OCP.AppConfig.setValue('side_menu', key, value, {
OCP.AppConfig.setValue('side_menu', key, value.toString(), {
success() {
update()
},
+2 -2
View File
@@ -69,11 +69,11 @@ const save = async () => {
if (Array.isArray(value) || typeof value === 'object') {
value = JSON.stringify(value)
} else if (typeof value === 'boolean') {
value = value ? 1 : 0
value = value ? '1' : '0'
}
formData.push('name=' + encodeURIComponent(key))
formData.push('value=' + encodeURIComponent(value))
formData.push('value=' + encodeURIComponent(value.toString()))
fetch(url, {
method: 'POST',
+14 -13
View File
@@ -94,18 +94,19 @@
'Search': 'Hledat'
'Toggle the menu': 'Vyp/zap nabídku'
'Open the documentation': 'Open the documentation'
'Ask the developer': 'Ask the developer'
'New request': 'New request'
'Report a bug': 'Report a bug'
'Show the configuration': 'Show the configuration'
'Ask the developer': 'Zeptejte se vývojáře'
'New request': 'Nový požadavek'
'Report a bug': 'Nahlásit chybu'
'Show the configuration': 'Zobrazit nastavení'
'Configuration:': 'Configuration:'
'Done!': 'Done!'
'Copy': 'Copy'
'Need help': 'Need help'
'I would like a new feature': 'I would like a new feature'
'Something went wrong': 'Something went wrong'
'Select apps': 'Select apps'
'Sort': 'Sort'
'Customize': 'Customize'
'Done!': 'Hotovo!'
'Copy': 'Zkopírovat'
'Need help': 'Potřebuji pomoc'
'I would like a new feature': 'Rád bych novou funkci v aplikaci'
'Something went wrong': 'Něco se pokazilo'
'Select apps': 'Vyberte aplikace'
'Sort': 'Seřadit'
'Customize': 'Přizpůsobit'
'Custom': 'Custom'
'Close': 'Close'
'Close': 'Zavřít'
'Show the search form': 'Show the search form'
+1
View File
@@ -109,3 +109,4 @@
'Customize': 'Customize'
'Custom': 'Custom'
'Close': 'Close'
'Show the search form': 'Show the search form'
+14 -13
View File
@@ -94,18 +94,19 @@
'Search': 'Buscar'
'Toggle the menu': 'Alternar el menú'
'Open the documentation': 'Open the documentation'
'Ask the developer': 'Ask the developer'
'New request': 'New request'
'Report a bug': 'Report a bug'
'Show the configuration': 'Show the configuration'
'Ask the developer': 'Pregúntale al desarrollador'
'New request': 'Nueva solicitud'
'Report a bug': 'Informar de un fallo'
'Show the configuration': 'Mostrar los ajustes'
'Configuration:': 'Configuration:'
'Done!': 'Done!'
'Copy': 'Copy'
'Need help': 'Need help'
'I would like a new feature': 'I would like a new feature'
'Something went wrong': 'Something went wrong'
'Select apps': 'Select apps'
'Sort': 'Sort'
'Customize': 'Customize'
'Done!': '¡Realizado!'
'Copy': 'Copiar'
'Need help': 'Ayudame'
'I would like a new feature': 'Me gustaría una nueva función'
'Something went wrong': 'Algo salió mal'
'Select apps': 'Selecciona las aplicaciones'
'Sort': 'Ordenar'
'Customize': 'Personalizar'
'Custom': 'Custom'
'Close': 'Close'
'Close': 'Cerrar'
'Show the search form': 'Show the search form'
+2 -1
View File
@@ -1,4 +1,4 @@
'Custom menu': '­­­Menu personnalisé'
'Custom menu': 'Menu personnalisé'
'Enable the custom menu': 'Activer le menu personnalisé'
'No': 'Non'
'Yes': 'Oui'
@@ -128,3 +128,4 @@
'Customize': 'Personnaliser'
'Custom': 'Personnalisé'
'Close': 'Fermer'
'Show the search form': 'Afficher le formulaire de recherche'
+17 -16
View File
@@ -3,7 +3,7 @@
'No': 'Non'
'Yes': 'Si'
'Menu': 'Menú'
'Use the shortcut Ctrl+o to open and to hide the side menu. Use tab key to navigate.': 'Use the shortcut Ctrl+o to open and to hide the side menu. Use tab key to navigate.'
'Use the shortcut Ctrl+o to open and to hide the side menu. Use tab key to navigate.': 'Use o atallo Ctrl+o para abrir e agochar o menú lateral. Use a tecla Tab para navegar.'
'Top menu': 'Top menu'
'Apps that not must be moved in the side menu': 'As aplicacións que non deben moverse no menú lateral'
'If there is no selection then the global configuration is applied.': 'Se non hai selección, aplícase a configuración global.'
@@ -94,18 +94,19 @@
'Search': 'Buscar'
'Toggle the menu': 'Alternar o menú'
'Open the documentation': 'Open the documentation'
'Ask the developer': 'Ask the developer'
'New request': 'New request'
'Report a bug': 'Report a bug'
'Show the configuration': 'Show the configuration'
'Configuration:': 'Configuration:'
'Done!': 'Done!'
'Copy': 'Copy'
'Need help': 'Need help'
'I would like a new feature': 'I would like a new feature'
'Something went wrong': 'Something went wrong'
'Select apps': 'Select apps'
'Sort': 'Sort'
'Customize': 'Customize'
'Custom': 'Custom'
'Close': 'Close'
'Ask the developer': 'Preguntar ao desenvolvedor'
'New request': 'Nova solicitude'
'Report a bug': 'Informar dun fallo'
'Show the configuration': 'Amosar a configuración'
'Configuration:': 'Configuración:'
'Done!': 'Feito!'
'Copy': 'Copiar'
'Need help': 'Necesito axuda'
'I would like a new feature': 'Gustaríame unha nova característica'
'Something went wrong': 'Algo foi mal'
'Select apps': 'Seleccionar as aplicacións'
'Sort': 'Ordenar'
'Customize': 'Personalizar'
'Custom': 'Personalizado'
'Close': 'Pechar'
'Show the search form': 'Show the search form'
+1
View File
@@ -109,3 +109,4 @@
'Customize': 'Customize'
'Custom': 'Custom'
'Close': 'Close'
'Show the search form': 'Show the search form'
+1
View File
@@ -107,3 +107,4 @@
'Customize': 'Customize'
'Custom': 'Custom'
'Close': 'Close'
'Show the search form': 'Show the search form'
+3 -2
View File
@@ -1,4 +1,4 @@
'Custom menu': 'Custom menu'
'Custom menu': 'Пользовательское меню'
'Enable the custom menu': 'Включить пользовательское меню'
'No': 'Нет'
'Yes': 'Да'
@@ -77,7 +77,7 @@
'Customize sorting': 'Настроить сортировку'
'Order by': 'В порядке'
'Name': 'Название'
'Customed': 'Приспособлено'
'Customed': 'Пользовательское'
'Show and hide the list of categories': 'Показать или скрыть список категорий'
'This parameters are used when Dark theme or Breeze Dark Theme are enabled.': 'Эти настройки используются темами Тёмная и Тёмная Breeze.'
'Dark mode colors': 'Цвета тёмной темы'
@@ -109,3 +109,4 @@
'Customize': 'Приспособить'
'Custom': 'Custom'
'Close': 'Закрыть'
'Show the search form': 'Show the search form'
+1
View File
@@ -107,3 +107,4 @@
'Customize': 'Customize'
'Custom': 'Custom'
'Close': 'Close'
'Show the search form': 'Show the search form'
+112 -111
View File
@@ -1,111 +1,112 @@
'Custom menu': ''
'Enable the custom menu': ''
'No': ''
'Yes': ''
'Menu': ''
'Use the shortcut Ctrl+o to open and to hide the side menu. Use tab key to navigate.': ''
'Top menu': ''
'Apps that not must be moved in the side menu': ''
'If there is no selection then the global configuration is applied.': ''
'Experimental': ''
'Save': ''
'You like this app and you want to support me?': ''
'Buy me a coffee ☕': ''
'Hidden': ''
'Small': ''
'Normal': ''
'Big': ''
'Hidden icon': ''
'Small icon': ''
'Normal icon': ''
'Big icon': ''
'Hidden text': ''
'Small text': ''
'Normal text': ''
'Big text': ''
'Colors': ''
'Background color': ''
'Background color of current app': ''
'Text color': ''
'Loader': ''
'Icon': ''
'Same color': ''
'Opposite color': ''
'Transparent': ''
'Opaque': ''
'Opener': ''
'Default': ''
'Default (dark)': ''
'Hamburger': ''
'Hamburger (dark)': ''
'Hamburger 2': ''
'Hamburger 2 (dark)': ''
'Before the logo': ''
'After the logo': ''
'Position': ''
'Show only the opener (hidden logo)': ''
'Do not display the side menu and the opener if there is no application (eg: public pages).': ''
'Panel': ''
'Open the menu when the mouse is hover the opener (automatically disabled on touch screens)': ''
'Display the big menu': ''
'Display the logo': ''
'Icons and texts': ''
'Loader enabled': ''
'Tips': ''
'Always displayed': ''
'This is the automatic behavior when the menu is always displayed.': ''
'Not compatible with touch screens.': ''
'Big menu': ''
'Live preview': ''
'Open apps in new tab': ''
'Use the global setting': ''
'Use my selection': ''
'Show and hide the list of applications': ''
'Use the avatar instead of the logo': ''
'You do not have permission to change the settings.': ''
'Force this configuration to users': ''
'Export the configuration': ''
'Purge the cache': ''
'Show the link to settings': ''
'The menu is enabled by default for users': ''
'Except when the configuration is forced.': ''
'Apps that should not be displayed in the menu': ''
'This feature is only compatible with the <code>big menu</code> display.': ''
'The logo is a link to the default app': ''
'Others': ''
'Categories': ''
'Customize sorting': ''
'Order by': ''
'Name': ''
'Customed': ''
'Show and hide the list of categories': ''
'This parameters are used when Dark theme or Breeze Dark Theme are enabled.': ''
'Dark mode colors': ''
'With categories': ''
'Custom categories': ''
'Customize application categories': ''
'Reset to default': ''
'Applications': ''
'Applications kept in the top menu': ''
'Applications kept in the top menu but also shown in side menu': ''
'These applications must be selected in the previous option.': ''
'Hide labels on mouse over': ''
'Except the hovered app': ''
'Search': ''
'Toggle the menu': ''
'Open the documentation': ''
'Ask the developer': ''
'New request': ''
'Report a bug': ''
'Show the configuration': ''
'Configuration:': ''
'Done!': ''
'Copy': ''
'Need help': ''
'I would like a new feature': ''
'Something went wrong': ''
'Select apps': ''
'Sort': ''
'Customize': ''
'Custom': ''
'Close': ''
'Custom menu': 'Anpassad meny'
'Enable the custom menu': 'Aktivera den anpassade menyn'
'No': 'Nej'
'Yes': 'Ja'
'Menu': 'Meny'
'Use the shortcut Ctrl+o to open and to hide the side menu. Use tab key to navigate.': 'Använd genvägen Ctrl+o för att visa eller dölja sidomenyn. Använd tabb-tangenten för att navigera.'
'Top menu': 'Toppmeny'
'Apps that not must be moved in the side menu': 'Appar som inte får flyttas i sidomenyn'
'If there is no selection then the global configuration is applied.': 'Om inget val har gjorts tillämpas den globala konfigurationen.'
'Experimental': 'Experimentell'
'Save': 'Spara'
'You like this app and you want to support me?': 'Gillar du den här appen och vill stödja mig?'
'Buy me a coffee ☕': 'Bjud mig på en kaffe ☕'
'Hidden': 'Dold'
'Small': 'Liten'
'Normal': 'Normal'
'Big': 'Stor'
'Hidden icon': 'Dold ikon'
'Small icon': 'Liten ikon'
'Normal icon': 'Normal ikon'
'Big icon': 'Stor ikon'
'Hidden text': 'Dold text'
'Small text': 'Liten text'
'Normal text': 'Normal text'
'Big text': 'Stor text'
'Colors': 'Färger'
'Background color': 'Bakgrundsfärg'
'Background color of current app': 'Bakgrundsfärg för aktuell app'
'Text color': 'Textfärg'
'Loader': 'Laddare'
'Icon': 'Ikon'
'Same color': 'Samma färg'
'Opposite color': 'Motsatt färg'
'Transparent': 'Transparent'
'Opaque': 'Ogenomskinlig'
'Opener': 'Öppnare'
'Default': 'Standard'
'Default (dark)': 'Standard(mörk)'
'Hamburger': 'Hamburgermeny'
'Hamburger (dark)': 'Hamburgermeny(mörk)'
'Hamburger 2': 'Hamburgermeny 2'
'Hamburger 2 (dark)': 'Hamburgermeny 2 (mörk)'
'Before the logo': 'Före logotypen'
'After the logo': 'Efter logotypen'
'Position': 'Position'
'Show only the opener (hidden logo)': 'Visa endast öppnaren (gömd logotyp)'
'Do not display the side menu and the opener if there is no application (eg: public pages).': 'Visa inte sidomenyn eller öppnaren om det inte finns någon applikation (t.ex. publika sidor).'
'Panel': 'Panel'
'Open the menu when the mouse is hover the opener (automatically disabled on touch screens)': 'Öppna menyn när muspekaren hovrar över öppnaren (automatiskt avaktiverat på pekskärmar)'
'Display the big menu': 'Visa den stora menyn'
'Display the logo': 'Visa logotypen'
'Icons and texts': 'Ikoner och texter'
'Loader enabled': 'Laddare aktiverad'
'Tips': 'Tips'
'Always displayed': 'Alltid visad'
'This is the automatic behavior when the menu is always displayed.': 'Detta är det automatiska beteendet när menyn alltid är visad.'
'Not compatible with touch screens.': 'Inte kompatibel med pekskärmar.'
'Big menu': 'Stor meny'
'Live preview': 'Förhandsgranskning i realtid'
'Open apps in new tab': 'Öppna appar i ny flik'
'Use the global setting': 'Använd den globala inställningen'
'Use my selection': 'Använd mitt val'
'Show and hide the list of applications': 'Visa och dölj listan över applikationer'
'Use the avatar instead of the logo': 'Använd avataren istället för logotypen'
'You do not have permission to change the settings.': 'Du har inte behörighet att ändra inställningarna.'
'Force this configuration to users': 'Tvinga denna konfiguration för användare'
'Export the configuration': 'Exportera konfigurationen'
'Purge the cache': 'Rensa cachen'
'Show the link to settings': 'Visa länken till inställningarna'
'The menu is enabled by default for users': 'Menyn är aktiverad som standard för användare'
'Except when the configuration is forced.': 'Förutom när konfigurationen är tvingad.'
'Apps that should not be displayed in the menu': 'Appar som inte ska visas i menyn'
'This feature is only compatible with the <code>big menu</code> display.': 'Denna funktion är endast kompatibel med <code>stor meny</code>.'
'The logo is a link to the default app': 'Logotypen är en länk till standardappen'
'Others': 'Övriga'
'Categories': 'Kategorier'
'Customize sorting': 'Anpassa sortering'
'Order by': 'Sortera efter'
'Name': 'Namn'
'Customed': 'Anpassad'
'Show and hide the list of categories': 'Visa och dölj listan över kategorier'
'This parameters are used when Dark theme or Breeze Dark Theme are enabled.': 'Dessa parametrar används när mörkt tema eller Breeze Dark Theme är aktiverade.'
'Dark mode colors': 'Färger för mörkt läge'
'With categories': 'Med kategorier'
'Custom categories': 'Anpassade kategorier'
'Customize application categories': 'Anpassa app kategorier'
'Reset to default': 'Återställ till standardvärden'
'Applications': 'Applikationer'
'Applications kept in the top menu': 'Applikationer som hålls i toppmenyn'
'Applications kept in the top menu but also shown in side menu': 'Applikationer som visas både i toppmenyn och i sidomenyn'
'These applications must be selected in the previous option.': 'Dessa applikationer måste väljas i föregående alternativ.'
'Hide labels on mouse over': 'Dölj etiketter när muspekaren är över'
'Except the hovered app': 'Förutom den app som muspekaren är över'
'Search': 'Sök'
'Toggle the menu': 'Växla menyn'
'Open the documentation': 'Öppna dokumentationen'
'Ask the developer': 'Fråga utvecklaren'
'New request': 'Ny förfrågan'
'Report a bug': 'Rapportera ett fel'
'Show the configuration': 'Visa konfigurationen'
'Configuration:': 'Konfiguration:'
'Done!': 'Klar!'
'Copy': 'Kopiera'
'Need help': 'Behöver hjälp'
'I would like a new feature': 'Jag skulle vilja ha en ny funktion'
'Something went wrong': 'Något gick fel'
'Select apps': 'Välj appar'
'Sort': 'Sortera'
'Customize': 'Anpassa'
'Custom': 'Anpassad'
'Close': 'Stäng'
'Show the search form': 'Show the search form'
+1
View File
@@ -109,3 +109,4 @@
'Customize': 'Customize'
'Custom': 'Custom'
'Close': 'Close'
'Show the search form': 'Show the search form'
+2 -1
View File
@@ -38,7 +38,7 @@
'Show only the opener (hidden logo)': '仅显示触发器(隐藏徽标)'
'Do not display the side menu and the opener if there is no application (eg: public pages).': '如果没有应用程序(例如:公共页面),则不要显示侧边栏菜单和触发器。'
'Panel': '面板'
'Open the menu when the mouse is hover the opener (automatically disabled on touch screens)': '‌当鼠标悬停在触发器上时打开菜单(在触摸屏上自动禁用)'
'Open the menu when the mouse is hover the opener (automatically disabled on touch screens)': '当鼠标悬停在触发器上时打开菜单(在触摸屏上自动禁用)'
'Display the big menu': '显示大型菜单'
'Display the logo': '显示徽标'
'Icons and texts': '图标和文本'
@@ -109,3 +109,4 @@
'Customize': '自定义'
'Custom': '自定义'
'Close': '关闭'
'Show the search form': 'Show the search form'
+2
View File
@@ -17,6 +17,8 @@
import './scss/menu.scss'
import '@formatjs/intl-segmenter/polyfill.js'
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import { createElement, waitContainer } from './lib/dom.js'
+3 -1
View File
@@ -27,7 +27,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
:label="settings.name"
:avatar="settings.avatar"
/>
<AppSearch v-model="search" />
<AppSearch v-if="showSearchForm" v-model="search" />
<OpenerButton
v-if="!openerHover"
@click="$emit('close')"
@@ -102,6 +102,7 @@ const activeApp = ref(null)
const targetBlankApps = ref([])
const settings = ref(null)
const search = ref('')
const showSearchForm = ref(true)
const openerHover = ref(false)
const menu = useTemplateRef('menu')
const isTouchDevice = window.matchMedia('(pointer: coarse)').matches
@@ -120,6 +121,7 @@ onMounted(async () => {
targetBlankApps.value = config['target-blank-apps']
settings.value = config['settings']
showSearchForm.value = config['show-search-form']
openerHover.value = config['opener-hover'] && !isTouchDevice
items.value = await navStore.getCategories()
+3 -1
View File
@@ -30,7 +30,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
:avatar="settings.avatar"
/>
<AppSearch
v-if="open"
v-if="showSearchForm"
v-model="search"
/>
<OpenerButton
@@ -103,6 +103,7 @@ const openerHover = ref(false)
const alwaysDisplayed = ref(false)
const displayLogo = ref(false)
const useAvatarAsLogo = ref(false)
const showSearchForm = ref(true)
const search = ref('')
const apps = ref([])
const menu = useTemplateRef('menu')
@@ -151,6 +152,7 @@ onMounted(async () => {
alwaysDisplayed.value = config['always-displayed']
targetBlankApps.value = config['target-blank-apps']
forceLightIcon.value = config['force-light-icon']
showSearchForm.value = config['show-search-form']
avatar.value = config['avatar']
logo.value = config['logo']
+17 -12
View File
@@ -62,8 +62,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</li>
</ul>
<NcActions
class="cm-standardmenu-app-menu-more app-menu-more"
class="cm-standardmenu-app-menu-more"
:aria-label="t('core', 'More apps')"
:forceMenu="true"
>
<NcActionLink
v-for="app in popoverAppList"
@@ -132,19 +133,27 @@ const setApps = (value) => {
const appLimit = () => {
const headerStart = document.querySelector('#header .header-start')
const headerEnd = document.querySelector('#header .header-end')
const unifiedSearch = document.querySelector('#header .unified-search-input')
const body = document.querySelector('body')
let size = (headerEnd ? headerEnd.offsetWidth : 0) + 70
let totalWidth = body.offsetWidth
let otherElementsWidth = headerEnd ? headerEnd.offsetWidth : 0
if (unifiedSearch && headerEnd.offsetWidth < unifiedSearch.offsetWidth) {
otherElementsWidth += unifiedSearch.offsetWidth
}
let maxWidth = body.offsetWidth - otherElementsWidth
if (headerStart) {
Array.from(headerStart.children).forEach((child) => {
if (child.id !== 'app-menu-container') {
size += child.offsetWidth
maxWidth -= child.offsetWidth
}
})
}
return Math.max(0, Math.floor((body.offsetWidth - size) / 70))
return Math.max(0, Math.floor(maxWidth / 60))
}
const makeStyle = (app) => {
@@ -156,13 +165,9 @@ const makeStyle = (app) => {
}
const computeLists = () => {
mainAppList.value = appList.value.slice(0, appLimit())
popoverAppList.value = appList.value.slice(appLimit()).sort((a, b) => a.order - b.order)
}
const reComputeLists = (delay) => {
window.clearTimeout(resizeTimeout)
resizeTimeout = window.setTimeout(computeLists, delay || 100)
const limit = appLimit()
mainAppList.value = appList.value.slice(0, limit)
popoverAppList.value = appList.value.slice(limit).sort((a, b) => a.order - b.order)
}
onMounted(async () => {
@@ -177,7 +182,7 @@ onMounted(async () => {
setApps(await navStore.getCoreApps())
window.addEventListener('resize', reComputeLists)
window.setInterval(computeLists, 100)
})
</script>
+3 -1
View File
@@ -31,7 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
:label="settings.name"
:avatar="settings.avatar"
/>
<AppSearch v-model="search" />
<AppSearch v-if="showSearchForm" v-model="search" />
<OpenerButton
v-if="!openerHover"
@click="$emit('close')"
@@ -107,6 +107,7 @@ const activeApp = ref(null)
const targetBlankApps = ref([])
const settings = ref(null)
const search = ref('')
const showSearchForm = ref(true)
const openerHover = ref(false)
const menu = useTemplateRef('menu')
const isTouchDevice = window.matchMedia('(pointer: coarse)').matches
@@ -125,6 +126,7 @@ onMounted(async () => {
targetBlankApps.value = config['target-blank-apps']
settings.value = config['settings']
showSearchForm.value = config['show-search-form']
openerHover.value = config['opener-hover'] && !isTouchDevice
items.value = await navStore.getCategories()
+9
View File
@@ -80,6 +80,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<FormYesNo v-model="config['show-settings']" />
</SettingValue>
</SettingItem>
<SettingItem :disabled="config['always-displayed']">
<SettingLabel
label="Show the search form"
:middle="true"
/>
<SettingValue>
<FormYesNo v-model="config['show-search-form']" />
</SettingValue>
</SettingItem>
<SettingItem>
<SettingLabel
label="Icons"
-5
View File
@@ -32,11 +32,6 @@
.app-navigation-entry__name {
padding-left: 10px !important;
}
.app-navigation-toggle-wrapper {
top: calc(var(--app-navigation-padding) - 3px) !important;
inset-inline-end: calc(0px - var(--app-navigation-padding) * 3) !important;
}
}
&-tips {
+44 -14
View File
@@ -363,6 +363,16 @@
right: 0 !important;
margin-left: 0 !important;
}
#content {
left: 53px;
width: calc(100% - (var(--body-container-margin) * 2) - 62px);
}
#content-vue {
width: calc(100% - (var(--body-container-margin) * 2) - 60px);
margin-left: 11px;
}
}
@media screen and (max-width: 1024px) {
@@ -385,6 +395,16 @@
padding: 10px 0;
}
}
#header {
.unified-search-input {
width: 80px !important;
.unified-search-input__label {
display: none;
}
}
}
}
@media screen and (min-width: 1024px) {
@@ -470,7 +490,7 @@ $header-icon-size: 20px;
color: var(--color-primary-text);
text-align: center;
left: 50%;
top: 45%;
top: 55%;
display: block;
min-width: 100%;
transform: translateX(-50%);
@@ -542,23 +562,27 @@ $header-icon-size: 20px;
}
}
.app-menu-more .button-vue--vue-tertiary {
opacity: 0.7;
margin: 8px 3px 3px 3px;
filter: var(--background-image-invert-if-bright, var(--primary-invert-if-bright));
&-app-menu-more {
padding-top: 9px !important;
&:not([aria-expanded='true']) {
color: var(--color-main-text);
.button-vue--vue-tertiary {
opacity: 0.7;
margin: 8px 3px 3px 3px;
filter: var(--background-image-invert-if-bright, var(--primary-invert-if-bright));
&:hover {
opacity: 1;
background-color: transparent !important;
&:not([aria-expanded='true']) {
color: var(--color-main-text);
&:hover {
opacity: 1;
background-color: transparent !important;
}
}
}
&:focus-visible {
opacity: 1;
outline: none !important;
&:focus-visible {
opacity: 1;
outline: none !important;
}
}
}
@@ -599,3 +623,9 @@ $header-icon-size: 20px;
display: none;
}
}
#header {
.unified-search-input:not(.unified-search-input--mobile) {
position: unset !important;
}
}
+2
View File
@@ -17,6 +17,8 @@
import './scss/admin.scss'
import '@formatjs/intl-segmenter/polyfill.js'
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import { waitContainer } from './lib/dom.js'
+1 -13
View File
@@ -38,7 +38,7 @@ body[data-theme-light], body[data-theme-light-highcontrast] {
<?php if ($_['opener-only']) { ?>
#nextcloud {
display: none;
display: none !important;
}
<?php } ?>
@@ -117,15 +117,3 @@ body[data-theme-light], body[data-theme-light-highcontrast] {
font-size: 16px;
}
<?php } ?>
<?php if ($_['always-displayed']) { ?>
#content {
left: 53px;
width: calc(100% - (var(--body-container-margin) * 2) - 62px);
}
#content-vue {
width: calc(100% - (var(--body-container-margin) * 2) - 60px);
margin-left: 11px;
}
<?php } ?>
+2
View File
@@ -7,6 +7,7 @@ const NodePolyfillPlugin = require('node-polyfill-webpack-plugin')
const TerserPlugin = require('terser-webpack-plugin')
const appName = 'side_menu'
const appVersion = '6.x'
const buildMode = process.env.NODE_ENV
const isDev = buildMode === 'development'
@@ -80,6 +81,7 @@ module.exports = {
new webpack.DefinePlugin({
appName: JSON.stringify(appName),
appVersion: JSON.stringify(appVersion),
}),
],