mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 02:59:04 +08:00
add Modal @modal-border-radius less variable (#36527)
* add Modal @modal-border-radius less variable * fix: add less variable
This commit is contained in:
parent
5cd007a2ed
commit
9989a2d751
@ -29,7 +29,7 @@
|
||||
background-color: @modal-content-bg;
|
||||
background-clip: padding-box;
|
||||
border: 0;
|
||||
border-radius: @border-radius-base;
|
||||
border-radius: @modal-border-radius;
|
||||
box-shadow: @shadow-2;
|
||||
pointer-events: auto;
|
||||
}
|
||||
@ -75,7 +75,7 @@
|
||||
background: @modal-header-bg;
|
||||
border-bottom: @modal-header-border-width @modal-header-border-style
|
||||
@modal-header-border-color-split;
|
||||
border-radius: @border-radius-base @border-radius-base 0 0;
|
||||
border-radius: @modal-border-radius @modal-border-radius 0 0;
|
||||
}
|
||||
|
||||
&-body {
|
||||
@ -91,7 +91,7 @@
|
||||
background: @modal-footer-bg;
|
||||
border-top: @modal-footer-border-width @modal-footer-border-style
|
||||
@modal-footer-border-color-split;
|
||||
border-radius: 0 0 @border-radius-base @border-radius-base;
|
||||
border-radius: 0 0 @modal-border-radius @modal-border-radius;
|
||||
|
||||
.@{ant-prefix}-btn + .@{ant-prefix}-btn:not(.@{ant-prefix}-dropdown-trigger) {
|
||||
margin-bottom: 0;
|
||||
|
@ -574,6 +574,7 @@
|
||||
@modal-mask-bg: fade(@black, 45%);
|
||||
@modal-confirm-body-padding: 32px 32px 24px;
|
||||
@modal-confirm-title-font-size: @font-size-lg;
|
||||
@modal-border-radius: @border-radius-base;
|
||||
|
||||
// Progress
|
||||
// --
|
||||
|
@ -629,6 +629,7 @@
|
||||
@modal-mask-bg: fade(@black, 45%);
|
||||
@modal-confirm-body-padding: 32px 32px 24px;
|
||||
@modal-confirm-title-font-size: @font-size-lg;
|
||||
@modal-border-radius: @border-radius-base;
|
||||
|
||||
// Progress
|
||||
// --
|
||||
|
Loading…
Reference in New Issue
Block a user