60 lines
1.1 KiB
CSS
60 lines
1.1 KiB
CSS
.settingsButton {
|
|
position: absolute;
|
|
top: -34px;
|
|
right: 14px;
|
|
z-index: 201;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transition: opacity 120ms ease;
|
|
}
|
|
|
|
:global([data-type="item"]:hover) .settingsButton,
|
|
:global([data-type="item"]:focus-within) .settingsButton,
|
|
.settingsButton[data-menu-open="true"] {
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.editModeInertContent {
|
|
display: contents;
|
|
}
|
|
|
|
.editModeInertContent[data-board-grid-inert-content="true"] {
|
|
pointer-events: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.editModeInertContent[data-board-grid-inert-content="true"] * {
|
|
pointer-events: none !important;
|
|
user-select: none !important;
|
|
}
|
|
|
|
.advancedFocusTrigger {
|
|
position: absolute;
|
|
top: var(--mantine-spacing-xs);
|
|
left: 50%;
|
|
z-index: 2;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.advancedFocusTrigger:focus-visible {
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.settingsButton {
|
|
transition: none;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.settingsButton {
|
|
right: 4px;
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
}
|
|
}
|