1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-02 10:24:59 +12:00
uMatrix/src/css/logger-ui.css
2015-05-04 01:01:07 -04:00

119 lines
2.3 KiB
CSS

body {
border: 0;
box-sizing: border-box;
-moz-box-sizing: border-box;
margin: 0;
overflow-x: hidden;
padding: 0;
white-space: nowrap;
width: 100%;
}
#toolbar {
background-color: white;
border: 0;
box-sizing: border-box;
height: 40px;
left: 0;
margin: 0;
padding: 0 1em;
position: fixed;
top: 0;
width: 100%;
}
#toolbar .button {
background-color: white;
border: none;
box-sizing: border-box;
cursor: pointer;
display: inline-block;
font-size: 20px;
margin: 0;
padding: 8px;
}
#toolbar .button:hover {
background-color: #eee;
}
body.filterOff #toolbar #filterButton {
opacity: 0.25;
}
#filterExpression.bad {
background-color: #fee;
}
#maxEntries {
margin-left: 3em;
}
input:focus {
background-color: #ffe;
}
#content {
margin-top: 40px;
}
#content table {
border: 0;
border-collapse: collapse;
direction: ltr;
font: 12px monospace;
width: 100%;
}
#content table tr {
background-color: #fafafa;
}
#content table tr:nth-of-type(2n+1) {
background-color: #eee;
}
#content table tr.doc {
background-color: #666;
color: white;
text-align: center;
}
#content table tr.doc > td:nth-of-type(2) {
padding: 1em 0;
white-space: normal;
word-break: break-all;
word-wrap: break-word;
}
#content table tr.cat_info {
color: #00a;
}
#content table tr.blocked {
color: #c00;
}
/*
#content table tr.allowed {
background-color: rgba(0, 160, 0, 0.1);
}
#content table tr.allowed:nth-of-type(2n+1) {
background-color: rgba(0, 160, 0, 0.2);
}
body.colorBlind #content table tr.allowed {
background-color: rgba(255, 194, 57, 0.1)
}
*/
body:not(.filterOff) #content table tr.hidden {
display: none;
}
#content table tr td {
border: 1px solid #ccc;
padding: 3px;
vertical-align: top;
}
#content table tr td:nth-of-type(1) {
text-align: center;
white-space: pre;
width: 8em;
}
#content table tr td:nth-of-type(2) {
white-space: pre;
width: 2em;
}
#content table tr td:nth-of-type(3) {
white-space: pre;
width: 8em;
}
#content table tr td:nth-of-type(4) {
border-right: none;
white-space: normal;
word-break: break-all;
word-wrap: break-word;
}