fork-reap-design
Version:
A high quality UI components Library with Vue.js
115 lines (104 loc) • 2.66 kB
text/less
.aui-split-layout {
flex: 1;
position: relative;
display: flex;
width: 100%;
// 区域高
min-height: calc(~"100%");
// TODO 不记得之前什么问题了先放着
// height: 100%;
background-color: @white;
box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
border-radius: 4px;
overflow: hidden;
&.hasBreadCrumb {
// 区域高 - 面包屑导航
min-height: calc(~"100% - 30px");
}
.aui-split-right-content {
display: flex;
flex-direction: column;
justify-content: space-between;
position: relative;
min-height: 100%;
.aui-split-right-content-title {
padding: 10px 20px;
border: 1px solid #eee;
color: #000;
}
.aui-split-right-content-center {
flex: 1;
display: flex;
padding: 20px;
.aui-split-content-left {
width: 100%;
}
.aui-split-content-right {
flex: 0 0 30%;
width: 100%;
padding: 0 0 15px 15px;
border-left: 1px solid #eee;
}
}
.aui-split-right-content-footer {
margin-top: 30px;
padding: 20px 100px;
display: flex;
border-top: 1px solid #eee;
justify-content: flex-end;
.ivu-btn {
padding: 0 24px;
}
}
}
.ivu-spin-fix {
background: @white;
}
.section-loading {
animation: ani-laoding-spin 1s linear infinite;
}
@keyframes ani-laoding-spin {
from { transform: rotate(0deg);}
50% { transform: rotate(180deg);}
to { transform: rotate(360deg);}
}
.fs48 {
font-size: 48px;
}
}
// 解决tree overflow 撑开父容器 bug
.aui-split-wrapper .aui-split-left {
overflow-x: hidden;
}
// aui-layout内除了table其他scrollbar样式优化
.ivu-cascader-menu {
&::-webkit-scrollbar {
width: 6px;
height: 10px;
}
&::-webkit-scrollbar-thumb {
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
background-color: #c3c3c3;
}
&::-webkit-scrollbar-track {
background-color: #eee;
}
}
// 页面错误信息
.aui-web-error-page {
flex-direction: column;
.aui-web-error-code {
display: none;
}
}
// 小屏下异常页面兼容
@media (min-width: 1375px) {
.aui-web-error-page {
flex-direction: row;
.aui-web-error-code {
display: block;
}
}
}