diff options
author | Maximilian Hils <git@maximilianhils.com> | 2014-09-17 21:14:55 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2014-09-17 21:14:55 +0200 |
commit | 4ca720b55680e40b3a4361141a2ad39f9de81111 (patch) | |
tree | ec50f6a42cd4f1cda7e2f3f6026359adc198ec67 /libmproxy/web/static/css/app.css | |
parent | 102bd075689892b06765fb857c89604fe9cf33e5 (diff) | |
download | mitmproxy-4ca720b55680e40b3a4361141a2ad39f9de81111.tar.gz mitmproxy-4ca720b55680e40b3a4361141a2ad39f9de81111.tar.bz2 mitmproxy-4ca720b55680e40b3a4361141a2ad39f9de81111.zip |
add features to the traffic table, introduce image spriting
Diffstat (limited to 'libmproxy/web/static/css/app.css')
-rw-r--r-- | libmproxy/web/static/css/app.css | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/libmproxy/web/static/css/app.css b/libmproxy/web/static/css/app.css index ecc7426c..27acd68a 100644 --- a/libmproxy/web/static/css/app.css +++ b/libmproxy/web/static/css/app.css @@ -6,6 +6,60 @@ html { *:after { box-sizing: inherit; } +.resource-icon { + width: 32px; + height: 32px; +} +.resource-icon-css { + background-image: url("../images/sprite.png"); + background-position: 0px 0px; + background-size: 32px 320px!important; +} +.resource-icon-document { + background-image: url("../images/sprite.png"); + background-position: 0px -32px; + background-size: 32px 320px!important; +} +.resource-icon-js { + background-image: url("../images/sprite.png"); + background-position: 0px -64px; + background-size: 32px 320px!important; +} +.resource-icon-plain { + background-image: url("../images/sprite.png"); + background-position: 0px -96px; + background-size: 32px 320px!important; +} +.resource-icon-executable { + background-image: url("../images/sprite.png"); + background-position: 0px -128px; + background-size: 32px 320px!important; +} +.resource-icon-flash { + background-image: url("../images/sprite.png"); + background-position: 0px -160px; + background-size: 32px 320px!important; +} +.resource-icon-image { + background-image: url("../images/sprite.png"); + background-position: 0px -192px; + background-size: 32px 320px!important; +} +.resource-icon-java { + background-image: url("../images/sprite.png"); + background-position: 0px -224px; + background-size: 32px 320px!important; +} +.resource-icon-not-modified { + background-image: url("../images/sprite.png"); + background-position: 0px -256px; + background-size: 32px 320px!important; +} +.resource-icon-redirect { + background-image: url("../images/sprite.png"); + background-position: 0px -288px; + background-size: 32px 320px!important; +} html, body, #container { @@ -69,6 +123,33 @@ header .menu { } .flow-table { width: 100%; + table-layout: fixed; +} +.flow-table thead { + background-color: #dadada; +} +.flow-table td { + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; +} +.flow-table .col-tls { + width: 10px; +} +.flow-table .col-tls-https { + background-color: rgba(0, 185, 0, 0.5); +} +.flow-table .col-icon { + width: 32px; +} +.flow-table .col-method { + width: 60px; +} +.flow-table .col-status { + width: 50px; +} +.flow-table .col-time { + width: 120px; } .eventlog { flex: 0 0 auto; |