Log reporting

This commit is contained in:
Ruud
2014-05-10 13:23:13 +02:00
parent 3a4c191b11
commit c2eb50a7ee
2 changed files with 270 additions and 31 deletions
+87 -3
View File
@@ -43,6 +43,19 @@
}
}
.page.log .nav li.hint {
text-align: center;
width: 400px;
left: 50%;
margin-left: -200px;
font-style: italic;
font-size: 11px;
position: absolute;
right: 20px;
opacity: .5;
bottom: 5px;
}
.page.log .loading {
text-align: center;
font-size: 20px;
@@ -65,11 +78,18 @@
.page.log .container .time {
clear: both;
color: lightgrey;
padding: 3px 0;
font-size: 10px;
border-top: 1px solid rgba(255, 255, 255, 0.2);
border-top: 1px solid rgba(255, 255, 255, 0.1);
position: relative;
}
.page.log .container .time.highlight {
background: rgba(255, 255, 255, 0.1);
}
.page.log .container .time span {
padding: 5px 0 3px;
display: inline-block;
vertical-align: middle;
}
.page.log [data-filter=INFO] .error,
.page.log [data-filter=INFO] .debug,
@@ -91,5 +111,69 @@
}
.page.log .container .error { color: #FFA4A4; }
.page.log .container .debug { opacity: .4; }
.page.log .container .debug span { opacity: .4; }
.do_report {
position: absolute;
padding: 10px;
}
.page.log .report {
position: fixed;
width: 100%;
height: 100%;
background: rgba(0,0,0,.7);
left: 0;
top: 0;
z-index: 99999;
font-size: 14px;
font-family: OpenSans,"Helvetica Neue",Helvetica,Arial,Geneva,sans-serif;
}
.page.log .report .button {
display: inline-block;
margin: 10px 0;
padding: 10px;
}
.page.log .report .bug {
width: 800px;
height: 80%;
position: absolute;
left: 50%;
top: 50%;
margin: 0 0 0 -400px;
transform: translate(0, -50%);
}
.page.log .report .bug textarea {
display: block;
width: 100%;
background: #FFF;
padding: 20px;
overflow: auto;
color: #666;
height: 70%;
font-family: Lucida Console, Monaco, Nimbus Mono L, monospace, serif;
font-size: 12px;
}
.page.log .container ::-webkit-selection {
background-color: #000;
color: #FFF;
}
.page.log .container ::-moz-selection {
background-color: #000;
color: #FFF;
}
.page.log .container ::-ms-selection {
background-color: #000;
color: #FFF;
}
.page.log .container ::selection {
background-color: #000;
color: #FFF;
}