New admin menu
This commit is contained in:
parent
29cd9d0132
commit
89fb059aaa
35 changed files with 209 additions and 170 deletions
|
|
@ -70,6 +70,19 @@ $(function() {
|
|||
$(".comment-reply").hide();
|
||||
$(".user-details-popover").popover();
|
||||
$("#comments-div").hide();
|
||||
|
||||
$( ".myAccordion" ).mouseover(function() {
|
||||
if(!$(this).find("ul").is(':visible')){
|
||||
//Hide all except this
|
||||
$siblings = $(this).siblings().find("ul:visible");
|
||||
$siblings.hide();
|
||||
$siblings.parent().find('span:nth-child(2)').toggleClass("glyphicon-chevron-down glyphicon-chevron-right");
|
||||
|
||||
//show this
|
||||
$(this).find("ul").show();
|
||||
$(this).find('span:nth-child(2)').toggleClass("glyphicon-chevron-down glyphicon-chevron-right");
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
function word_count(text, divId, maxcount) {
|
||||
|
|
|
|||
|
|
@ -1,33 +1,53 @@
|
|||
html {
|
||||
position: relative;
|
||||
min-height: 100%;
|
||||
position: relative;
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
/* Margin bottom by footer height */
|
||||
margin-bottom: 60px;
|
||||
/* Margin bottom by footer height */
|
||||
margin-bottom: 60px;
|
||||
/* Margin bottom by navbar height */
|
||||
padding-top: 60px;
|
||||
}
|
||||
|
||||
body > #messages {
|
||||
padding: 60px 15px 0;
|
||||
}
|
||||
|
||||
body > #content {
|
||||
padding-bottom: 60px;
|
||||
padding: 60px 15px 0;
|
||||
}
|
||||
|
||||
#footer {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
/* Set the fixed height of the footer here */
|
||||
height: 60px;
|
||||
background-color: #f5f5f5;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
/* Set the fixed height of the footer here */
|
||||
height: 60px;
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
|
||||
.container .text-muted {
|
||||
margin: 20px 0;
|
||||
margin: 20px 0;
|
||||
}
|
||||
|
||||
#footer > .container {
|
||||
padding: 15px;
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
.nav > li.nav-header > a {
|
||||
cursor: default;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.glyphicon {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.mySidebar hr {
|
||||
margin: 1px;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 768px) {
|
||||
.mySidebar ul.subNav {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue