Compare commits
14 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 61a4689eb2 | |||
| 3de47aa3e3 | |||
| cd64c0dd93 | |||
| 13fdd6c0d6 | |||
| 83a2261838 | |||
| c11c4ee197 | |||
| 4532dd345e | |||
| 0aa6767090 | |||
| 6effdc6eed | |||
| 238a1a905e | |||
| 4221f81860 | |||
| 8baaa51b8a | |||
| fc6ebbaa2e | |||
| 2c83789813 |
@@ -1,5 +1,13 @@
|
|||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## 3.11.6
|
||||||
|
### Fixed
|
||||||
|
* add --background-invert-if-bright in top menu (fix #326)
|
||||||
|
|
||||||
|
## 3.11.5
|
||||||
|
### Fixed
|
||||||
|
* add missing label on buttons for accessiblity (fix #311)
|
||||||
|
|
||||||
## 3.11.4
|
## 3.11.4
|
||||||
### Fixed
|
### Fixed
|
||||||
* add label on buttons for accessiblity (fix #311)
|
* add label on buttons for accessiblity (fix #311)
|
||||||
|
|||||||
+1
-1
@@ -32,7 +32,7 @@ Notice
|
|||||||
Because I believe in a free and decentralized Internet, [Gitnet](https://gitnet.fr) is **self-hosted at home**.
|
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/).
|
In case of downtime, you can download **Custom Menu** from [here](https://kim.deblan.fr/~side_menu/).
|
||||||
]]></description>
|
]]></description>
|
||||||
<version>3.11.4</version>
|
<version>3.11.6</version>
|
||||||
<licence>agpl</licence>
|
<licence>agpl</licence>
|
||||||
<author mail="contact@deblan.fr" homepage="https://www.deblan.io/">Simon Vieille</author>
|
<author mail="contact@deblan.fr" homepage="https://www.deblan.io/">Simon Vieille</author>
|
||||||
<namespace>SideMenu</namespace>
|
<namespace>SideMenu</namespace>
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
|
||||||
|
}
|
||||||
+6
-3
@@ -21,7 +21,10 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<nav class="app-menu show">
|
<nav
|
||||||
|
class="app-menu show"
|
||||||
|
:aria-label="t('core', 'Applications menu')"
|
||||||
|
>
|
||||||
<ul
|
<ul
|
||||||
class="app-menu-main"
|
class="app-menu-main"
|
||||||
:class="{ 'app-menu-main__hidden-label': hiddenLabels === 1, 'app-menu-main__show-hovered': hiddenLabels === 2 }"
|
:class="{ 'app-menu-main__hidden-label': hiddenLabels === 1, 'app-menu-main__show-hovered': hiddenLabels === 2 }"
|
||||||
@@ -214,7 +217,7 @@ $header-icon-size: 20px;
|
|||||||
width: $header-icon-size;
|
width: $header-icon-size;
|
||||||
height: $header-icon-size;
|
height: $header-icon-size;
|
||||||
padding: calc((100% - $header-icon-size) / 2);
|
padding: calc((100% - $header-icon-size) / 2);
|
||||||
filter: var(--primary-invert-if-bright);
|
filter: var(--background-image-invert-if-bright, var(--primary-invert-if-bright));
|
||||||
}
|
}
|
||||||
|
|
||||||
.app-menu-entry--label {
|
.app-menu-entry--label {
|
||||||
@@ -320,7 +323,7 @@ $header-icon-size: 20px;
|
|||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
filter: var(--background-invert-if-bright);
|
filter: var(--background-invert-if-bright, var(--primary-invert-if-bright));
|
||||||
width: $header-icon-size;
|
width: $header-icon-size;
|
||||||
height: $header-icon-size;
|
height: $header-icon-size;
|
||||||
padding: calc((50px - $header-icon-size) / 2);
|
padding: calc((50px - $header-icon-size) / 2);
|
||||||
|
|||||||
@@ -95,3 +95,4 @@
|
|||||||
"Hide labels on mouse over": ""
|
"Hide labels on mouse over": ""
|
||||||
"Except the hovered app": ""
|
"Except the hovered app": ""
|
||||||
"Search": ""
|
"Search": ""
|
||||||
|
"Toggle menu": ""
|
||||||
|
|||||||
@@ -14,7 +14,10 @@ if ($_['always-displayed']) {
|
|||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
const sideMenuContainer = SMcreateElement('div', {id: 'side-menu-container'})
|
const sideMenuContainer = SMcreateElement('div', {id: 'side-menu-container'})
|
||||||
const sideMenuOpener = SMcreateElement('button', {'class': 'side-menu-opener'})
|
const sideMenuOpener = SMcreateElement('button', {
|
||||||
|
'class': 'side-menu-opener',
|
||||||
|
'arial-label': t('side_menu', 'Toggle menu')
|
||||||
|
})
|
||||||
const sideMenu = SMcreateElement('div', {id: 'side-menu'})
|
const sideMenu = SMcreateElement('div', {id: 'side-menu'})
|
||||||
|
|
||||||
const body = document.querySelector('body')
|
const body = document.querySelector('body')
|
||||||
|
|||||||
Reference in New Issue
Block a user