mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-11 01:15:22 +08:00
4818d8b27b
* add maximizable button for Modal * fix: patch.less * export MaximizeBtnIcon and RestoreBtnIcon paramter * refactor: fixed footer
53 lines
1.0 KiB
Plaintext
53 lines
1.0 KiB
Plaintext
.ant-modal-max {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
& > .ant-modal-content {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
& > .ant-modal-body {
|
|
flex-grow: 1;
|
|
overflow: auto;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
.ant-modal-max-btn {
|
|
position: absolute;
|
|
top: 0;
|
|
right: @modal-header-close-size;
|
|
z-index: 10;
|
|
padding: 0;
|
|
color: rgba(0,0,0,.45);
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
text-decoration: none;
|
|
background: 0 0;
|
|
border: 0;
|
|
outline: 0;
|
|
cursor: pointer;
|
|
transition: color .3s;
|
|
|
|
&-x {
|
|
display: block;
|
|
width: @modal-header-close-size;
|
|
height: @modal-header-close-size;
|
|
font-size: @font-size-lg;
|
|
font-style: normal;
|
|
line-height: @modal-header-close-size;
|
|
text-align: center;
|
|
text-transform: none;
|
|
text-rendering: auto;
|
|
}
|
|
|
|
&:focus,
|
|
&:hover {
|
|
color: @icon-color-hover;
|
|
text-decoration: none;
|
|
}
|
|
}
|