zarm-web
Version:
基于 React 的桌面端UI库
58 lines • 1.02 kB
CSS
.ui-layout {
display: flex;
flex-direction: column;
flex: auto;
background: #f0f2f5;
}
.ui-layout,
.ui-layout * {
box-sizing: border-box;
}
.ui-layout-header, .ui-layout-footer {
flex: 0 0 auto;
}
.ui-layout.ui-layout-has-sider {
flex-direction: row;
}
> .ui-layout.ui-layout-has-sider, > .ui-layout.ui-layout-has-sider-content {
overflow-x: hidden;
}
.ui-layout-header {
background: #001529;
padding: 0 50px;
height: 64px;
line-height: 64px;
}
.ui-layout-footer {
background: #f0f2f5;
padding: 24px 50px;
}
.ui-layout-content {
flex: auto;
}
.ui-layout-sider {
transition: all 0.2s;
position: relative;
background: #001529;
min-width: 0;
}
.ui-layout-sider-children {
height: 100%;
padding-top: 0.1px;
margin-top: -0.1px;
}
.ui-layout-sider-right {
order: 1;
}
.ui-layout-sider-trigger {
position: absolute;
text-align: center;
bottom: 0;
cursor: pointer;
height: 48px;
line-height: 48px;
color: #fff;
background: #002140;
z-index: 1;
transition: all 0.2s;
}