fix the sidebar
This commit is contained in:
@@ -171,9 +171,8 @@ form .clearfix.success input {
|
||||
|
||||
/* for placing the sidebar toggle icons */
|
||||
#sidebar_toggle_img_in {
|
||||
position: fixed;
|
||||
top: 60px;
|
||||
left: 205px;
|
||||
margin-top: -10px;
|
||||
margin-left: 164px;
|
||||
}
|
||||
|
||||
/* for placing the sidebar toggle icons */
|
||||
@@ -185,3 +184,14 @@ form .clearfix.success input {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* pull the device label closer to the top of the sidebar
|
||||
to reduce the useless gap */
|
||||
h3.device_label {
|
||||
margin-top: -12px;
|
||||
}
|
||||
|
||||
/* make the sidebar fixed on the screen */
|
||||
.sidebar {
|
||||
position: fixed !important;
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<img class="sidebar_toggle" id="sidebar_toggle_img_out"
|
||||
src="[% uri_base %]/images/application_side_expand.png"
|
||||
rel="twipsy" data-placement="right" data-offset="5" title="Show Sidebar"/>
|
||||
src="[% uri_base %]/images/application_side_expand.png"/>
|
||||
<div class="container-fluid">
|
||||
<div class="sidebar">
|
||||
<div class="well">
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// sidebar toggle
|
||||
$('#sidebar_toggle_img_in').click(
|
||||
function() {
|
||||
$('#sidebar_toggle_img_in').toggle();
|
||||
$('.sidebar').toggle(
|
||||
function() {
|
||||
$('#sidebar_toggle_img_out').toggle();
|
||||
@@ -16,7 +15,6 @@
|
||||
$('.nd_content').animate({'margin-left': '225px !important'}, 200,
|
||||
function() {
|
||||
$('.sidebar').toggle(200);
|
||||
$('#sidebar_toggle_img_in').toggle();
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<img class="sidebar_toggle" id="sidebar_toggle_img_out"
|
||||
src="[% uri_base %]/images/application_side_expand.png"
|
||||
rel="twipsy" data-placement="right" data-offset="5" title="Show Sidebar"/>
|
||||
src="[% uri_base %]/images/application_side_expand.png"/>
|
||||
<div class="container-fluid">
|
||||
<div class="sidebar">
|
||||
<div class="well">
|
||||
|
||||
Reference in New Issue
Block a user