mirror of
https://github.com/Kozea/Radicale.git
synced 2025-09-15 20:36:55 +00:00
Hide <select> and navigation buttons in HTML
This commit is contained in:
parent
664ddc6737
commit
8cfe545042
5 changed files with 9 additions and 12 deletions
|
@ -80,7 +80,7 @@ BDO[DIR="rtl"] { direction: rtl; unicode-bidi: bidi-override }
|
||||||
/* END: https://www.w3.org/TR/CSS22/ */
|
/* END: https://www.w3.org/TR/CSS22/ */
|
||||||
|
|
||||||
@media not screen {
|
@media not screen {
|
||||||
header .documentBranch select, nav, .navButtonContainer, .headerlink {
|
nav, .headerlink {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,7 @@ main, .navContainer {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
display: flex;
|
display: flex !important;
|
||||||
align-items: start;
|
align-items: start;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
header .documentBranch::after, header .documentBranch select {
|
header .documentBranch::after, header .documentBranch select, .navButtonContainer {
|
||||||
display: none;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
header .documentBranch span {
|
header .documentBranch span {
|
||||||
|
@ -27,7 +27,7 @@ nav .level4 > a::after {
|
||||||
}
|
}
|
||||||
|
|
||||||
@media all and (max-width: 50em) {
|
@media all and (max-width: 50em) {
|
||||||
nav, .navButtonContainer {
|
nav {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -92,6 +92,7 @@ header .documentBranch::after {
|
||||||
}
|
}
|
||||||
|
|
||||||
header .documentBranch select {
|
header .documentBranch select {
|
||||||
|
display: initial !important;
|
||||||
background: none;
|
background: none;
|
||||||
color: #efdddd;
|
color: #efdddd;
|
||||||
border: none;
|
border: none;
|
||||||
|
@ -343,10 +344,6 @@ nav .active > ul > .level4 {
|
||||||
display: initial;
|
display: initial;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navButtonContainer {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.documentContainer p, .documentContainer ul, .documentContainer ol {
|
.documentContainer p, .documentContainer ul, .documentContainer ol {
|
||||||
max-width: 42em;
|
max-width: 42em;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
|
@ -28,7 +28,7 @@ $endif$
|
||||||
Radicale
|
Radicale
|
||||||
<span class="documentBranch">
|
<span class="documentBranch">
|
||||||
<span>$branch$</span>
|
<span>$branch$</span>
|
||||||
<select>
|
<select style="display: none;">
|
||||||
$for(branches)$
|
$for(branches)$
|
||||||
<option value="$it.href$"$if(it.default)$ selected$endif$>$it.name$</option>
|
<option value="$it.href$"$if(it.default)$ selected$endif$>$it.name$</option>
|
||||||
$endfor$
|
$endfor$
|
||||||
|
@ -46,12 +46,12 @@ $endfor$
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
<div class="navButtonContainer">
|
<div class="navButtonContainer" style="display: none;">
|
||||||
<button data-name="nav-open">Contents</button>
|
<button data-name="nav-open">Contents</button>
|
||||||
</div>
|
</div>
|
||||||
<nav>
|
<nav>
|
||||||
<div class="navContainer">
|
<div class="navContainer">
|
||||||
<div class="navButtonContainer">
|
<div class="navButtonContainer" style="display: none;">
|
||||||
<button data-name="nav-close">Close</button>
|
<button data-name="nav-close">Close</button>
|
||||||
</div>
|
</div>
|
||||||
<h2>Contents</h2>
|
<h2>Contents</h2>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue