pull/360/head
Abdullah Almsaeed 2015-04-15 19:06:16 -04:00
parent 8f6d175488
commit 94e52710d5
6 changed files with 4401 additions and 10 deletions

View File

@ -57,7 +57,7 @@
//Light sidebar //Light sidebar
@sidebar-light-bg: #f9fafc; @sidebar-light-bg: #f9fafc;
@sidebar-light-hover-bg: lighten(#f0f0f1, 1.5%);//#f7f7f7; @sidebar-light-hover-bg: lighten(#f0f0f1, 1.5%);
@sidebar-light-color: #444; @sidebar-light-color: #444;
@sidebar-light-hover-color: #000; @sidebar-light-hover-color: #000;
@sidebar-light-submenu-bg: @sidebar-light-hover-bg; @sidebar-light-submenu-bg: @sidebar-light-hover-bg;

4364
dist/css/AdminLTE-rtl.css vendored Normal file

File diff suppressed because it is too large Load Diff

7
dist/css/AdminLTE-rtl.min.css vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -2807,11 +2807,15 @@ table.text-center th {
padding: 10px; padding: 10px;
text-align: center; text-align: center;
} }
.users-list > li > img { .users-list > li img {
border-radius: 50%; border-radius: 50%;
max-width: 100%; max-width: 100%;
height: auto; height: auto;
} }
.users-list > li > a:hover,
.users-list > li > a:hover .users-list-name {
color: #999;
}
.users-list-name, .users-list-name,
.users-list-date { .users-list-date {
display: block; display: block;
@ -2823,9 +2827,6 @@ table.text-center th {
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.users-list-name:hover {
color: #999;
}
.users-list-date { .users-list-date {
color: #999; color: #999;
font-size: 12px; font-size: 12px;

File diff suppressed because one or more lines are too long

27
dist/js/demo.js vendored
View File

@ -29,11 +29,11 @@
//Create the new tab //Create the new tab
var tab_pane = $("<div />", { var tab_pane = $("<div />", {
"id": "control-sidebar-theme-demo-options-tab", "id": "control-sidebar-theme-demo-options-tab",
"class": "tab-pane" "class": "tab-pane active"
}); });
//Create the tab button //Create the tab button
var tab_button = $("<li />") var tab_button = $("<li />", {"class": "active"})
.html("<a href='#control-sidebar-theme-demo-options-tab' data-toggle='tab'>" .html("<a href='#control-sidebar-theme-demo-options-tab' data-toggle='tab'>"
+ "<i class='fa fa-wrench'></i>" + "<i class='fa fa-wrench'></i>"
+ "</a>"); + "</a>");
@ -81,7 +81,15 @@
+ "<input type='checkbox' data-controlsidebar='control-sidebar-open' class='pull-right'/> " + "<input type='checkbox' data-controlsidebar='control-sidebar-open' class='pull-right'/> "
+ "Toggle Right Sidebar Slide" + "Toggle Right Sidebar Slide"
+ "</label>" + "</label>"
+ "<p>Toggles between slide over content and push content effects.</p>" + "<p>Toggle between slide over content and push content effects</p>"
+ "</div>"
//Control Sidebar Skin Toggle
+ "<div class='form-group'>"
+ "<label class='control-sidebar-subheading'>"
+ "<input type='checkbox' data-sidebarskin='toggle' class='pull-right'/> "
+ "Toggle Right Sidebar Skin"
+ "</label>"
+ "<p>Toggle between dark and light skins for the right sidebar</p>"
+ "</div>" + "</div>"
); );
var skins_list = $("<ul />", {"class": 'list-unstyled clearfix'}); var skins_list = $("<ul />", {"class": 'list-unstyled clearfix'});
@ -204,7 +212,7 @@
$("body").toggleClass(cls); $("body").toggleClass(cls);
AdminLTE.layout.fixSidebar(); AdminLTE.layout.fixSidebar();
//Fix the problem with right sidebar and layout boxed //Fix the problem with right sidebar and layout boxed
if(cls == "layout-boxed") if (cls == "layout-boxed")
AdminLTE.controlSidebar._fix($(".control-sidebar-bg")); AdminLTE.controlSidebar._fix($(".control-sidebar-bg"));
} }
@ -280,5 +288,16 @@
if (!slide) if (!slide)
$('.control-sidebar').removeClass('control-sidebar-open'); $('.control-sidebar').removeClass('control-sidebar-open');
}); });
$("[data-sidebarskin='toggle']").on('click', function () {
var sidebar = $(".control-sidebar");
if (sidebar.hasClass("control-sidebar-dark")) {
sidebar.removeClass("control-sidebar-dark")
sidebar.addClass("control-sidebar-light")
} else {
sidebar.removeClass("control-sidebar-light")
sidebar.addClass("control-sidebar-dark")
}
});
} }
})(jQuery, $.AdminLTE); })(jQuery, $.AdminLTE);