aboutsummaryrefslogtreecommitdiffstats
path: root/src/css/devtool-log.css
diff options
context:
space:
mode:
authorgorhill <rhill@raymondhill.net>2015-01-06 08:01:15 -0500
committergorhill <rhill@raymondhill.net>2015-01-06 08:01:15 -0500
commit1597ce7fd91880b92f25b361167b3455d891a29a (patch)
tree63d907bb0673a1b2e3e3cb7f859b3f0781f16cb6 /src/css/devtool-log.css
parent81e035589b3be6f03fa87dd47f5cd2b6ed0d9bf1 (diff)
downloaduBlock-1597ce7fd91880b92f25b361167b3455d891a29a.zip
uBlock-1597ce7fd91880b92f25b361167b3455d891a29a.tar.gz
uBlock-1597ce7fd91880b92f25b361167b3455d891a29a.tar.bz2
lot of work related to dynamic filtering + new net requests logger
Diffstat (limited to 'src/css/devtool-log.css')
-rw-r--r--src/css/devtool-log.css68
1 files changed, 68 insertions, 0 deletions
diff --git a/src/css/devtool-log.css b/src/css/devtool-log.css
new file mode 100644
index 0000000..d4a21e0
--- /dev/null
+++ b/src/css/devtool-log.css
@@ -0,0 +1,68 @@
+body {
+ border: 0;
+ box-sizing: border-box;
+ font: 11px monospace;
+ margin: 0;
+ overflow-x: hidden;
+ padding: 0;
+ white-space: nowrap;
+ width: 100%;
+ }
+#toolbar {
+ padding: 8px 0;
+ position: fixed;
+ text-align: center;
+ top: 0;
+ width: 4em;
+ }
+#toolbar .button {
+ background-color: white;
+ border: none;
+ cursor: pointer;
+ display: block;
+ font-size: large;
+ margin: 0;
+ padding: 0.5em 0;
+ }
+#toolbar .button:hover {
+ background-color: #eee;
+ }
+#content {
+ margin-left: 4em;
+ width: calc(100% - 4em);
+ }
+#content table {
+ border: 0;
+ border-collapse: collapse;
+ width: 100%;
+ }
+#content table tr.blocked {
+ background-color: rgba(192, 0, 0, 0.1)
+ }
+#content table tr.allowed {
+ background-color: rgba(0, 160, 0, 0.1)
+ }
+#content table tr td {
+ border: 1px solid #ccc;
+ hyphens: none;
+ padding: 3px;
+ vertical-align: top;
+ white-space: normal;
+ word-break: break-all;
+ word-wrap: break-word;
+ }
+#content table tr td:nth-of-type(1) {
+ width: 15%;
+ }
+#content table tr td:nth-of-type(3) {
+ border-right: none;
+ width: 75%;
+ }
+#content table tr.blocked td:nth-of-type(3) b {
+ background-color: rgba(192, 0, 0, 0.2);
+ font-weight: normal;
+ }
+#content table tr.allowed td:nth-of-type(3) b {
+ background-color: rgba(0, 160, 0, 0.2);
+ font-weight: normal;
+ } \ No newline at end of file