mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-11 13:59:11 +08:00
66 lines
1.2 KiB
Plaintext
66 lines
1.2 KiB
Plaintext
|
@import "../../style/themes/default";
|
||
|
@import "../../style/mixins/index";
|
||
|
|
||
|
@layout-prefix-cls: ~"@{ant-prefix}-layout";
|
||
|
|
||
|
.@{layout-prefix-cls} {
|
||
|
display: flex;
|
||
|
flex-wrap: wrap;
|
||
|
flex: auto;
|
||
|
overflow: auto;
|
||
|
background: @layout-body-background;
|
||
|
|
||
|
&-header,
|
||
|
&-footer {
|
||
|
flex: 1 0 100%;
|
||
|
}
|
||
|
|
||
|
&-header {
|
||
|
background: @layout-header-background;
|
||
|
padding: @layout-header-padding;
|
||
|
height: @layout-header-height;
|
||
|
line-height: @layout-header-height;
|
||
|
}
|
||
|
|
||
|
&-footer {
|
||
|
padding: @layout-footer-padding;
|
||
|
color: @text-color;
|
||
|
font-size: @font-size-base;
|
||
|
}
|
||
|
|
||
|
&-content {
|
||
|
flex: auto;
|
||
|
}
|
||
|
|
||
|
&-sider {
|
||
|
flex: 0 0 200px;
|
||
|
transition: all .3s ease;
|
||
|
position: relative;
|
||
|
background: @layout-sider-background;
|
||
|
|
||
|
&-has-trigger {
|
||
|
padding-bottom: @layout-trigger-height;
|
||
|
}
|
||
|
|
||
|
&-right {
|
||
|
order: 1;
|
||
|
}
|
||
|
|
||
|
&-collapsed {
|
||
|
flex: 0 0 64px;
|
||
|
}
|
||
|
|
||
|
&-trigger {
|
||
|
position: absolute;
|
||
|
text-align: center;
|
||
|
width: 100%;
|
||
|
bottom: 0;
|
||
|
cursor: pointer;
|
||
|
height: @layout-trigger-height;
|
||
|
line-height: @layout-trigger-height;
|
||
|
background: tint(@heading-color, 20%);
|
||
|
color: #fff;
|
||
|
}
|
||
|
}
|
||
|
}
|