.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Captain ALM 2022-07-29 20:15:31 +01:00
parent 203886ddd8
commit 1202008f45
Signed by: alfred
GPG Key ID: 4E4ADD02609997B1
4 changed files with 47 additions and 27 deletions

View File

@ -61,16 +61,36 @@ main{
position: fixed; position: fixed;
max-height: 0; max-height: 0;
} }
.so-pane > p{ .so-pane > div{
padding: 2px; display: table-row;
background-color: transparent;
box-sizing: inherit;
max-width: 100%;
width: 100%;
} }
.so-pane > p, .so-pane > p > *{ .so-pane > div > div{
display: table-cell;
background-color: transparent;
box-sizing: inherit;
max-width: 50%;
width: 50%;
padding: 2px;
text-align: center;
vertical-align: middle;
}
.so-pane > div > div > *{
max-width: 100%;
width: 100%;
vertical-align: middle; vertical-align: middle;
font-size: 16px; font-size: 16px;
text-align: left; text-align: left;
} }
.so-pane > p > label, .so-pane > p{ .so-pane > div > div > label{
background-color: transparent; max-width: 100%;
width: 100%;
vertical-align: middle;
font-size: 16px;
text-align: left;
} }
.nav-menu, .sort-menu{ .nav-menu, .sort-menu{
display: none; display: none;
@ -120,7 +140,7 @@ main{
top:0; top:0;
} }
.sort-menu:checked ~ .so-pane, .so-pane-open{ .sort-menu:checked ~ .so-pane, .so-pane-open{
display: block; display: table;
box-sizing: content-box; box-sizing: content-box;
position: fixed; position: fixed;
top: 85px; top: 85px;
@ -171,8 +191,8 @@ main{
display: table-row; display: table-row;
background-color: transparent; background-color: transparent;
box-sizing: inherit; box-sizing: inherit;
width: 100%;
max-width: 100%; max-width: 100%;
width: 100%;
} }
.flex-row, .item-table > div{ .flex-row, .item-table > div{
display: -webkit-box; display: -webkit-box;
@ -192,18 +212,18 @@ main{
flex-wrap: wrap; flex-wrap: wrap;
-webkit-justify-content: center; -webkit-justify-content: center;
justify-content: center; justify-content: center;
width: 100%;
max-width: 100%; max-width: 100%;
width: 100%;
overflow: hidden; overflow: hidden;
} }
.item-table > div > div > div{ .item-table > div > div > div{
padding: 2px; padding: 2px;
} }
.item-table-caption{ .item-table-caption, .so-pane-caption{
display: table-caption !important; display: table-caption !important;
caption-side: bottom; caption-side: bottom;
} }
.item-table-full, .item-table-360, .item-table-caption{ .item-table-full, .item-table-360, .item-table-caption, .so-pane-caption{
background-color: transparent; background-color: transparent;
box-sizing: inherit; box-sizing: inherit;
} }

View File

@ -13,10 +13,10 @@ a{
.header, .nav, footer, .so-pane{ .header, .nav, footer, .so-pane{
background-color: #1d1d1e; background-color: #1d1d1e;
} }
.home-button > div, .sort-button > div, .menu a, .so-pane > p > *{ .home-button > div, .sort-button > div, .menu a, .so-pane > div > div > *{
color: #e0e0e0; color: #e0e0e0;
} }
.home-button:hover, .menu a:hover, .hmb:hover, .sort-button:hover, .sort-menu:checked ~ .sort-button, .sort-button-active, .so-pane > p > input, .so-pane > p > select{ .home-button:hover, .menu a:hover, .hmb:hover, .sort-button:hover, .sort-menu:checked ~ .sort-button, .sort-button-active, .so-pane > div > div > input, .so-pane > div > div > select{
background-color: #606061; background-color: #606061;
} }
.hmb-line, .hmb-line::before, .hmb-line::after{ .hmb-line, .hmb-line::before, .hmb-line::after{

View File

@ -32,10 +32,10 @@
{{ if .Light }} {{ if .Light }}
<input id="so-theme" type="hidden" name="light" /> <input id="so-theme" type="hidden" name="light" />
{{ end }} {{ end }}
<p> <div>
{{ $sort := 0 }} {{ $sort := 0 }}
<label class="no-dec" for="so-order">Order by:</label> <div><label class="no-dec" for="so-order">Order by:</label></div>
<select name="order" id="so-order"> <div><select name="order" id="so-order">
{{ if eq .OrderStartDate 0 }} {{ if eq .OrderStartDate 0 }}
<option value="start">Start Date</option> <option value="start">Start Date</option>
{{ else }} {{ else }}
@ -60,11 +60,11 @@
<option value="duration" selected>Duration</option> <option value="duration" selected>Duration</option>
{{ $sort = .OrderDuration }} {{ $sort = .OrderDuration }}
{{ end }} {{ end }}
</select> </select></div>
</p> </div>
<p> <div>
<label class="no-dec" for="so-sort">Sort:</label> <div><label class="no-dec" for="so-sort">Sort:</label></div>
<select name="sort" id="so-sort"> <div><select name="sort" id="so-sort">
{{ if gt $sort 0 }} {{ if gt $sort 0 }}
<option value="asc" selected>Ascending</option> <option value="asc" selected>Ascending</option>
{{ else }} {{ else }}
@ -75,11 +75,11 @@
{{ else }} {{ else }}
<option value="desc">Descending</option> <option value="desc">Descending</option>
{{ end }} {{ end }}
</select> </select></div>
</p> </div>
<p> <div>
<input id="so-submit" type="submit" value="Commit"> <div><input id="so-submit" type="submit" value="Commit"></div>
</p> </div>
</form> </form>
<input class="nav-menu" type="checkbox" id="nav-menu"/> <input class="nav-menu" type="checkbox" id="nav-menu"/>
<label class="hmb" for="nav-menu" title="Navigation Links"><span class="hmb-line"></span></label> <label class="hmb" for="nav-menu" title="Navigation Links"><span class="hmb-line"></span></label>

View File

@ -13,10 +13,10 @@ a{
.header, .nav, footer, .so-pane{ .header, .nav, footer, .so-pane{
background-color: #e2e2e1; background-color: #e2e2e1;
} }
.home-button > div, .sort-button > div, .menu a, .so-pane > p > *{ .home-button > div, .sort-button > div, .menu a, .so-pane > div > div > *{
color: #1f1f1f; color: #1f1f1f;
} }
.home-button:hover, .menu a:hover, .hmb:hover, .sort-button:hover, .sort-menu:checked ~ .sort-button, .sort-button-active, .so-pane > p > input, .so-pane > p > select{ .home-button:hover, .menu a:hover, .hmb:hover, .sort-button:hover, .sort-menu:checked ~ .sort-button, .sort-button-active, .so-pane > div > div > input, .so-pane > div > div > select{
background-color: #9f9f9e; background-color: #9f9f9e;
} }
.hmb-line, .hmb-line::before, .hmb-line::after{ .hmb-line, .hmb-line::before, .hmb-line::after{