Remove split.js from the agent.
This commit is contained in:
@@ -1,44 +1,9 @@
|
|||||||
/* * * * * * * * * * *
|
#sidebar-menu {
|
||||||
* 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 {
|
|
||||||
background-color: #eee;
|
background-color: #eee;
|
||||||
background-repeat: no-repeat;
|
position: fixed;
|
||||||
background-position: 50%;
|
overflow-y: scroll;
|
||||||
}
|
width: 250px;
|
||||||
.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 {
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
float: left;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#sidebar-menu ul {
|
#sidebar-menu ul {
|
||||||
@@ -50,6 +15,10 @@ body {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#main-content {
|
||||||
|
margin-left: 250px;
|
||||||
|
}
|
||||||
|
|
||||||
.pane-title {
|
.pane-title {
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="sidebar-menu" class="split split-horizontal" style=""></div>
|
<div id="sidebar-menu" class="split split-horizontal" style=""></div>
|
||||||
<div id="main-content" class="split split-horizontal container" style="">
|
<div id="main-content" class="split split-horizontal container-fluid" style="">
|
||||||
<div class="keymap keymap--qwerty">
|
<div class="keymap keymap--qwerty">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<h1 class="col-xs-12 pane-title">
|
<h1 class="col-xs-12 pane-title">
|
||||||
@@ -55,7 +55,6 @@
|
|||||||
|
|
||||||
<script type="text/javascript" src="./bower_components/jquery/dist/jquery.min.js"></script>
|
<script type="text/javascript" src="./bower_components/jquery/dist/jquery.min.js"></script>
|
||||||
<script type="text/javascript" src="bower_components/handlebars/handlebars.js"></script>
|
<script type="text/javascript" src="bower_components/handlebars/handlebars.js"></script>
|
||||||
<script type="text/javascript" src="./bower_components/Split.js/split.js"></script>
|
|
||||||
<script type="text/javascript" src="bower_components/owl.carousel/dist/owl.carousel.js"></script>
|
<script type="text/javascript" src="bower_components/owl.carousel/dist/owl.carousel.js"></script>
|
||||||
<script type="text/javascript" src="./app.js"></script>
|
<script type="text/javascript" src="./app.js"></script>
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,4 @@
|
|||||||
$(function() {
|
$(function() {
|
||||||
Split(["#sidebar-menu", "#main-content"], {
|
|
||||||
gutterSize: 8,
|
|
||||||
sizes: [5, 95],
|
|
||||||
minSize: 250
|
|
||||||
});
|
|
||||||
|
|
||||||
// Handlebars template for Sidebar menu.
|
// Handlebars template for Sidebar menu.
|
||||||
var sidebarMenuSource = $('#sidebar-menu--source').html();
|
var sidebarMenuSource = $('#sidebar-menu--source').html();
|
||||||
var sidebarMenuTemplate = Handlebars.compile(sidebarMenuSource);
|
var sidebarMenuTemplate = Handlebars.compile(sidebarMenuSource);
|
||||||
|
|||||||
Reference in New Issue
Block a user