Merge pull request 'release v3.11.6' (#328) from develop into master
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

Reviewed-on: #328
This commit is contained in:
Simon Vieille 2024-02-12 23:22:28 +01:00
commit 61a4689eb2
4 changed files with 14 additions and 4 deletions

View file

@ -1,5 +1,9 @@
## [Unreleased] ## [Unreleased]
## 3.11.6
### Fixed
* add --background-invert-if-bright in top menu (fix #326)
## 3.11.5 ## 3.11.5
### Fixed ### Fixed
* add missing label on buttons for accessiblity (fix #311) * add missing label on buttons for accessiblity (fix #311)

View file

@ -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.5</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>

3
renovate.json Normal file
View file

@ -0,0 +1,3 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
}

View file

@ -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);