init
Tests / metadata (push) Canceled after 0s
Tests / nova-credentials (push) Canceled after 0s
Tests / PHP 8.2 (push) Canceled after 0s
Tests / PHP 8.3 (push) Canceled after 0s
Tests / PHP 8.4 (push) Canceled after 0s
Tests / PHP 8.5 (push) Canceled after 0s

This commit is contained in:
MeghdadFadaee committed 2026-09-15 16:36:25 +03:30
commit 2a1fddb65a
19 files changed
+1102

No files matched your search

+179
View File
@@ -0,0 +1,179 @@
[data-nfd-form][data-nfd-active][data-nfd-position="bottom"] {
padding-bottom: calc(
var(--nfd-original-padding-bottom, 0px) +
var(--nfd-actions-height, 0px) + 1.5rem
) !important;
}
[data-nfd-form][data-nfd-active][data-nfd-position="top"] {
padding-top: calc(
var(--nfd-original-padding-top, 0px) +
var(--nfd-actions-height, 0px) + 1.5rem
) !important;
}
[data-nfd-form][data-nfd-active][data-nfd-position="left"] {
padding-left: calc(
var(--nfd-original-padding-left, 0px) +
var(--nfd-actions-width, 0px) + 1.5rem
) !important;
}
[data-nfd-form][data-nfd-active][data-nfd-position="right"] {
padding-right: calc(
var(--nfd-original-padding-right, 0px) +
var(--nfd-actions-width, 0px) + 1.5rem
) !important;
}
[data-nfd-actions] {
position: fixed !important;
z-index: 40;
padding: 0.75rem 1rem !important;
border: 1px solid rgba(var(--colors-gray-200), 0.9);
border-radius: 0.75rem;
background: rgba(var(--colors-gray-50), 0.92);
box-shadow:
0 -2px 8px rgb(0 0 0 / 0.06),
0 8px 24px rgb(0 0 0 / 0.12);
backdrop-filter: blur(12px);
transition:
opacity 120ms ease-out,
transform 120ms ease-out;
animation: nfd-enter 120ms ease-out;
}
[data-nfd-actions][data-nfd-position="top"],
[data-nfd-actions][data-nfd-position="bottom"] {
right: var(--nfd-inline-end, 1rem);
left: var(--nfd-inline-start, 1rem);
}
[data-nfd-actions][data-nfd-position="top"] {
top: var(--nfd-block-start, 1rem);
}
[data-nfd-actions][data-nfd-position="bottom"] {
bottom: calc(
var(--nfd-floating-gap, 12px) + env(safe-area-inset-bottom, 0px)
);
}
[data-nfd-actions][data-nfd-position="left"],
[data-nfd-actions][data-nfd-position="right"] {
display: flex !important;
width: min(14rem, calc(100vw - 2rem));
flex-direction: column !important;
align-items: stretch !important;
gap: 0.5rem !important;
}
[data-nfd-actions][data-nfd-position="left"] {
left: var(--nfd-inline-start, 1rem);
}
[data-nfd-actions][data-nfd-position="right"] {
right: var(--nfd-inline-end, 1rem);
}
[data-nfd-actions][data-nfd-position="left"] > *,
[data-nfd-actions][data-nfd-position="right"] > * {
width: 100%;
margin: 0 !important;
}
[data-nfd-actions][data-nfd-position="left"][data-nfd-alignment="start"],
[data-nfd-actions][data-nfd-position="right"][data-nfd-alignment="start"] {
top: var(--nfd-block-start, 1rem);
}
[data-nfd-actions][data-nfd-position="left"][data-nfd-alignment="center"],
[data-nfd-actions][data-nfd-position="right"][data-nfd-alignment="center"] {
top: 50%;
translate: 0 -50%;
}
[data-nfd-actions][data-nfd-position="left"][data-nfd-alignment="end"],
[data-nfd-actions][data-nfd-position="right"][data-nfd-alignment="end"] {
bottom: calc(
var(--nfd-floating-gap, 12px) + env(safe-area-inset-bottom, 0px)
);
}
[data-nfd-actions][data-nfd-position="top"][data-nfd-alignment="start"],
[data-nfd-actions][data-nfd-position="bottom"][data-nfd-alignment="start"] {
justify-content: flex-start !important;
}
[data-nfd-actions][data-nfd-position="top"][data-nfd-alignment="center"],
[data-nfd-actions][data-nfd-position="bottom"][data-nfd-alignment="center"] {
justify-content: center !important;
}
[data-nfd-actions][data-nfd-position="top"][data-nfd-alignment="end"],
[data-nfd-actions][data-nfd-position="bottom"][data-nfd-alignment="end"] {
justify-content: flex-end !important;
}
@keyframes nfd-enter {
from {
opacity: 0.7;
transform: translateY(4px);
}
}
.dark [data-nfd-actions] {
border-color: rgba(var(--colors-gray-700), 0.9);
background: rgba(var(--colors-gray-900), 0.92);
box-shadow:
0 -2px 8px rgb(0 0 0 / 0.18),
0 8px 24px rgb(0 0 0 / 0.3);
}
@media (max-width: 767px) {
[data-nfd-actions][data-nfd-compact-mobile][data-nfd-position="top"],
[data-nfd-actions][data-nfd-compact-mobile][data-nfd-position="bottom"] {
display: flex !important;
flex-flow: row wrap !important;
align-items: stretch !important;
gap: 0.5rem !important;
}
[data-nfd-actions][data-nfd-compact-mobile][data-nfd-position="top"] > *,
[data-nfd-actions][data-nfd-compact-mobile][data-nfd-position="bottom"] > * {
flex: 1 1 auto;
margin: 0 !important;
}
[data-nfd-actions][data-nfd-type="create"] > [dusk="create-button"],
[data-nfd-actions][data-nfd-type="update"] > [dusk="update-button"] {
order: -1;
flex-basis: 100%;
}
}
@media (prefers-reduced-motion: reduce) {
[data-nfd-actions] {
animation: none;
transition: none;
}
}
@media print {
[data-nfd-form][data-nfd-active] {
padding: var(--nfd-original-padding-top, 0px)
var(--nfd-original-padding-right, 0px)
var(--nfd-original-padding-bottom, 0px)
var(--nfd-original-padding-left, 0px) !important;
}
[data-nfd-actions] {
position: static !important;
width: auto;
padding: 0 !important;
border: 0;
box-shadow: none;
translate: none;
backdrop-filter: none;
}
}