sync efactura-generator -> 0.9-beta-15
- Header reorganizat cu meniu Acțiuni (overflow dropdown) - Buton nou PDF ANAF (transformare oficială XML->PDF prin API ANAF) - Fix endpoint ANAF: validează default + ruta publică fără auth
This commit is contained in:
@@ -152,6 +152,114 @@ input.date-input {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------------
|
||||
Actions overflow menu (header dropdown)
|
||||
---------------------------------------------------------------------------- */
|
||||
.actions-menu-wrapper {
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
}
|
||||
|
||||
.actions-menu-chevron {
|
||||
margin-left: 4px;
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
transition: transform 120ms ease;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#btnActionsMenu[aria-expanded="true"] .actions-menu-chevron {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.actions-menu {
|
||||
position: absolute;
|
||||
top: calc(100% + 6px);
|
||||
right: 0;
|
||||
min-width: 220px;
|
||||
background-color: #1e293b; /* slate-800 — slightly lighter than header-bg slate-900 */
|
||||
border: 1px solid rgba(255, 255, 255, 0.12);
|
||||
border-radius: var(--radius-sm);
|
||||
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
|
||||
padding: 4px 0;
|
||||
z-index: 950;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0;
|
||||
animation: actions-menu-in 120ms ease-out;
|
||||
}
|
||||
|
||||
.actions-menu[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@keyframes actions-menu-in {
|
||||
from { opacity: 0; transform: translateY(-4px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
|
||||
.actions-menu-item {
|
||||
appearance: none;
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: #f1f5f9;
|
||||
text-align: left;
|
||||
padding: 8px 14px;
|
||||
font-family: inherit;
|
||||
font-size: 13px;
|
||||
line-height: 1.3;
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
transition: background-color 80ms ease, color 80ms ease;
|
||||
}
|
||||
|
||||
.actions-menu-item:hover,
|
||||
.actions-menu-item:focus-visible {
|
||||
background-color: rgba(255, 255, 255, 0.06);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.actions-menu-item:disabled {
|
||||
opacity: 0.5;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.actions-menu-item.is-success {
|
||||
color: #86efac; /* green ghost — ANAF actions */
|
||||
}
|
||||
|
||||
.actions-menu-item.is-success:hover,
|
||||
.actions-menu-item.is-success:focus-visible {
|
||||
background-color: rgba(134, 239, 172, 0.10);
|
||||
}
|
||||
|
||||
.actions-menu-divider {
|
||||
height: 1px;
|
||||
background-color: rgba(255, 255, 255, 0.10);
|
||||
margin: 4px 0;
|
||||
}
|
||||
|
||||
.actions-menu-anaf {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.actions-menu-anaf[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.actions-menu-wrapper {
|
||||
position: static;
|
||||
}
|
||||
.actions-menu {
|
||||
left: var(--space-3);
|
||||
right: var(--space-3);
|
||||
top: auto;
|
||||
margin-top: 6px;
|
||||
}
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------------
|
||||
Cards / form sections
|
||||
---------------------------------------------------------------------------- */
|
||||
|
||||
Reference in New Issue
Block a user