修改样式,兼容前台Fix模式,main-content样式自适应两种模式
This commit is contained in:
parent
d6de899b37
commit
ec5f40236a
|
@ -1,7 +1,5 @@
|
|||
.wrapper {
|
||||
display: inline-block;
|
||||
padding: 15px;
|
||||
width: 100%;
|
||||
#main-content {
|
||||
margin-left: 210px;
|
||||
}
|
||||
|
||||
.sidebar-closed > #sidebar > ul {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
}
|
||||
|
||||
#main-content {
|
||||
margin-left: 210px;
|
||||
margin-top: 0;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
bottom: 40px;
|
||||
|
@ -19,4 +19,5 @@
|
|||
bottom: 0;
|
||||
right: 0;
|
||||
z-index: 50;
|
||||
height: 40px;
|
||||
}
|
||||
|
|
|
@ -10,6 +10,16 @@
|
|||
-moz-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
#main-content {
|
||||
margin-top: 94px;
|
||||
}
|
||||
|
||||
.wrapper {
|
||||
display: inline-block;
|
||||
padding: 15px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
ul li {
|
||||
list-style: none;
|
||||
}
|
||||
|
@ -31,10 +41,6 @@ div button span {
|
|||
margin-right: 4px;
|
||||
}
|
||||
|
||||
.body-content {
|
||||
margin-top: 108px;
|
||||
}
|
||||
|
||||
.header, .footer {
|
||||
min-height: 60px;
|
||||
padding: 0 15px;
|
||||
|
|
|
@ -6,4 +6,4 @@
|
|||
@section header {
|
||||
@Html.Partial("Header", Model)
|
||||
}
|
||||
<h4>欢迎使用本系统</h4>
|
||||
<div style="height: 1000px;"><h4>欢迎使用本系统</h4></div>
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<link href="~/Content/css/bootstrap-table.css" rel="stylesheet" />
|
||||
<link href="~/Content/css/sweetalert.css" rel="stylesheet" />
|
||||
<link href="~/Content/css/site.css" rel="stylesheet" />
|
||||
<link href="~/Content/css/site-responsive.css" rel="stylesheet" />
|
||||
@RenderSection("css", false)
|
||||
}
|
||||
@section javascript {
|
||||
|
@ -14,12 +15,14 @@
|
|||
}
|
||||
<section id="container">
|
||||
@RenderSection("header", false)
|
||||
<section class="body-content">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
@RenderBody()
|
||||
<section id="main-content">
|
||||
<section class="wrapper">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
@RenderBody()
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
<!--footer start-->
|
||||
|
|
Loading…
Reference in New Issue