aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/css
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2014-09-18 23:47:54 +0200
committerMaximilian Hils <git@maximilianhils.com>2014-09-18 23:47:54 +0200
commit390a435ac4b5ce78b1aa32b4b048318c5ef0ba03 (patch)
tree10a8cf4fb5ae056ebe0ad37d1ceb29f91d5d0b94 /web/src/css
parente66f240e8148fd63e6739950bd773b4052d91501 (diff)
downloadmitmproxy-390a435ac4b5ce78b1aa32b4b048318c5ef0ba03.tar.gz
mitmproxy-390a435ac4b5ce78b1aa32b4b048318c5ef0ba03.tar.bz2
mitmproxy-390a435ac4b5ce78b1aa32b4b048318c5ef0ba03.zip
basic splitter -> kick-ass splitter
Diffstat (limited to 'web/src/css')
-rw-r--r--web/src/css/layout.less33
1 files changed, 24 insertions, 9 deletions
diff --git a/web/src/css/layout.less b/web/src/css/layout.less
index 55d6f61e..510fde6a 100644
--- a/web/src/css/layout.less
+++ b/web/src/css/layout.less
@@ -30,14 +30,29 @@ html, body, #container {
}
.splitter {
- flex: 0 0 4px;
- background-color: #ccc;
- content: "X";
+ flex: 0 0 1px;
+ background-color: #aaa;
+ position: relative;
+ > div {
+ position: absolute;
+ //debug: background-color: orange;
+ }
+
+ &.splitter-x {
+ cursor: col-resize;
+ > div {
+ margin-left: -1px;
+ width: 4px;
+ height: 100%;
+ }
+ }
+ &.splitter-y {
+ cursor: row-resize;
+ > div {
+ margin-top: -1px;
+ height: 4px;
+ width: 100%;
+ }
+ }
}
-.splitter-x {
- cursor: col-resize;
-}
-.splitter-y {
- cursor: row-resize;
-} \ No newline at end of file