1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-09-15 18:57:04 +00:00

add nav landmark to settings and feed menu

This commit is contained in:
krvpb024 2024-01-25 23:09:39 +08:00 committed by Frédéric Guillot
parent 352aeb0490
commit 6413c9f9f7
3 changed files with 44 additions and 25 deletions

View file

@ -99,12 +99,14 @@ a:hover {
border: none;
background-color: transparent;
display: inline-block;
cursor: pointer;
}
.header nav button[aria-controls="header-menu"] svg {
padding: 5px;
inline-size: 20px;
block-size: 20px;
inline-size: 24px;
block-size: 24px;
translate: 0 2px;
}
.header nav button[aria-controls="header-menu"][aria-expanded="true"] svg {
@ -223,12 +225,23 @@ a:hover {
margin-right: 5px;
}
.search details svg {
padding: 5px;
inline-size: 24px;
block-size: 24px;
translate: 0 -1px;
}
.search details[open] svg {
rotate: 180deg;
}
.search details > summary {
list-style: none;
display: flex;
justify-content: center;
inline-size: fit-content;
margin-inline: auto;
}
.search details > summary::marker, /* Latest Chrome, Edge, Firefox */
@ -354,6 +367,10 @@ a:hover {
display: block;
}
.search details > summary {
margin-inline: auto 0;
}
.search-toggle-switch {
display: block;
}