|
|
@ -3,7 +3,11 @@ |
|
|
|
@drawer-prefix-cls: ~'@{ant-prefix}-drawer'; |
|
|
|
@picker-prefix-cls: ~'@{ant-prefix}-picker'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.@{drawer-prefix-cls} { |
|
|
|
@drawer-header-close-padding: ceil((@drawer-header-close-size - @font-size-lg) / 2); |
|
|
|
|
|
|
|
position: fixed; |
|
|
|
z-index: @zindex-modal; |
|
|
|
width: 0%; |
|
|
@ -157,14 +161,12 @@ |
|
|
|
right: 0; |
|
|
|
z-index: @zindex-popup-close; |
|
|
|
display: block; |
|
|
|
width: @drawer-header-close-size; |
|
|
|
height: @drawer-header-close-size; |
|
|
|
padding: 0; |
|
|
|
padding: @drawer-header-close-padding; |
|
|
|
color: @text-color-secondary; |
|
|
|
font-weight: 700; |
|
|
|
font-size: @font-size-lg; |
|
|
|
font-style: normal; |
|
|
|
line-height: @drawer-header-close-size; |
|
|
|
line-height: 1; |
|
|
|
text-align: center; |
|
|
|
text-transform: none; |
|
|
|
text-decoration: none; |
|
|
@ -180,6 +182,11 @@ |
|
|
|
color: @icon-color-hover; |
|
|
|
text-decoration: none; |
|
|
|
} |
|
|
|
|
|
|
|
.@{drawer-prefix-cls}-header-no-title & { |
|
|
|
margin-right: var(--scroll-bar); |
|
|
|
padding-right: calc(@drawer-header-close-padding - var(--scroll-bar)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
&-header { |
|
|
|