Merge Edge with sort and resize #2
11
base.css
11
base.css
@ -56,13 +56,12 @@ main{
|
||||
position: fixed;
|
||||
max-height: 0;
|
||||
}
|
||||
.so-pane > p > *{
|
||||
font-size: 24px;
|
||||
.so-pane > *{
|
||||
font-size: 16px;
|
||||
text-align: left;
|
||||
width: 180px;
|
||||
padding: 0 1px;
|
||||
}
|
||||
.so-pane > p > label{
|
||||
.so-pane > label{
|
||||
background-color: transparent;
|
||||
}
|
||||
.nav-menu, .sort-menu, .data-hold{
|
||||
@ -117,9 +116,9 @@ main{
|
||||
box-sizing: content-box;
|
||||
position: fixed;
|
||||
top: 85px;
|
||||
max-height: 96px;
|
||||
max-height: 24px;
|
||||
width: 360px;
|
||||
height: 96px;
|
||||
height: 24px;
|
||||
padding: 4px;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
|
4
dark.css
4
dark.css
@ -9,10 +9,10 @@ a{
|
||||
.header, .nav, footer, .so-pane{
|
||||
background-color: #1d1d1e;
|
||||
}
|
||||
.home-button > div, .sort-button > div, .menu a, .so-pane > p > *{
|
||||
.home-button > div, .sort-button > div, .menu a, .so-pane > *{
|
||||
color: #e0e0e0;
|
||||
}
|
||||
.home-button:hover, .menu a:hover, .hmb:hover, .sort-button:hover, .sort-menu:checked ~ .sort-button, .so-pane > p > input, .so-pane > p > select{
|
||||
.home-button:hover, .menu a:hover, .hmb:hover, .sort-button:hover, .sort-menu:checked ~ .sort-button, .so-pane > input, .so-pane > select{
|
||||
background-color: #606061;
|
||||
}
|
||||
.hmb-line, .hmb-line::before, .hmb-line::after{
|
||||
|
@ -33,7 +33,6 @@
|
||||
<input id="so-theme" type="hidden" name="light" />
|
||||
{{ end }}
|
||||
{{ $sort := 0 }}
|
||||
<p>
|
||||
<label class="no-dec" for="so-order">Order by:</label>
|
||||
<select name="order" id="so-order">
|
||||
{{ if eq .OrderStartDate 0 }}
|
||||
@ -61,8 +60,6 @@
|
||||
{{ $sort = .OrderDuration }}
|
||||
{{ end }}
|
||||
</select>
|
||||
</p>
|
||||
<p>
|
||||
<label class="no-dec" for="so-sort">Sort:</label>
|
||||
<select name="sort" id="so-sort">
|
||||
{{ if gt $sort 0 }}
|
||||
@ -76,10 +73,7 @@
|
||||
<option value="desc">Descending</option>
|
||||
{{ end }}
|
||||
</select>
|
||||
</p>
|
||||
<p>
|
||||
<input id="so-submit" type="submit" value="Commit">
|
||||
</p>
|
||||
</form>
|
||||
<input class="nav-menu" type="checkbox" id="nav-menu"/>
|
||||
<label class="hmb" for="nav-menu" title="Navigation Links"><span class="hmb-line"></span></label>
|
||||
|
@ -9,10 +9,10 @@ a{
|
||||
.header, .nav, footer, .so-pane{
|
||||
background-color: #e2e2e1;
|
||||
}
|
||||
.home-button > div, .sort-button > div, .menu a, .so-pane > p > *{
|
||||
.home-button > div, .sort-button > div, .menu a, .so-pane > *{
|
||||
color: #1f1f1f;
|
||||
}
|
||||
.home-button:hover, .menu a:hover, .hmb:hover, .sort-button:hover, .sort-menu:checked ~ .sort-button, .so-pane > p > input, .so-pane > p > select{
|
||||
.home-button:hover, .menu a:hover, .hmb:hover, .sort-button:hover, .sort-menu:checked ~ .sort-button, .so-pane > input, .so-pane > select{
|
||||
background-color: #9f9f9e;
|
||||
}
|
||||
.hmb-line, .hmb-line::before, .hmb-line::after{
|
||||
|
@ -8,7 +8,7 @@ import (
|
||||
"time"
|
||||
)
|
||||
|
||||
const dateFormat = "01-2006"
|
||||
const dateFormat = "01/2006"
|
||||
|
||||
type EntryYaml struct {
|
||||
Name string `yaml:"name"`
|
||||
|
Loading…
Reference in New Issue
Block a user