diff options
author | Maximilian Hils <git@maximilianhils.com> | 2014-09-19 01:35:36 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2014-09-19 01:35:36 +0200 |
commit | b0374710e4ef934c2ae9b416e5c981e04ed776ed (patch) | |
tree | 732772d4cbd11562f728c27370185abaad1f026e /web/src/css | |
parent | 390a435ac4b5ce78b1aa32b4b048318c5ef0ba03 (diff) | |
download | mitmproxy-b0374710e4ef934c2ae9b416e5c981e04ed776ed.tar.gz mitmproxy-b0374710e4ef934c2ae9b416e5c981e04ed776ed.tar.bz2 mitmproxy-b0374710e4ef934c2ae9b416e5c981e04ed776ed.zip |
start to fill detailpane
Diffstat (limited to 'web/src/css')
-rw-r--r-- | web/src/css/flowdetail.less | 44 | ||||
-rw-r--r-- | web/src/css/flowtable.less | 5 |
2 files changed, 48 insertions, 1 deletions
diff --git a/web/src/css/flowdetail.less b/web/src/css/flowdetail.less index 88334391..8501ce6c 100644 --- a/web/src/css/flowdetail.less +++ b/web/src/css/flowdetail.less @@ -5,4 +5,48 @@ nav { background-color: #F2F2F2; } + + section { + padding: 5px; + } + + //FIXME: Style properly + code { + word-break: break-all; + padding-left: 0; + } +} + +//TODO: Move into some utils +.monospace(){ + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; +} + +.header-table { + .monospace(); + width: 100%; + table-layout: fixed; + word-break: break-all; + + tr { + //&:not(:first-child){ + border-top: 1px solid #f7f7f7; + //} + } + + td { + vertical-align: top; + //alt: + //white-space: nowrap; + //overflow: hidden; + //text-overflow: ellipsis; + } + + .header-name { + width: 33%; + padding-right: 1em; + } + .header-value { + + } }
\ No newline at end of file diff --git a/web/src/css/flowtable.less b/web/src/css/flowtable.less index 2a9c318b..db4c6f12 100644 --- a/web/src/css/flowtable.less +++ b/web/src/css/flowtable.less @@ -51,10 +51,13 @@ .col-status { width: 50px; } + .col-size { + width: 70px; + } .col-time { width: 50px; } - td.col-time { + td.col-time, td.col-size { text-align: right; } }
\ No newline at end of file |