提交 01c00714 编写于 作者: A Abdullah Almsaeed

Updates

上级 c51c10f2
...@@ -20,13 +20,14 @@ ...@@ -20,13 +20,14 @@
//The sidebar //The sidebar
.control-sidebar { .control-sidebar {
position: absolute; position: absolute;
top: @navbar-height; top: 0;
padding-top: @navbar-height;
right: 0; right: 0;
width: @control-sidebar-width; width: @control-sidebar-width;
z-index: 1010; z-index: 1010;
//Fix position after header collapse //Fix position after header collapse
@media (max-width: @screen-sm) { @media (max-width: @screen-sm) {
top: @navbar-height + 50; padding-top: @navbar-height + 50;
} }
//Tab panes //Tab panes
> .tab-content { > .tab-content {
...@@ -151,8 +152,9 @@ ...@@ -151,8 +152,9 @@
} }
//Dark skin //Dark skin
.control-sidebar-dark { .control-sidebar-dark {
color: @sidebar-dark-color; color: @sidebar-dark-color;
// Background // Background
&,
+ .control-sidebar-bg { + .control-sidebar-bg {
background: @sidebar-dark-bg; background: @sidebar-dark-bg;
} }
...@@ -212,8 +214,9 @@ ...@@ -212,8 +214,9 @@
} }
//Light skin //Light skin
.control-sidebar-light { .control-sidebar-light {
color: lighten(@sidebar-light-color, 10%); color: lighten(@sidebar-light-color, 10%);
// Background // Background
&,
+ .control-sidebar-bg { + .control-sidebar-bg {
background: @sidebar-light-bg; background: @sidebar-light-bg;
border-left: 1px solid @gray; border-left: 1px solid @gray;
......
...@@ -24,7 +24,7 @@ body { ...@@ -24,7 +24,7 @@ body {
.clearfix(); .clearfix();
min-height: 100%; min-height: 100%;
position: static; position: static;
overflow: hidden; overflow: hidden!important;
.layout-boxed & { .layout-boxed & {
max-width: 1250px; max-width: 1250px;
margin: 0 auto; margin: 0 auto;
...@@ -50,7 +50,7 @@ body { ...@@ -50,7 +50,7 @@ body {
margin @transition-speed @transition-fn; margin @transition-speed @transition-fn;
.transition-transform(@transition-rule); .transition-transform(@transition-rule);
margin-left: @sidebar-width; margin-left: @sidebar-width;
z-index: 820; z-index: 820;
//Top nav layout //Top nav layout
.layout-top-nav & { .layout-top-nav & {
margin-left: 0; margin-left: 0;
......
...@@ -30,7 +30,7 @@ body { ...@@ -30,7 +30,7 @@ body {
.wrapper { .wrapper {
min-height: 100%; min-height: 100%;
position: static; position: static;
overflow: hidden; overflow: hidden!important;
} }
.wrapper:before, .wrapper:before,
.wrapper:after { .wrapper:after {
...@@ -687,14 +687,15 @@ a:focus { ...@@ -687,14 +687,15 @@ a:focus {
} }
.control-sidebar { .control-sidebar {
position: absolute; position: absolute;
top: 50px; top: 0;
padding-top: 50px;
right: 0; right: 0;
width: 230px; width: 230px;
z-index: 1010; z-index: 1010;
} }
@media (max-width: 768px) { @media (max-width: 768px) {
.control-sidebar { .control-sidebar {
top: 100px; padding-top: 100px;
} }
} }
.control-sidebar > .tab-content { .control-sidebar > .tab-content {
...@@ -813,6 +814,7 @@ a:focus { ...@@ -813,6 +814,7 @@ a:focus {
.control-sidebar-dark { .control-sidebar-dark {
color: #b8c7ce; color: #b8c7ce;
} }
.control-sidebar-dark,
.control-sidebar-dark + .control-sidebar-bg { .control-sidebar-dark + .control-sidebar-bg {
background: #222d32; background: #222d32;
} }
...@@ -853,6 +855,7 @@ a:focus { ...@@ -853,6 +855,7 @@ a:focus {
.control-sidebar-light { .control-sidebar-light {
color: #5e5e5e; color: #5e5e5e;
} }
.control-sidebar-light,
.control-sidebar-light + .control-sidebar-bg { .control-sidebar-light + .control-sidebar-bg {
background: #f9fafc; background: #f9fafc;
border-left: 1px solid #d2d6de; border-left: 1px solid #d2d6de;
......
此差异已折叠。
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<!-- Ionicons --> <!-- Ionicons -->
<link href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css" rel="stylesheet" type="text/css" /> <link href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css" rel="stylesheet" type="text/css" />
<!-- Theme style --> <!-- Theme style -->
<link href="../../dist/css/AdminLTE.min.css" rel="stylesheet" type="text/css" /> <link href="../../dist/css/AdminLTE.css" rel="stylesheet" type="text/css" />
<!-- AdminLTE Skins. Choose a skin from the css/skins <!-- AdminLTE Skins. Choose a skin from the css/skins
folder instead of downloading all of them to reduce the load. --> folder instead of downloading all of them to reduce the load. -->
<link href="../../dist/css/skins/_all-skins.min.css" rel="stylesheet" type="text/css" /> <link href="../../dist/css/skins/_all-skins.min.css" rel="stylesheet" type="text/css" />
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册