Fixed issue #288

pull/298/merge
Abdullah Almsaeed 2015-03-17 11:23:28 -04:00
parent 3e3fedd4f5
commit 3810f026ce
4 changed files with 209 additions and 198 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@
/node_modules/ /node_modules/
TODO TODO
*.zip *.zip
test.html

37
dist/js/app.js vendored
View File

@ -125,6 +125,9 @@ $(function () {
//Easy access to options //Easy access to options
var o = $.AdminLTE.options; var o = $.AdminLTE.options;
//Set up the object
_init();
//Activate the layout maker //Activate the layout maker
$.AdminLTE.layout.activate(); $.AdminLTE.layout.activate();
@ -183,14 +186,15 @@ $(function () {
}); });
}); });
/* ---------------------- /* ----------------------------------
* - AdminLTE Functions - * - Initialize the AdminLTE Object -
* ---------------------- * ----------------------------------
* All AdminLTE functions are implemented below. * All AdminLTE functions are implemented below.
*/ */
function _init() {
/* prepareLayout /* Layout
* ============= * ======
* Fixes the layout height in case min-height fails. * Fixes the layout height in case min-height fails.
* *
* @type Object * @type Object
@ -198,7 +202,7 @@ $(function () {
* $.AdminLTE.layout.fix() * $.AdminLTE.layout.fix()
* $.AdminLTE.layout.fixSidebar() * $.AdminLTE.layout.fixSidebar()
*/ */
$.AdminLTE.layout = { $.AdminLTE.layout = {
activate: function () { activate: function () {
var _this = this; var _this = this;
_this.fix(); _this.fix();
@ -249,16 +253,16 @@ $.AdminLTE.layout = {
} }
} }
} }
}; };
/* PushMenu() /* PushMenu()
* ========== * ==========
* Adds the push menu functionality to the sidebar. * Adds the push menu functionality to the sidebar.
* *
* @type Function * @type Function
* @usage: $.AdminLTE.pushMenu("[data-toggle='offcanvas']") * @usage: $.AdminLTE.pushMenu("[data-toggle='offcanvas']")
*/ */
$.AdminLTE.pushMenu = function (toggleBtn) { $.AdminLTE.pushMenu = function (toggleBtn) {
//Get the screen sizes //Get the screen sizes
var screenSizes = this.options.screenSizes; var screenSizes = this.options.screenSizes;
@ -288,9 +292,9 @@ $.AdminLTE.pushMenu = function (toggleBtn) {
} }
}); });
}; };
/* Tree() /* Tree()
* ====== * ======
* Converts the sidebar into a multilevel * Converts the sidebar into a multilevel
* tree view menu. * tree view menu.
@ -298,7 +302,7 @@ $.AdminLTE.pushMenu = function (toggleBtn) {
* @type Function * @type Function
* @Usage: $.AdminLTE.tree('.sidebar') * @Usage: $.AdminLTE.tree('.sidebar')
*/ */
$.AdminLTE.tree = function (menu) { $.AdminLTE.tree = function (menu) {
var _this = this; var _this = this;
$("li a", $(menu)).click(function (e) { $("li a", $(menu)).click(function (e) {
@ -342,9 +346,9 @@ $.AdminLTE.tree = function (menu) {
e.preventDefault(); e.preventDefault();
} }
}); });
}; };
/* BoxWidget /* BoxWidget
* ========= * =========
* BoxWidget is plugin to handle collapsing and * BoxWidget is plugin to handle collapsing and
* removing boxes from the screen. * removing boxes from the screen.
@ -353,7 +357,7 @@ $.AdminLTE.tree = function (menu) {
* @usage $.AdminLTE.boxWidget.activate() * @usage $.AdminLTE.boxWidget.activate()
* Set all of your option in the main $.AdminLTE.options object * Set all of your option in the main $.AdminLTE.options object
*/ */
$.AdminLTE.boxWidget = { $.AdminLTE.boxWidget = {
activate: function () { activate: function () {
var o = $.AdminLTE.options; var o = $.AdminLTE.options;
var _this = this; var _this = this;
@ -394,7 +398,8 @@ $.AdminLTE.boxWidget = {
box.slideUp(); box.slideUp();
}, },
options: $.AdminLTE.options.boxWidgetOptions options: $.AdminLTE.options.boxWidgetOptions
}; };
}
/* ------------------ /* ------------------
* - Custom Plugins - * - Custom Plugins -

2
dist/js/app.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -6,6 +6,10 @@
font-size: 16px; font-size: 16px;
} }
.content {
z-index: 500;
}
#components > h3 { #components > h3 {
font-size: 25px; font-size: 25px;
color: #000; color: #000;
@ -20,7 +24,7 @@ ul {
} }
.page-header { .page-header {
/*border-bottom: 1px solid #ddd; */ /*border-bottom: 1px solid #ddd; */
margin: 20px 0 20px 0; margin: 20px 0 10px 0!important;
position: relative; position: relative;
z-index: 1; z-index: 1;
font-size: 30px; font-size: 30px;
@ -46,6 +50,7 @@ ul {
margin-top: -60px; margin-top: -60px;
height: 60px; height: 60px;
visibility: hidden; visibility: hidden;
z-index: -10;
} }
.lead { .lead {