mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
Merge pull request #17031 from alxkosov/collapse_panel_customize_border-radius
feat: Border-radius customization for Collapse Panel
This commit is contained in:
commit
ef7f1a92f3
@ -9,7 +9,7 @@
|
||||
background-color: @collapse-header-bg;
|
||||
border: @border-width-base @border-style-base @border-color-base;
|
||||
border-bottom: 0;
|
||||
border-radius: @border-radius-base;
|
||||
border-radius: @collapse-panel-border-radius;
|
||||
|
||||
& > &-item {
|
||||
border-bottom: @border-width-base @border-style-base @border-color-base;
|
||||
@ -17,7 +17,7 @@
|
||||
&:last-child {
|
||||
&,
|
||||
& > .@{collapse-prefix-cls}-header {
|
||||
border-radius: 0 0 @border-radius-base @border-radius-base;
|
||||
border-radius: 0 0 @collapse-panel-border-radius @collapse-panel-border-radius;
|
||||
}
|
||||
}
|
||||
|
||||
@ -99,7 +99,7 @@
|
||||
|
||||
&-item:last-child {
|
||||
> .@{collapse-prefix-cls}-content {
|
||||
border-radius: 0 0 @border-radius-base @border-radius-base;
|
||||
border-radius: 0 0 @collapse-panel-border-radius @collapse-panel-border-radius;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -277,6 +277,9 @@
|
||||
@animation-duration-base: 0.2s;
|
||||
@animation-duration-fast: 0.1s; // Tooltip
|
||||
|
||||
//CollapsePanel
|
||||
@collapse-panel-border-radius: @border-radius-base;
|
||||
|
||||
//Dropdown
|
||||
@dropdown-vertical-padding: 5px;
|
||||
@dropdown-font-size: @font-size-base;
|
||||
|
Loading…
Reference in New Issue
Block a user