From b99de36b24e4687e35069fbfa18727519f23ea35 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Wed, 17 Sep 2014 23:59:39 +0200 Subject: undo spriting --- libmproxy/web/static/css/app.css | 48 ++++++++------------- .../web/static/images/chrome-devtools/LICENSE | 30 +++++++++++++ .../images/chrome-devtools/resourceCSSIcon.png | Bin 0 -> 1005 bytes .../chrome-devtools/resourceDocumentIcon.png | Bin 0 -> 951 bytes .../images/chrome-devtools/resourceJSIcon.png | Bin 0 -> 787 bytes .../images/chrome-devtools/resourcePlainIcon.png | Bin 0 -> 295 bytes .../web/static/images/resourceExecutableIcon.png | Bin 0 -> 853 bytes libmproxy/web/static/images/resourceFlashIcon.png | Bin 0 -> 921 bytes libmproxy/web/static/images/resourceImageIcon.png | Bin 0 -> 976 bytes libmproxy/web/static/images/resourceJavaIcon.png | Bin 0 -> 861 bytes .../web/static/images/resourceNotModifiedIcon.png | Bin 0 -> 1072 bytes .../web/static/images/resourceRedirectIcon.png | Bin 0 -> 1174 bytes libmproxy/web/static/images/sprite.png | Bin 10895 -> 0 bytes 13 files changed, 47 insertions(+), 31 deletions(-) create mode 100644 libmproxy/web/static/images/chrome-devtools/LICENSE create mode 100644 libmproxy/web/static/images/chrome-devtools/resourceCSSIcon.png create mode 100644 libmproxy/web/static/images/chrome-devtools/resourceDocumentIcon.png create mode 100644 libmproxy/web/static/images/chrome-devtools/resourceJSIcon.png create mode 100644 libmproxy/web/static/images/chrome-devtools/resourcePlainIcon.png create mode 100644 libmproxy/web/static/images/resourceExecutableIcon.png create mode 100644 libmproxy/web/static/images/resourceFlashIcon.png create mode 100644 libmproxy/web/static/images/resourceImageIcon.png create mode 100644 libmproxy/web/static/images/resourceJavaIcon.png create mode 100644 libmproxy/web/static/images/resourceNotModifiedIcon.png create mode 100644 libmproxy/web/static/images/resourceRedirectIcon.png delete mode 100644 libmproxy/web/static/images/sprite.png (limited to 'libmproxy') 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 Binary files /dev/null and b/libmproxy/web/static/images/chrome-devtools/resourceCSSIcon.png 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 Binary files /dev/null and b/libmproxy/web/static/images/chrome-devtools/resourceDocumentIcon.png 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 Binary files /dev/null and b/libmproxy/web/static/images/chrome-devtools/resourceJSIcon.png 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 Binary files /dev/null and b/libmproxy/web/static/images/chrome-devtools/resourcePlainIcon.png differ diff --git a/libmproxy/web/static/images/resourceExecutableIcon.png b/libmproxy/web/static/images/resourceExecutableIcon.png new file mode 100644 index 00000000..fa70c2fd Binary files /dev/null and b/libmproxy/web/static/images/resourceExecutableIcon.png differ diff --git a/libmproxy/web/static/images/resourceFlashIcon.png b/libmproxy/web/static/images/resourceFlashIcon.png new file mode 100644 index 00000000..ead5a4d0 Binary files /dev/null and b/libmproxy/web/static/images/resourceFlashIcon.png differ diff --git a/libmproxy/web/static/images/resourceImageIcon.png b/libmproxy/web/static/images/resourceImageIcon.png new file mode 100644 index 00000000..23163042 Binary files /dev/null and b/libmproxy/web/static/images/resourceImageIcon.png differ diff --git a/libmproxy/web/static/images/resourceJavaIcon.png b/libmproxy/web/static/images/resourceJavaIcon.png new file mode 100644 index 00000000..553b3391 Binary files /dev/null and b/libmproxy/web/static/images/resourceJavaIcon.png differ diff --git a/libmproxy/web/static/images/resourceNotModifiedIcon.png b/libmproxy/web/static/images/resourceNotModifiedIcon.png new file mode 100644 index 00000000..9c6a879d Binary files /dev/null and b/libmproxy/web/static/images/resourceNotModifiedIcon.png differ diff --git a/libmproxy/web/static/images/resourceRedirectIcon.png b/libmproxy/web/static/images/resourceRedirectIcon.png new file mode 100644 index 00000000..58fe3ac1 Binary files /dev/null and b/libmproxy/web/static/images/resourceRedirectIcon.png differ diff --git a/libmproxy/web/static/images/sprite.png b/libmproxy/web/static/images/sprite.png deleted file mode 100644 index ff57a37d..00000000 Binary files a/libmproxy/web/static/images/sprite.png and /dev/null differ -- cgit v1.2.3