MOBILE-4362 styles: Transparent backdrop on popovers
parent
0660fb56c0
commit
ebd4eec500
|
@ -203,7 +203,6 @@ export class AddonModDataActionComponent implements OnInit {
|
||||||
await CoreDomUtils.openPopover({
|
await CoreDomUtils.openPopover({
|
||||||
component: AddonModDataActionsMenuComponent,
|
component: AddonModDataActionsMenuComponent,
|
||||||
componentProps: { items },
|
componentProps: { items },
|
||||||
showBackdrop: true,
|
|
||||||
id: 'actionsmenu-popover',
|
id: 'actionsmenu-popover',
|
||||||
event,
|
event,
|
||||||
});
|
});
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
--border-color: var(--core-combobox-border-color);
|
--border-color: var(--core-combobox-border-color);
|
||||||
--border-style: solid;
|
--border-style: solid;
|
||||||
--border-width: var(--core-combobox-border-width);
|
--border-width: var(--core-combobox-border-width);
|
||||||
|
--border-radius: var(--radius-xs);
|
||||||
|
|
||||||
--box-shadow: var(--core-combobox-box-shadow);
|
--box-shadow: var(--core-combobox-box-shadow);
|
||||||
|
|
||||||
|
|
|
@ -185,7 +185,6 @@ export class CoreContextMenuComponent implements OnInit, OnDestroy {
|
||||||
title: this.title,
|
title: this.title,
|
||||||
items: this.items,
|
items: this.items,
|
||||||
},
|
},
|
||||||
showBackdrop: true,
|
|
||||||
id: this.uniqueId,
|
id: this.uniqueId,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -139,7 +139,6 @@ export class CoreCourseModuleCompletionComponent
|
||||||
componentProps: {
|
componentProps: {
|
||||||
completion: this.completion,
|
completion: this.completion,
|
||||||
},
|
},
|
||||||
showBackdrop: true,
|
|
||||||
event: { target } as Event,
|
event: { target } as Event,
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -2191,7 +2191,7 @@ export const CoreDomUtils = makeSingleton(CoreDomUtilsProvider);
|
||||||
/**
|
/**
|
||||||
* Options for the openPopover function.
|
* Options for the openPopover function.
|
||||||
*/
|
*/
|
||||||
export type OpenPopoverOptions = PopoverOptions & {
|
export type OpenPopoverOptions = Omit<PopoverOptions, 'showBackdrop'> & {
|
||||||
waitForDismissCompleted?: boolean;
|
waitForDismissCompleted?: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1899,6 +1899,10 @@ ion-popover {
|
||||||
margin-top: 2px;
|
margin-top: 2px;
|
||||||
margin-bottom: 2px;
|
margin-bottom: 2px;
|
||||||
}
|
}
|
||||||
|
// Never show backdrop on popovers
|
||||||
|
ion-backdrop {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue