Tweak style
This commit is contained in:
@ -14,17 +14,17 @@ a {
|
||||
|
||||
a:link {
|
||||
color: #fff;
|
||||
border-bottom: 1px solid #ff0000;
|
||||
border-bottom: 0.05em solid #ff0000;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: #fff;
|
||||
border-bottom: 1px solid #b3b3b3;
|
||||
border-bottom: 0.05em solid #b3b3b3;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #7bd09f;
|
||||
border-bottom: 1px solid #000099;
|
||||
border-bottom: 0.05em solid #000099;
|
||||
}
|
||||
|
||||
ul.striped_list {
|
||||
@ -122,6 +122,9 @@ ul.striped_list > li:nth-child(odd) ul li:nth-child(odd) { background-color:#30
|
||||
|
||||
.history_entry {
|
||||
padding: 0.2em;
|
||||
padding-left: 0.5em;
|
||||
padding-right: 0.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.history_entry_category {
|
||||
@ -130,6 +133,14 @@ ul.striped_list > li:nth-child(odd) ul li:nth-child(odd) { background-color:#30
|
||||
|
||||
.history_entry_duration {
|
||||
color: #e4c9ff;
|
||||
display: inline-block;
|
||||
border: solid dimgray 0.05em;
|
||||
background: black;
|
||||
font-family: Ubuntu Mono;
|
||||
padding-right: 0.3em;
|
||||
padding-left: 0.3em;
|
||||
min-width: 4em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.history_entry_started {
|
||||
@ -154,7 +165,7 @@ ul.striped_list > li:nth-child(odd) ul li:nth-child(odd) { background-color:#30
|
||||
.tooltip {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
border-bottom: 1px dotted black;
|
||||
border-bottom: 0.05em dotted black;
|
||||
}
|
||||
|
||||
.tooltip .tooltiptext {
|
||||
|
||||
@ -7,12 +7,12 @@
|
||||
<ul class="striped_list">
|
||||
{{#each entries}}
|
||||
<li class="history_entry">
|
||||
<span class="history_entry_category">{{this.category.name}}</span>
|
||||
<a class="history_entry_category" href="/stats/{{this.session.category}}">{{this.category.name}}</a>
|
||||
<span>under</span>
|
||||
<span class="history_entry_duration">{{pretty_seconds this.duration.secs}}</span>
|
||||
<span>från</span>
|
||||
<span class="history_entry_started">{{pretty_datetime this.session.started}}</span>
|
||||
<span>tills</span>
|
||||
<span>till</span>
|
||||
<span class="history_entry_ended">{{pretty_datetime this.session.ended}}</span>
|
||||
<span>---</span>
|
||||
<a href="/session/{{this.session_id}}/edit" class="history_entry_edit_button">ändra</a>
|
||||
|
||||
Reference in New Issue
Block a user