Fixed nav sidebar filters toggle being hidden.

Also some styling tweaks, and the stored masterlist SHA is now the full
SHA, of which the first 9 chars are displayed in the UI.
This commit is contained in:
WrinklyNinja
2014-07-12 15:14:14 +01:00
parent 216d2ebbcd
commit c20660a019
3 changed files with 501 additions and 15 deletions
+1 -1
View File
@@ -226,7 +226,7 @@ function processURLParams() {
var dirtyPluginNo = 0;
/* Fill report with data. */
document.getElementById('LOOTVersion').textContent = data.lootVersion;
document.getElementById('masterlistRevision').textContent = data.masterlist.revision;
document.getElementById('masterlistRevision').textContent = data.masterlist.revision.substr(0, 9);
document.getElementById('masterlistDate').textContent = data.masterlist.date;
var generalMessagesList = document.getElementById('generalMessages').getElementsByTagName('ul')[0];
for (var i = 0; i < data.globalMessages.length; ++i) {
+32 -13
View File
@@ -67,13 +67,6 @@ header img {
vertical-align: middle;
padding: 0 0.5em;
}
header li.selected {
border-top: rgba(0,0,0,0.5) 1px solid;
border-left: rgba(0,0,0,0.5) 1px solid;
border-right: rgba(0,0,0,0.5) 1px solid;
}
header > ol > li > ol {
background: #e3e3e3;
position: fixed;
@@ -104,15 +97,27 @@ nav {
height: calc(100% - 3em);
}
nav > ol {
padding-left: 1em;
list-style-type: none;
height: calc(100% - 3em);
}
nav > ol > li:nth-child(3), #pluginsNav {
height: calc(100% - 5em);
nav > ol > li:nth-child(3) {
height: calc(100% - 7em);
overflow: auto;
}
nav ol li {
padding: 1em 0.5em;
#pluginsNav {
height: 100%;
overflow: auto;
}
nav li {
padding: 0.5em 0.5em;
}
nav > ol > li:not(:nth-child(3)):hover, #pluginsNav li:hover {
background: #ccc;
}
nav a {
text-decoration: none;
color:black;
}
#pluginsNav {
margin: 0;
@@ -131,7 +136,7 @@ nav ol li {
overflow: auto;
}
section, #settings, #about, #settings {
section, #settings, #about {
background:white;
overflow:hidden;
margin:1em;
@@ -140,7 +145,7 @@ section, #settings, #about, #settings {
}
#settings, #about {
margin: 1em auto;
margin: 1em;
position: fixed;
z-index:4;
top: 10%;
@@ -166,6 +171,20 @@ section, #settings, #about, #settings {
left: 0;
}
section h1 {
margin: 0;
font-weight: normal;
font-size: 1.2em;
}
#settings h1, #about h1 {
margin: 0;
font-weight: normal;
}
/* Old CSS */
.button {
display:inline-table;
cursor:pointer;
File diff suppressed because one or more lines are too long