From 7e22531ccd6c64b85c4246ae3fa6118d454efc9e Mon Sep 17 00:00:00 2001 From: Arpad Csanyi Date: Tue, 16 Feb 2016 23:24:14 +0100 Subject: [PATCH] Remove split.js from the agent. --- app.css | 47 ++++++++--------------------------------------- app.html | 3 +-- app.js | 6 ------ 3 files changed, 9 insertions(+), 47 deletions(-) diff --git a/app.css b/app.css index 7049d542..8a3b28f4 100644 --- a/app.css +++ b/app.css @@ -1,44 +1,9 @@ -/* * * * * * * * * * * - * Split js theming. * - * * * * * * * * * * */ - -html, body { - height: 100%; -} -body { - /* padding: 8px; */ - margin: 0; - /*background-color: #F6F6F6;*/ - box-sizing: border-box; -} -.split { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - overflow-y: auto; - overflow-x: hidden; -} -.content { - border: 1px solid #C0C0C0; - box-shadow: inset 0 1px 2px #e4e4e4; - background-color: #fff; -} -.gutter { +#sidebar-menu { background-color: #eee; - background-repeat: no-repeat; - background-position: 50%; -} -.gutter.gutter-horizontal { - cursor: col-resize; - background-image: url('./images/grips/vertical.png'); -} -.gutter.gutter-vertical { - cursor: row-resize; - background-image: url('./images/grips/horizontal.png'); -} -.split.split-horizontal, .gutter.gutter-horizontal { + position: fixed; + overflow-y: scroll; + width: 250px; height: 100%; - float: left; } #sidebar-menu ul { @@ -50,6 +15,10 @@ body { padding: 0; } +#main-content { + margin-left: 250px; +} + .pane-title { margin-bottom: 1em; } diff --git a/app.html b/app.html index 98fdb27a..db6b2fa3 100644 --- a/app.html +++ b/app.html @@ -12,7 +12,7 @@ -
+

@@ -55,7 +55,6 @@ - diff --git a/app.js b/app.js index 9fc1a83f..cbd40d7a 100644 --- a/app.js +++ b/app.js @@ -1,10 +1,4 @@ $(function() { - Split(["#sidebar-menu", "#main-content"], { - gutterSize: 8, - sizes: [5, 95], - minSize: 250 - }); - // Handlebars template for Sidebar menu. var sidebarMenuSource = $('#sidebar-menu--source').html(); var sidebarMenuTemplate = Handlebars.compile(sidebarMenuSource);