Remove borders on overlays for Material
parent
99ec7dce3a
commit
d36e9b5e61
|
@ -1,7 +1,7 @@
|
||||||
export default {
|
export default {
|
||||||
root: {
|
root: {
|
||||||
background: '{content.background}',
|
background: '{content.background}',
|
||||||
borderColor: '{content.border.color}',
|
borderColor: 'transparent',
|
||||||
color: '{content.color}',
|
color: '{content.color}',
|
||||||
borderRadius: '{content.border.radius}',
|
borderRadius: '{content.border.radius}',
|
||||||
shadow: '{overlay.navigation.shadow}',
|
shadow: '{overlay.navigation.shadow}',
|
||||||
|
|
|
@ -36,7 +36,7 @@ export default {
|
||||||
overlay: {
|
overlay: {
|
||||||
padding: '0',
|
padding: '0',
|
||||||
background: '{content.background}',
|
background: '{content.background}',
|
||||||
borderColor: '{content.border.color}',
|
borderColor: 'transparent',
|
||||||
borderRadius: '{content.border.radius}',
|
borderRadius: '{content.border.radius}',
|
||||||
color: '{content.color}',
|
color: '{content.color}',
|
||||||
shadow: '{overlay.navigation.shadow}',
|
shadow: '{overlay.navigation.shadow}',
|
||||||
|
|
|
@ -31,5 +31,10 @@ export default {
|
||||||
},
|
},
|
||||||
separator: {
|
separator: {
|
||||||
borderColor: '{content.border.color}'
|
borderColor: '{content.border.color}'
|
||||||
}
|
},
|
||||||
|
css: ({ dt }) => `
|
||||||
|
.p-menu-overlay {
|
||||||
|
border-color: transparent;
|
||||||
|
}
|
||||||
|
`
|
||||||
};
|
};
|
||||||
|
|
|
@ -31,7 +31,7 @@ export default {
|
||||||
padding: '{navigation.list.padding}',
|
padding: '{navigation.list.padding}',
|
||||||
gap: '{navigation.list.gap}',
|
gap: '{navigation.list.gap}',
|
||||||
background: '{content.background}',
|
background: '{content.background}',
|
||||||
borderColor: '{content.border.color}',
|
borderColor: 'transparent',
|
||||||
borderRadius: '{content.border.radius}',
|
borderRadius: '{content.border.radius}',
|
||||||
shadow: '{overlay.navigation.shadow}',
|
shadow: '{overlay.navigation.shadow}',
|
||||||
mobileIndent: '1rem'
|
mobileIndent: '1rem'
|
||||||
|
|
|
@ -43,5 +43,10 @@ export default {
|
||||||
},
|
},
|
||||||
separator: {
|
separator: {
|
||||||
borderColor: '{content.border.color}'
|
borderColor: '{content.border.color}'
|
||||||
}
|
},
|
||||||
|
css: ({ dt }) => `
|
||||||
|
.p-tieredmenu-overlay {
|
||||||
|
border-color: transparent;
|
||||||
|
}
|
||||||
|
`
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue