uBlock/src/css/logger-ui.css

632 lines
16 KiB
CSS
Raw Normal View History

2015-05-08 22:28:01 +00:00
body {
background-color: white;
border: 0;
color: black;
margin: 0;
2015-06-26 04:08:41 +00:00
overflow: hidden;
2015-05-08 22:28:01 +00:00
padding: 0;
2015-06-26 04:08:41 +00:00
}
input:focus {
background-color: #ffe;
2015-05-08 22:28:01 +00:00
}
2015-06-28 21:42:08 +00:00
textarea {
box-sizing: border-box;
direction: ltr;
resize: none;
width: 100%;
}
2015-06-26 04:08:41 +00:00
.permatoolbar {
align-items: center;
2015-05-08 22:28:01 +00:00
background-color: white;
border: 0;
box-sizing: border-box;
display: flex;
2015-06-26 04:08:41 +00:00
font-size: 120%;
left: 0;
2015-05-08 22:28:01 +00:00
margin: 0;
2015-06-26 04:08:41 +00:00
padding: 0.25em 0.5em;
position: absolute;
top: 0;
2015-05-08 22:28:01 +00:00
z-index: 10;
}
2015-06-26 04:08:41 +00:00
.permatoolbar .button {
align-items: center;
2015-05-08 22:28:01 +00:00
background-color: white;
border: none;
box-sizing: border-box;
cursor: pointer;
display: inline-flex;
2015-05-16 14:15:02 +00:00
font-size: 150%;
2015-05-08 22:28:01 +00:00
margin: 0;
padding: 0.25em;
2015-05-08 22:28:01 +00:00
}
2015-06-26 04:08:41 +00:00
.permatoolbar .button.disabled {
2015-05-08 22:28:01 +00:00
opacity: 0.2;
pointer-events: none;
}
2015-06-26 04:08:41 +00:00
.permatoolbar .button.active {
font-weight: bold;
}
.permatoolbar .button:hover {
2015-05-08 22:28:01 +00:00
background-color: #eee;
}
2015-06-26 04:08:41 +00:00
.permatoolbar > div {
2015-05-16 14:15:02 +00:00
white-space: nowrap;
}
2015-06-26 04:08:41 +00:00
.permatoolbar > div > * {
2015-05-16 14:15:02 +00:00
vertical-align: middle;
}
#pageSelector {
margin-right: 1em;
padding: 0.25em 0;
2015-05-16 14:15:02 +00:00
width: 28em;
}
#showpopup img {
filter: grayscale(100%);
height: auto;
width: 1em;
2015-05-16 14:15:02 +00:00
}
2015-06-26 04:08:41 +00:00
2017-11-30 21:27:58 +00:00
/*
https://github.com/gorhill/uBlock/issues/3293
=> https://devhints.io/css-system-font-stack
*/
#inspectors {
bottom: 0;
2017-11-30 21:27:58 +00:00
font-family: "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
font-size: 13px;
position: absolute;
top: 0;
width: 100%;
}
.inspector {
2015-06-26 04:08:41 +00:00
border-top: 1px solid #ccc;
bottom: 0;
position: absolute;
top: 0;
width: 100%;
}
.vscrollable {
bottom: 0;
2015-06-26 04:08:41 +00:00
overflow-x: hidden;
overflow-y: auto;
position: absolute;
top: 0;
2015-06-26 04:08:41 +00:00
width: 100%;
}
.vCompactToggler.button:before {
2015-05-08 22:28:01 +00:00
content: '\f102';
}
.vCompact .vCompactToggler.button:before {
2015-05-08 22:28:01 +00:00
content: '\f103';
}
.hCompactToggler.button:before {
content: '\f100';
}
.hCompact .hCompactToggler.button:before {
content: '\f101';
}
#inspectors.dom #netInspector {
display: none;
}
#netInspector #filterButton {
2015-05-08 22:28:01 +00:00
opacity: 0.25;
}
#netInspector.f #filterButton {
2015-05-08 22:28:01 +00:00
opacity: 1;
}
#netInspector #filterInput {
min-width: 18em;
}
#netInspector #filterInput.bad {
2015-05-08 22:28:01 +00:00
background-color: #fee;
}
#netInspector #maxEntries {
2015-05-16 14:15:02 +00:00
margin: 0 2em;
2015-05-08 22:28:01 +00:00
}
#netInspector table {
2015-05-08 22:28:01 +00:00
border: 0;
border-collapse: collapse;
direction: ltr;
table-layout: fixed;
width: 100%;
}
#netInspector table > colgroup > col:nth-of-type(1) {
2017-11-30 21:27:58 +00:00
width: 4.6em;
2015-05-08 22:28:01 +00:00
}
#netInspector table > colgroup > col:nth-of-type(2) {
width: 16%;
2015-05-08 22:28:01 +00:00
}
#netInspector table > colgroup > col:nth-of-type(3) {
width: 2.1em;
2015-05-08 22:28:01 +00:00
}
#netInspector table > colgroup > col:nth-of-type(4) {
width: 20%;
2015-05-08 22:28:01 +00:00
}
#netInspector table > colgroup > col:nth-of-type(5) {
width: 2.4em;
2015-05-08 22:28:01 +00:00
}
#netInspector table > colgroup > col:nth-of-type(6) {
width: 6em;
}
#netInspector table > colgroup > col:nth-of-type(7) {
width: calc(100% - 4.6em - 16% - 2.1em - 20% - 2.4em - 6em);
2015-05-08 22:28:01 +00:00
}
#netInspector.f table tr.f {
2015-05-08 22:28:01 +00:00
display: none;
}
#netInspector tr.cat_info {
2015-05-08 22:28:01 +00:00
color: #00f;
}
#netInspector tr.blocked {
2015-05-08 22:28:01 +00:00
background-color: rgba(192, 0, 0, 0.1);
}
body.colorBlind #netInspector tr.blocked {
2015-05-08 22:28:01 +00:00
background-color: rgba(0, 19, 110, 0.1);
}
#netInspector tr.nooped {
background-color: rgba(108, 108, 108, 0.1);
}
body.colorBlind #netInspector tr.nooped {
background-color: rgba(96, 96, 96, 0.1);
}
#netInspector tr.allowed {
2015-05-08 22:28:01 +00:00
background-color: rgba(0, 160, 0, 0.1);
}
body.colorBlind #netInspector tr.allowed {
2015-05-08 22:28:01 +00:00
background-color: rgba(255, 194, 57, 0.1)
}
2017-06-24 19:43:08 +00:00
#netInspector tr.cosmetic,
#netInspector tr.redirect {
2015-05-08 22:28:01 +00:00
background-color: rgba(255, 255, 0, 0.1);
}
2017-06-24 19:43:08 +00:00
body.colorBlind #netInspector tr.cosmetic,
body.colorBlind #netInspector tr.redirect {
background-color: rgba(0, 19, 110, 0.1);
}
#netInspector tr.maindoc {
2015-05-08 22:28:01 +00:00
background-color: #666;
color: white;
text-align: center;
}
body #netInspector td {
2015-05-08 22:28:01 +00:00
border: 1px solid #ccc;
border-top: none;
min-width: 0.5em;
padding: 3px;
vertical-align: top;
white-space: normal;
word-break: break-all;
word-wrap: break-word;
}
#netInspector tr td {
2015-05-08 22:28:01 +00:00
border-top: 1px solid #ccc;
}
#netInspector tr td:first-of-type {
2015-05-08 22:28:01 +00:00
border-left: none;
}
#netInspector tr td:last-of-type {
2015-05-08 22:28:01 +00:00
border-right: none;
}
2018-01-08 19:29:39 +00:00
#netInspector.vCompact tr:not(.vExpanded) td {
2015-05-08 22:28:01 +00:00
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
#netInspector tr[data-tabid].void {
opacity: 0.3;
}
#netInspector tr[data-tabid].void:hover {
opacity: 0.7;
}
2015-05-08 22:28:01 +00:00
#netInspector tr td:nth-of-type(1) {
cursor: default;
2015-05-10 13:28:50 +00:00
text-align: right;
2015-05-08 22:28:01 +00:00
white-space: nowrap;
}
#netInspector tr td:nth-of-type(2) {
}
#netInspector tr.canLookup td:nth-of-type(2) {
2015-05-08 22:28:01 +00:00
cursor: zoom-in;
}
#netInspector tr.cat_net td:nth-of-type(3),
#netInspector tr.cat_cosmetic td:nth-of-type(3),
#netInspector tr.cat_redirect td:nth-of-type(3) {
2015-05-08 22:28:01 +00:00
font: 12px monospace;
text-align: center;
white-space: nowrap;
}
#netInspector tr.cat_net td:nth-of-type(3) {
2015-05-21 18:15:17 +00:00
cursor: pointer;
}
#netInspector tr.cat_net td:nth-of-type(3):hover {
2015-05-21 18:15:17 +00:00
background: #ccc;
}
#netInspector tr td:nth-of-type(4) {
}
#netInspector tr[data-dochn] td:nth-of-type(4) {
direction: rtl;
}
#netInspector tr td:nth-of-type(5) {
cursor: default;
overflow: visible !important;
position: relative;
text-align: center;
}
/* visual for tabless network requests */
#netInspector tr.tab_bts td:nth-of-type(5)::before {
border: 5px solid #bbb;
border-bottom: 0;
border-top: 0;
bottom: 0;
content: '\00a0';
left: 0;
position: absolute;
right: 0;
top: 0;
width: calc(100% - 10px);
z-index: -1;
}
/* visual for quick tooltip */
#netInspector tr td[data-parties]:nth-of-type(5):hover::after {
background-color: #feb;
border: 1px outset #feb;
color: black;
content: attr(data-parties);
left: 100%;
padding: 0.4em 0.6em;
position: absolute;
text-align: left;
top: -50%;
white-space: pre;
}
#netInspector tr td:nth-of-type(6) {
text-align: right;
}
#netInspector tr.cat_net td:nth-of-type(7) > span > b {
2015-05-08 22:28:01 +00:00
font-weight: bold;
}
#netInspector tr td:nth-of-type(7) b {
2015-05-08 22:28:01 +00:00
font-weight: normal;
}
#netInspector tr.blocked td:nth-of-type(7) b {
2015-05-08 22:28:01 +00:00
background-color: rgba(192, 0, 0, 0.2);
}
body.colorBlind #netInspector tr.blocked td:nth-of-type(7) b {
2015-05-08 22:28:01 +00:00
background-color: rgba(0, 19, 110, 0.2);
}
#netInspector tr.nooped td:nth-of-type(7) b {
background-color: rgba(108, 108, 108, 0.2);
}
body.colorBlind #netInspector tr.nooped td:nth-of-type(7) b {
background-color: rgba(96, 96, 96, 0.2);
}
#netInspector tr.allowed td:nth-of-type(7) b {
2015-05-08 22:28:01 +00:00
background-color: rgba(0, 160, 0, 0.2);
}
body.colorBlind #netInspector tr.allowed td:nth-of-type(7) b {
2015-05-08 22:28:01 +00:00
background-color: rgba(255, 194, 57, 0.2);
}
2015-05-08 22:28:01 +00:00
#popupContainer {
background: white;
border: 1px solid gray;
border-radius: 3px;
bottom: 0;
2015-05-10 13:28:50 +00:00
box-sizing: border-box;
2015-05-08 22:28:01 +00:00
display: none;
overflow: hidden;
position: fixed;
2015-05-10 13:28:50 +00:00
right: 0;
2015-05-08 22:28:01 +00:00
z-index: 200;
}
#inspectors.popupOn #popupContainer {
2015-05-08 22:28:01 +00:00
display: block;
}
2015-05-21 18:15:17 +00:00
.modalDialog {
align-items: center;
-webkit-align-items: center;
2015-05-21 18:15:17 +00:00
background-color: rgba(0, 0, 0, 0.5);
border: 0;
bottom: 0;
display: flex;
display: -webkit-flex;
justify-content: center;
-webkit-justify-content: center;
2015-05-21 18:15:17 +00:00
left: 0;
margin: 0;
position: fixed;
right: 0;
top: 0;
z-index: 400;
2015-05-21 18:15:17 +00:00
}
.modalDialog .dialog {
2015-05-21 18:15:17 +00:00
background-color: white;
border: 2px solid white;
box-sizing: border-box;
width: 90vw;
max-height: 90vh;
overflow-y: auto;
}
#netFilteringDialog .dialog p {
line-height: 2em;
2015-05-21 18:15:17 +00:00
}
#netFilteringDialog .dialog select {
max-width: 75%;
outline: none;
padding: 0.2em;
}
#netFilteringDialog .dialog > div.preview {
/* http://lea.verou.me/css3patterns/ */
background-color: #aaa;
background-image:
linear-gradient(
45deg,
#666 25%,
transparent 25%,
transparent 75%,
#666 75%,
#666
),
linear-gradient(
45deg,
#666 25%,
transparent 25%,
transparent 75%,
#666 75%,
#666
);
background-position:0 0, 9px 9px;
background-size: 18px 18px;
text-align: center;
}
#netFilteringDialog .dialog > div.preview > * {
max-width: 100%;
max-height: 40vh;
}
#netFilteringDialog .dialog table {
border: 0;
border-collapse: collapse;
table-layout: fixed;
width: 100%;
}
#netFilteringDialog .dialog table > colgroup > col:nth-of-type(1) {
width: 3.8em;
}
#netFilteringDialog .dialog table > colgroup > col:nth-of-type(2) {
}
#netFilteringDialog .dialog td {
border: 0;
padding: 0;
vertical-align: middle;
}
#netFilteringDialog .dialog > div.headers {
border-bottom: 1px solid #888;
position: relative;
}
#netFilteringDialog .dialog > div.headers > span.header {
background-color: #eee;
border: 1px solid #aaa;
border-bottom: 1px solid #888;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
color: #888;
cursor: pointer;
display: inline-block;
font-size: small;
line-height: 2em;
margin-left: 0.5em;
padding: 0 1em;
position: relative;
text-align: center;
top: 1px;
}
#netFilteringDialog .dialog > div.headers > span.header.selected {
background-color: white;
border-color: #888;
border-bottom: 1px solid white;
color: black;
}
#netFilteringDialog .dialog > div.headers > span.tools {
display: inline-block;
position: absolute;
top: 50%;
transform: translate(0, -50%);
}
body[dir="ltr"] #netFilteringDialog .dialog > div.headers > span.tools {
right: 0.1em;
2015-06-08 21:50:24 +00:00
}
body[dir="rtl"] #netFilteringDialog .dialog > div.headers > span.tools {
left: 0.1em;
2015-06-08 21:50:24 +00:00
}
#netFilteringDialog .dialog > div.headers > span.tools > span {
cursor: pointer;
font-size: 1.2em;
text-align: center;
}
#netFilteringDialog .dialog > div.containers {
height: 40vh;
overflow: hidden;
overflow-y: auto;
}
#netFilteringDialog .dialog > div.containers > div {
display: none;
}
#netFilteringDialog .dialog > div.containers > div.selected {
display: block;
}
#netFilteringDialog .dialog > div.containers > div.dynamic > table.toolbar select {
font: 14px;
2015-07-12 12:15:09 +00:00
height: 2.5em;
}
#netFilteringDialog .dialog > div.containers > div.dynamic > table.toolbar #saveRules {
2015-05-21 18:15:17 +00:00
background-color: #ffe;
border: 1px solid #ddc;
border-radius: 4px;
color: #888;
2017-03-14 19:09:40 +00:00
cursor: pointer;
2015-05-21 18:15:17 +00:00
font-size: 1.8em;
margin: 0.1em;
padding: 0.25em 0.5em;
2015-05-21 18:15:17 +00:00
visibility: hidden;
}
body.dirty #netFilteringDialog .dialog > div.containers > div.dynamic > table.toolbar #saveRules {
2015-05-21 18:15:17 +00:00
visibility: visible;
}
#netFilteringDialog .dialog > div.containers > div.dynamic > table.toolbar #saveRules:hover {
2015-05-21 18:15:17 +00:00
color: black;
}
#netFilteringDialog .dialog > div.containers > div.dynamic > table.toolbar tr.entry {
display: none;
2015-05-21 18:15:17 +00:00
}
#netFilteringDialog .dialog > div.containers > div.dynamic tr.entry {
2015-05-21 18:15:17 +00:00
background-color: #e6e6e6;
border: 0;
border-bottom: 1px solid white;
font-size: 13px;
2015-05-21 18:15:17 +00:00
}
#netFilteringDialog .dialog > div.containers > div.dynamic tr.entry:hover {
2015-05-21 18:15:17 +00:00
background-color: #f0f0f0;
}
#netFilteringDialog .dialog > div.containers > div.dynamic tr.entry > td:first-of-type {
2015-05-21 18:15:17 +00:00
border: 0;
border-right: 1px solid white;
text-align: center;
}
#netFilteringDialog .dialog > div.containers > div.dynamic tr.entry > td > div.action {
background-color: transparent;
border: 0;
2015-05-21 18:15:17 +00:00
cursor: pointer;
height: 2em;
width: 100%;
}
#netFilteringDialog .dialog > div.containers > div.dynamic tr.entry > td > div.action > span {
background-color: transparent;
border: 0;
2015-05-21 18:15:17 +00:00
display: inline-block;
height: 100%;
opacity: 0.2;
visibility: hidden;
width: 33.33%;
2015-05-21 18:15:17 +00:00
}
#netFilteringDialog .dialog > div.containers > div.dynamic tr.entry > td > div.action.allow {
2015-05-21 18:15:17 +00:00
background-color: rgba(0, 160, 0, 0.3);
}
body.colorBlind #netFilteringDialog .dialog > div.containers > div.dynamic tr.entry > td > div.action.allow {
2015-05-21 18:15:17 +00:00
background-color: rgba(255, 194, 57, 0.4);
}
#netFilteringDialog .dialog > div.containers > div.dynamic tr.entry > td > div.action.noop {
2015-05-21 18:15:17 +00:00
background-color: rgba(108, 108, 108, 0.3);
}
body.colorBlind #netFilteringDialog .dialog > div.containers > div.dynamic tr.entry > td > div.action.noop {
2015-05-21 18:15:17 +00:00
background-color: rgba(96, 96, 96, 0.4);
}
#netFilteringDialog .dialog > div.containers > div.dynamic tr.entry > td > div.action.block {
2015-05-21 18:15:17 +00:00
background-color: rgba(192, 0, 0, 0.3);
}
body.colorBlind #netFilteringDialog .dialog > div.containers > div.dynamic tr.entry > td > div.action.block {
2015-05-21 18:15:17 +00:00
background-color: rgba(0, 19, 110, 0.4);
}
#netFilteringDialog .dialog > div.containers > div.dynamic tr.entry > td > div.action.own.allow {
2015-05-21 18:15:17 +00:00
background-color: rgba(0, 160, 0, 1);
}
body.colorBlind #netFilteringDialog .dialog > div.containers > div.dynamic tr.entry > td > div.action.own.allow {
2015-05-21 18:15:17 +00:00
background-color: rgba(255, 194, 57, 1);
}
#netFilteringDialog .dialog > div.containers > div.dynamic tr.entry > td > div.action.own.noop,
body.colorBlind #netFilteringDialog .dialog > div.containers > div.dynamic tr.entry > td > div.action.own.noop {
2015-05-21 18:15:17 +00:00
background-color: rgba(108, 108, 108, 1);
}
#netFilteringDialog .dialog > div.containers > div.dynamic tr.entry > td > div.action.own.block {
2015-05-21 18:15:17 +00:00
background-color: rgba(192, 0, 0, 1);
}
body.colorBlind #netFilteringDialog .dialog > div.containers > div.dynamic tr.entry > td > div.action.own.block {
2015-05-21 18:15:17 +00:00
background-color: rgba(0, 19, 110, 1);
}
#netFilteringDialog .dialog > div.containers > div.dynamic tr.entry > td > div.action:not(.own):hover > span {
2015-05-21 18:15:17 +00:00
opacity: 0.2;
visibility: visible;
}
#netFilteringDialog .dialog > div.containers > div.dynamic tr.entry > td > div.action:not(.own):hover > span:hover {
2015-05-21 18:15:17 +00:00
opacity: 0.75;
}
#netFilteringDialog .dialog > div.containers > div.dynamic tr.entry > td > div.action > span.allow {
2015-05-21 18:15:17 +00:00
background-color: rgb(0, 160, 0);
}
body.colorBlind #netFilteringDialog .dialog > div.containers > div.dynamic tr.entry > td > div.action > span.allow {
2015-05-21 18:15:17 +00:00
background-color: rgb(255, 194, 57);
}
#netFilteringDialog .dialog > div.containers > div.dynamic tr.entry > td > div.action > span.noop {
2015-05-21 18:15:17 +00:00
background-color: rgb(108, 108, 108);
}
#netFilteringDialog .dialog > div.containers > div.dynamic tr.entry > td > div.action > span.block {
2015-05-21 18:15:17 +00:00
background-color: rgb(192, 0, 0);
}
body.colorBlind #netFilteringDialog .dialog > div.containers > div.dynamic tr.entry > td > div.action > span.block {
2015-05-21 18:15:17 +00:00
background-color: rgb(0, 19, 110);
}
#netFilteringDialog .dialog > div.containers > div.dynamic tr.entry > td.url {
overflow: hidden;
padding-left: 4px;
text-overflow: ellipsis;
white-space: nowrap;
}
#netFilteringDialog .dialog > div.containers > div.static > p {
margin: 0.75em 0;
}
#netFilteringDialog .dialog > div.containers > div.static textarea {
height: 6em;
}
#netFilteringDialog .dialog > div.containers > div.static > p:nth-of-type(2) {
text-align: center;
}
#filterFinderDialog .dialog {
padding: 1em;
2017-07-03 14:54:30 +00:00
word-break: break-all;
}
#filterFinderDialog .dialog code {
background: #eee;
font-size: 85%;
padding: 3px;
unicode-bidi: plaintext;
white-space: pre-wrap;
}
#filterFinderDialog .dialog ul {
font-size: larger;
}
2018-07-22 12:14:02 +00:00
#filterFinderDialog .filterFinderListEntry a {
text-decoration: none;
}
#filterFinderDialog .filterFinderListEntry a.fa {
opacity: 0.8;
}
#filterFinderDialog .filterFinderListEntry a.fa:hover {
opacity: 1;
}
#filterFinderDialog .filterFinderListEntry a[href=""]:nth-of-type(2) {
display: none;
}
#filterFinderDialog .dialog > *:first-child {
margin-top: 0;
}
#filterFinderDialog .dialog > *:last-child {
margin-bottom: 0;
}
.hide {
display: none;
2015-05-21 18:15:17 +00:00
}