mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-04 04:08:34 +08:00
parent
594eb5b33f
commit
e5536eb933
@ -809,6 +809,16 @@ $--dropdown: map.merge(
|
||||
$--dropdown
|
||||
);
|
||||
|
||||
// drawer
|
||||
$--drawer: () !default;
|
||||
$--drawer: map.merge(
|
||||
(
|
||||
'background-color': var(--el-dialog-background-color, var(--el-color-white)),
|
||||
'padding-primary': var(--el-dialog-padding-primary, 20px),
|
||||
),
|
||||
$--drawer
|
||||
);
|
||||
|
||||
/* Badge
|
||||
-------------------------- */
|
||||
// css3 var in packages/theme-chalk/src/badge.scss
|
||||
|
@ -1,4 +1,5 @@
|
||||
@import 'mixins/mixins';
|
||||
@import 'mixins/var';
|
||||
@import 'common/var';
|
||||
@import './overlay.scss';
|
||||
|
||||
@ -71,12 +72,8 @@
|
||||
|
||||
$directions: rtl, ltr, ttb, btt;
|
||||
|
||||
:root {
|
||||
--el-drawer-background-color: var(
|
||||
--el-dialog-background-color,
|
||||
var(--el-color-white)
|
||||
);
|
||||
--el-drawer-padding-primary: var(--el-dialog-padding-primary, 20px);
|
||||
@include b(drawer) {
|
||||
@include set-component-css-var('drawer', $--drawer);
|
||||
}
|
||||
|
||||
@include b(drawer) {
|
||||
@ -104,7 +101,7 @@ $directions: rtl, ltr, ttb, btt;
|
||||
color: rgb(114, 118, 123);
|
||||
display: flex;
|
||||
margin-bottom: 32px;
|
||||
padding: var(--el-dialog-padding-primary);
|
||||
padding: var(--el-drawer-padding-primary);
|
||||
padding-bottom: 0;
|
||||
& > :first-child {
|
||||
flex: 1;
|
||||
|
Loading…
Reference in New Issue
Block a user