forked from opentiny/tiny-vue
fix(drawer): [drawer] modify smb theme (#1961)
This commit is contained in:
parent
ebad2ff586
commit
b5569d4f3c
|
@ -136,12 +136,8 @@
|
|||
padding: 0;
|
||||
line-height: 1;
|
||||
position: absolute;
|
||||
top: calc(
|
||||
var(--ti-drawer-btn-position-top) - (var(--ti-drawer-btn-height) - var(--ti-drawer-close-icon-size)) / 2
|
||||
);
|
||||
right: calc(
|
||||
var(--ti-drawer-btn-position-right) - (var(--ti-drawer-btn-width) - var(--ti-drawer-close-icon-size)) / 2
|
||||
);
|
||||
top: var(--ti-drawer-btn-position-top);
|
||||
right: var(--ti-drawer-btn-position-right);
|
||||
cursor: pointer;
|
||||
height: var(--ti-drawer-btn-height);
|
||||
width: var(--ti-drawer-btn-width);
|
||||
|
|
|
@ -10,5 +10,12 @@ export const tinyDrawerSmbTheme = {
|
|||
'ti-drawer-close-icon-size': 'var(--ti-common-font-size-5)',
|
||||
'ti-drawer-help-icon-color': 'var(--ti-common-color-icon)',
|
||||
'ti-drawer-close-icon-color': 'var(--ti-common-color-icon-normal)',
|
||||
'ti-drawer-head-title-text-color': 'var(--ti-common-color-text-gray)'
|
||||
'ti-drawer-head-title-text-color': 'var(--ti-common-color-text-gray)',
|
||||
'ti-drawer-header-padding-bottom': 'var(--ti-common-space-6x)',
|
||||
'ti-drawer-padding-top': '0px',
|
||||
'ti-drawer-padding-bottom': '0px',
|
||||
'ti-drawer-btn-position-top': 'var(--ti-common-space-5x)',
|
||||
'ti-drawer-btn-position-right': 'var(--ti-common-space-5x)',
|
||||
'ti-drawer-btn-width': 'var(--ti-common-size-width-mini)',
|
||||
'ti-drawer-btn-height': 'var(--ti-common-size-width-mini)'
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue