公共部分样式修改及table表头固定

This commit is contained in:
zhouyuejun
2018-11-15 18:29:19 +08:00
parent f30867e92b
commit 11cb7c366a
8 changed files with 97 additions and 63 deletions
+39 -32
View File
@@ -3,37 +3,8 @@
.wrapper {
width: 100%;
height: 100%;
.left-wrapper {
height: 100%;
width: 235px;
position: fixed;
top: 0;
left: 0;
background-color: rgb(46, 59, 76);
float: left;
.left-header {
height: 66px;
border-bottom: 1px solid $gray-900;
text-align: center;
line-height: 66px;
img {
width: 32px;
height: 32px;
vertical-align: middle;
margin-right: 12px;
}
h3 {
display: inline-block;
color: $white;
vertical-align: middle;
margin: 0;
}
}
}
.right-wrapper {
// width: 100%;
height: 100%;
margin-left: 235px;
overflow: hidden;
.header-wrapper {
.navbar {
height: 66px;
background-color: rgb(46, 59, 76) !important;
@@ -45,7 +16,7 @@
cursor: pointer;
}
// .bg-dark{
// }
.nav-icon {
padding: 0.1rem 0.75rem;
@@ -95,4 +66,40 @@
}
}
}
.content-wrapper {
height: 100%;
.left-wrapper {
height: calc(100% - 66px);
width: 235px;
position: fixed;
top: 66px;
left: 0;
background-color: rgb(46, 59, 76);
padding-bottom: 30px;
overflow-y: scroll;
.left-header {
height: 66px;
border-bottom: 1px solid $gray-900;
text-align: center;
line-height: 66px;
img {
width: 32px;
height: 32px;
vertical-align: middle;
margin-right: 12px;
}
h3 {
display: inline-block;
color: $white;
vertical-align: middle;
margin: 0;
}
}
}
.right-wrapper {
height: calc(100% - 66px);
margin-left: 235px;
}
}
}