Responsive wiki list filters
parent
7c839fcee4
commit
07a0a748b3
|
@ -204,11 +204,13 @@
|
||||||
.radioGroup {
|
.radioGroup {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
.radioGroup.horizontal {
|
.radioGroup.horizontal {
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
line-height: 1.5rem;
|
line-height: 1.5rem;
|
||||||
gap: .5em;
|
gap: .5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.radioGroup.vertical {
|
.radioGroup.vertical {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: .5em;
|
gap: .5em;
|
||||||
|
@ -279,18 +281,33 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#wikiFiltersContainer {
|
#wikiFiltersContainer {
|
||||||
|
width: fit-content;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wikiFiltersContainer>div {
|
||||||
display: grid;
|
display: grid;
|
||||||
gap: 0.5em;
|
gap: 0.5em;
|
||||||
grid-template-columns: 1fr 1fr;
|
grid-template-columns: 1fr 1fr;
|
||||||
margin: 1em auto;
|
margin: 1em auto;
|
||||||
width: 30em;
|
max-width: 30em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wikiFiltersContainer div {
|
#wikiFiltersContainer>div>div {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
align-self: end;
|
align-self: end;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 35em) {
|
||||||
|
#wikiFiltersContainer>div {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wikiFiltersContainer>div>div {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.toggles {
|
.toggles {
|
||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
@ -605,8 +622,8 @@
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<fieldset id="breezewikiSettings">
|
<fieldset id="breezewikiSettings">
|
||||||
<legend>
|
<legend>
|
||||||
<span aria-hidden="true">༄</span> BreezeWiki alternative frontend for Fandom (<a id="breeezwikiLearnMore" href="https://breezewiki.com/"
|
<span aria-hidden="true">༄</span> BreezeWiki alternative frontend for Fandom (<a id="breeezwikiLearnMore"
|
||||||
target="_blank">learn more</a>)
|
href="https://breezewiki.com/" target="_blank">learn more</a>)
|
||||||
</legend>
|
</legend>
|
||||||
<div role="radiogroup">
|
<div role="radiogroup">
|
||||||
<div class="radioGroup vertical">
|
<div class="radioGroup vertical">
|
||||||
|
@ -634,7 +651,8 @@
|
||||||
</label>
|
</label>
|
||||||
<label id="breezewikiCustomHost">
|
<label id="breezewikiCustomHost">
|
||||||
Custom BreezeWiki domain:
|
Custom BreezeWiki domain:
|
||||||
<input type="text" id="customBreezewikiHost" name="customBreezewikiHost" placeholder="bw.example.com" size="30" />
|
<input type="text" id="customBreezewikiHost" name="customBreezewikiHost" placeholder="bw.example.com"
|
||||||
|
size="30" />
|
||||||
<button id="setCustomBreezewikiDomain" type="button">
|
<button id="setCustomBreezewikiDomain" type="button">
|
||||||
Set domain
|
Set domain
|
||||||
</button>
|
</button>
|
||||||
|
@ -647,7 +665,8 @@
|
||||||
<legend>
|
<legend>
|
||||||
<span aria-hidden="true">ℹ️</span> Icon legend
|
<span aria-hidden="true">ℹ️</span> Icon legend
|
||||||
</legend>
|
</legend>
|
||||||
<span class="text-sm">When visiting Fandom, Fextralife, or Neoseeker wikis with an independent alternative, IWB
|
<span class="text-sm">When visiting Fandom, Fextralife, or Neoseeker wikis with an independent alternative,
|
||||||
|
IWB
|
||||||
can:</span>
|
can:</span>
|
||||||
<div>
|
<div>
|
||||||
<div>
|
<div>
|
||||||
|
@ -678,6 +697,7 @@
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<div id="wikiFiltersContainer">
|
<div id="wikiFiltersContainer">
|
||||||
|
<div>
|
||||||
<div id="langSelectCaption">Filter wikis by language:</div>
|
<div id="langSelectCaption">Filter wikis by language:</div>
|
||||||
<select name="lang" id="langSelect">
|
<select name="lang" id="langSelect">
|
||||||
<option value="ALL" selected>All languages</option>
|
<option value="ALL" selected>All languages</option>
|
||||||
|
@ -699,9 +719,12 @@
|
||||||
<option value="UK">[UK] Ukrainian / Українська</option>
|
<option value="UK">[UK] Ukrainian / Українська</option>
|
||||||
<option value="ZH">[ZH] Chinese / 中文</option>
|
<option value="ZH">[ZH] Chinese / 中文</option>
|
||||||
</select>
|
</select>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
<div id="filterInputCaption">Filter wikis by name:</div>
|
<div id="filterInputCaption">Filter wikis by name:</div>
|
||||||
<input id="filterInput" type="text" name="filterInput" placeholder="Enter wiki name..." />
|
<input id="filterInput" type="text" name="filterInput" placeholder="Enter wiki name..." />
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div class="sticky">
|
<div class="sticky">
|
||||||
<div id="togglesColumnLabels" class="toggles">
|
<div id="togglesColumnLabels" class="toggles">
|
||||||
<div>
|
<div>
|
||||||
|
|
Loading…
Reference in New Issue