mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2026-02-04 02:25:30 +00:00
+Create new beitrag
This commit is contained in:
@@ -134,6 +134,10 @@
|
||||
@apply w-full inline-flex justify-center py-2 px-4 border border-transparent rounded-md text-sm font-medium text-gray-800 bg-stone-200 hover:bg-stone-300 cursor-pointer focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-slate-500 no-underline;
|
||||
}
|
||||
|
||||
.content-action-button {
|
||||
@apply inline-flex items-center justify-center gap-2 rounded-xs border border-slate-300 bg-white px-3 py-1.5 text-sm font-medium text-gray-800 shadow-sm transition-all duration-75 hover:bg-stone-50 focus:outline-none focus:ring-2 focus:ring-slate-400/30;
|
||||
}
|
||||
|
||||
.dbform div-menu {
|
||||
@apply relative inline-block;
|
||||
}
|
||||
|
||||
@@ -102,6 +102,14 @@ export class ToolTip extends HTMLElement {
|
||||
|
||||
this.addEventListener("mouseenter", () => this._showTooltip());
|
||||
this.addEventListener("mouseleave", () => this._hideTooltip());
|
||||
this.addEventListener("pointerdown", () => this._forceHide());
|
||||
this.addEventListener("mousedown", () => this._forceHide());
|
||||
this.addEventListener("click", () => this._forceHide());
|
||||
this.addEventListener("keydown", (event) => {
|
||||
if (event.key === "Enter" || event.key === " ") {
|
||||
this._forceHide();
|
||||
}
|
||||
});
|
||||
|
||||
if (this._dataTipElem) {
|
||||
this._observer = new MutationObserver(() => {
|
||||
|
||||
Reference in New Issue
Block a user