aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2014-09-17 23:59:39 +0200
committerMaximilian Hils <git@maximilianhils.com>2014-09-17 23:59:39 +0200
commitb99de36b24e4687e35069fbfa18727519f23ea35 (patch)
treef70d491c39669cbf4e91a653026cf17aa2822b33 /libmproxy
parent4ca720b55680e40b3a4361141a2ad39f9de81111 (diff)
downloadmitmproxy-b99de36b24e4687e35069fbfa18727519f23ea35.tar.gz
mitmproxy-b99de36b24e4687e35069fbfa18727519f23ea35.tar.bz2
mitmproxy-b99de36b24e4687e35069fbfa18727519f23ea35.zip
undo spriting
Diffstat (limited to 'libmproxy')
-rw-r--r--libmproxy/web/static/css/app.css48
-rw-r--r--libmproxy/web/static/images/chrome-devtools/LICENSE30
-rw-r--r--libmproxy/web/static/images/chrome-devtools/resourceCSSIcon.pngbin0 -> 1005 bytes
-rw-r--r--libmproxy/web/static/images/chrome-devtools/resourceDocumentIcon.pngbin0 -> 951 bytes
-rw-r--r--libmproxy/web/static/images/chrome-devtools/resourceJSIcon.pngbin0 -> 787 bytes
-rw-r--r--libmproxy/web/static/images/chrome-devtools/resourcePlainIcon.pngbin0 -> 295 bytes
-rw-r--r--libmproxy/web/static/images/resourceExecutableIcon.pngbin0 -> 853 bytes
-rw-r--r--libmproxy/web/static/images/resourceFlashIcon.pngbin0 -> 921 bytes
-rw-r--r--libmproxy/web/static/images/resourceImageIcon.pngbin0 -> 976 bytes
-rw-r--r--libmproxy/web/static/images/resourceJavaIcon.pngbin0 -> 861 bytes
-rw-r--r--libmproxy/web/static/images/resourceNotModifiedIcon.pngbin0 -> 1072 bytes
-rw-r--r--libmproxy/web/static/images/resourceRedirectIcon.pngbin0 -> 1174 bytes
-rw-r--r--libmproxy/web/static/images/sprite.pngbin10895 -> 0 bytes
13 files changed, 47 insertions, 31 deletions
diff --git a/libmproxy/web/static/css/app.css b/libmproxy/web/static/css/app.css
index 27acd68a..dcc31d18 100644
--- a/libmproxy/web/static/css/app.css
+++ b/libmproxy/web/static/css/app.css
@@ -11,54 +11,34 @@ html {
height: 32px;
}
.resource-icon-css {
- background-image: url("../images/sprite.png");
- background-position: 0px 0px;
- background-size: 32px 320px!important;
+ background-image: url(../images/chrome-devtools/resourceCSSIcon.png);
}
.resource-icon-document {
- background-image: url("../images/sprite.png");
- background-position: 0px -32px;
- background-size: 32px 320px!important;
+ background-image: url(../images/chrome-devtools/resourceDocumentIcon.png);
}
.resource-icon-js {
- background-image: url("../images/sprite.png");
- background-position: 0px -64px;
- background-size: 32px 320px!important;
+ background-image: url(../images/chrome-devtools/resourceJSIcon.png);
}
.resource-icon-plain {
- background-image: url("../images/sprite.png");
- background-position: 0px -96px;
- background-size: 32px 320px!important;
+ background-image: url(../images/chrome-devtools/resourcePlainIcon.png);
}
.resource-icon-executable {
- background-image: url("../images/sprite.png");
- background-position: 0px -128px;
- background-size: 32px 320px!important;
+ background-image: url(../images/resourceExecutableIcon.png);
}
.resource-icon-flash {
- background-image: url("../images/sprite.png");
- background-position: 0px -160px;
- background-size: 32px 320px!important;
+ background-image: url(../images/resourceFlashIcon.png);
}
.resource-icon-image {
- background-image: url("../images/sprite.png");
- background-position: 0px -192px;
- background-size: 32px 320px!important;
+ background-image: url(../images/resourceImageIcon.png);
}
.resource-icon-java {
- background-image: url("../images/sprite.png");
- background-position: 0px -224px;
- background-size: 32px 320px!important;
+ background-image: url(../images/resourceJavaIcon.png);
}
.resource-icon-not-modified {
- background-image: url("../images/sprite.png");
- background-position: 0px -256px;
- background-size: 32px 320px!important;
+ background-image: url(../images/resourceNotModifiedIcon.png);
}
.resource-icon-redirect {
- background-image: url("../images/sprite.png");
- background-position: 0px -288px;
- background-size: 32px 320px!important;
+ background-image: url(../images/resourceRedirectIcon.png);
}
html,
body,
@@ -128,12 +108,18 @@ header .menu {
.flow-table thead {
background-color: #dadada;
}
+.flow-table tr {
+ cursor: pointer;
+}
.flow-table td {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
-.flow-table .col-tls {
+.flow-table tr:nth-child(even) {
+ background-color: rgba(0, 0, 0, 0.05);
+}
+.flow-table .col-tls {
width: 10px;
}
.flow-table .col-tls-https {
diff --git a/libmproxy/web/static/images/chrome-devtools/LICENSE b/libmproxy/web/static/images/chrome-devtools/LICENSE
new file mode 100644
index 00000000..6e4f8b9f
--- /dev/null
+++ b/libmproxy/web/static/images/chrome-devtools/LICENSE
@@ -0,0 +1,30 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+//
+// The Chromium Authors can be found at
+// http://src.chromium.org/svn/trunk/src/AUTHORS
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following disclaimer
+// in the documentation and/or other materials provided with the
+// distribution.
+// * Neither the name of Google Inc. nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file
diff --git a/libmproxy/web/static/images/chrome-devtools/resourceCSSIcon.png b/libmproxy/web/static/images/chrome-devtools/resourceCSSIcon.png
new file mode 100644
index 00000000..18828d06
--- /dev/null
+++ b/libmproxy/web/static/images/chrome-devtools/resourceCSSIcon.png
Binary files differ
diff --git a/libmproxy/web/static/images/chrome-devtools/resourceDocumentIcon.png b/libmproxy/web/static/images/chrome-devtools/resourceDocumentIcon.png
new file mode 100644
index 00000000..fdc10e47
--- /dev/null
+++ b/libmproxy/web/static/images/chrome-devtools/resourceDocumentIcon.png
Binary files differ
diff --git a/libmproxy/web/static/images/chrome-devtools/resourceJSIcon.png b/libmproxy/web/static/images/chrome-devtools/resourceJSIcon.png
new file mode 100644
index 00000000..c1b72189
--- /dev/null
+++ b/libmproxy/web/static/images/chrome-devtools/resourceJSIcon.png
Binary files differ
diff --git a/libmproxy/web/static/images/chrome-devtools/resourcePlainIcon.png b/libmproxy/web/static/images/chrome-devtools/resourcePlainIcon.png
new file mode 100644
index 00000000..8c82a4c7
--- /dev/null
+++ b/libmproxy/web/static/images/chrome-devtools/resourcePlainIcon.png
Binary files differ
diff --git a/libmproxy/web/static/images/resourceExecutableIcon.png b/libmproxy/web/static/images/resourceExecutableIcon.png
new file mode 100644
index 00000000..fa70c2fd
--- /dev/null
+++ b/libmproxy/web/static/images/resourceExecutableIcon.png
Binary files differ
diff --git a/libmproxy/web/static/images/resourceFlashIcon.png b/libmproxy/web/static/images/resourceFlashIcon.png
new file mode 100644
index 00000000..ead5a4d0
--- /dev/null
+++ b/libmproxy/web/static/images/resourceFlashIcon.png
Binary files differ
diff --git a/libmproxy/web/static/images/resourceImageIcon.png b/libmproxy/web/static/images/resourceImageIcon.png
new file mode 100644
index 00000000..23163042
--- /dev/null
+++ b/libmproxy/web/static/images/resourceImageIcon.png
Binary files differ
diff --git a/libmproxy/web/static/images/resourceJavaIcon.png b/libmproxy/web/static/images/resourceJavaIcon.png
new file mode 100644
index 00000000..553b3391
--- /dev/null
+++ b/libmproxy/web/static/images/resourceJavaIcon.png
Binary files differ
diff --git a/libmproxy/web/static/images/resourceNotModifiedIcon.png b/libmproxy/web/static/images/resourceNotModifiedIcon.png
new file mode 100644
index 00000000..9c6a879d
--- /dev/null
+++ b/libmproxy/web/static/images/resourceNotModifiedIcon.png
Binary files differ
diff --git a/libmproxy/web/static/images/resourceRedirectIcon.png b/libmproxy/web/static/images/resourceRedirectIcon.png
new file mode 100644
index 00000000..58fe3ac1
--- /dev/null
+++ b/libmproxy/web/static/images/resourceRedirectIcon.png
Binary files differ
diff --git a/libmproxy/web/static/images/sprite.png b/libmproxy/web/static/images/sprite.png
deleted file mode 100644
index ff57a37d..00000000
--- a/libmproxy/web/static/images/sprite.png
+++ /dev/null
Binary files differ