- aggiornato Card service, e CGridTableRec.

This commit is contained in:
Surya Paolo
2025-11-28 21:28:31 +01:00
parent 3018542868
commit 2abdda3b44
17 changed files with 1753 additions and 421 deletions

View File

@@ -231,6 +231,87 @@ $heightBtn: 100%;
text-align: center;
}
.update-banner {
background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%) !important;
color: white !important;
border-radius: 12px !important;
padding: 12px 16px !important;
box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
animation: slideDown 0.4s ease;
.q-banner__avatar {
align-self: center;
}
.q-banner__content {
padding: 0;
}
}
.update-icon {
font-size: 1.8rem;
color: #fff;
animation: rotate 2s linear infinite;
}
.update-content {
text-align: center;
}
.update-title {
font-size: 1.2rem;
font-weight: 700;
margin-bottom: 4px;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.update-message {
font-size: 0.95rem;
font-weight: 500;
opacity: 0.95;
line-height: 1.4;
}
@keyframes slideDown {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes rotate {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@media screen and (max-width: 600px) {
.update-banner {
padding: 10px 12px !important;
}
.update-title {
font-size: 1.1rem;
}
.update-message {
font-size: 0.9rem;
}
.update-icon {
font-size: 1.5rem;
}
}
.mybanner-small {
font-weight: bold;
font-size: 0.85rem;
@@ -3304,4 +3385,403 @@ body.body--dark {
font-size: 1rem;
border-radius: 16px;
}
}
// ==========================================
// AGGIUNTE STILE RISO - Da inserire in fondo a app.scss
// ==========================================
// ==========================================
// MIGLIORAMENTI GLOBALI BOTTONI QUASAR
// ==========================================
.q-btn {
&:not(.q-btn--flat):not(.q-btn--outline) {
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
&:hover:not(.q-btn--disable) {
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
transform: translateY(-2px);
}
&:active:not(.q-btn--disable) {
transform: translateY(0);
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}
}
}
// ==========================================
// CARD MODERNE CON HOVER
// ==========================================
.q-card {
border-radius: 16px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
&:hover {
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
}
}
// ==========================================
// INPUT E FORM MODERNI
// ==========================================
.q-field {
&__control {
border-radius: 10px;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
&:hover {
background: rgba(0, 0, 0, 0.02);
}
}
&--focused {
.q-field__control {
box-shadow: 0 0 0 2px rgba(var(--q-primary-rgb), 0.2);
}
}
}
// ==========================================
// DIALOG CON BACKDROP BLUR
// ==========================================
.q-dialog__backdrop {
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
background: rgba(0, 0, 0, 0.4);
}
.q-dialog .q-card {
border-radius: 0px;
}
// ==========================================
// LISTE CON HOVER MODERNO
// ==========================================
.q-list {
.q-item {
border-radius: 10px;
margin-bottom: 2px;
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
&:hover {
background: rgba(0, 0, 0, 0.04);
}
&--active {
background: rgba(var(--q-primary-rgb), 0.1);
color: var(--q-primary);
font-weight: 600;
}
}
}
// ==========================================
// TABS MODERNE
// ==========================================
.q-tabs {
.q-tab {
border-radius: 10px;
font-weight: 600;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
&:hover {
background: rgba(0, 0, 0, 0.04);
}
&--active {
background: rgba(var(--q-primary-rgb), 0.1);
}
}
}
// ==========================================
// BADGE E CHIP MIGLIORATI
// ==========================================
.q-badge {
border-radius: 12px;
font-weight: 700;
letter-spacing: 0.02em;
padding: 4px 8px;
font-size: 0.75rem;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
.q-chip {
border-radius: 16px;
font-weight: 600;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
transition: all 0.3s ease;
&:hover {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
transform: translateY(-1px);
}
}
// ==========================================
// TOOLTIP MIGLIORATI
// ==========================================
.q-tooltip {
border-radius: 8px;
padding: 6px 12px;
font-size: 0.85rem;
font-weight: 500;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
// ==========================================
// NOTIFICHE CON SHADOW
// ==========================================
.q-notification {
border-radius: 12px;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
&__message {
font-weight: 500;
}
}
// ==========================================
// AVATAR CON HOVER
// ==========================================
.q-avatar {
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
img {
object-fit: cover;
}
&:hover {
transform: scale(1.05);
}
}
// ==========================================
// SEPARATOR PIÙ SOTTILE
// ==========================================
.q-separator {
background: rgba(0, 0, 0, 0.06);
}
// ==========================================
// SCROLLBAR PERSONALIZZATA MODERNA
// ==========================================
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: rgba(0, 0, 0, 0.15);
border-radius: 4px;
transition: background 0.3s ease;
&:hover {
background: rgba(0, 0, 0, 0.25);
}
}
// Firefox
* {
scrollbar-width: thin;
scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
}
// ==========================================
// DRAWER CON SCROLLBAR PERSONALIZZATA
// ==========================================
.q-drawer {
.q-drawer__content {
overflow-y: auto;
scrollbar-width: thin;
scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
&::-webkit-scrollbar {
width: 6px;
}
&::-webkit-scrollbar-track {
background: transparent;
}
&::-webkit-scrollbar-thumb {
background: rgba(0, 0, 0, 0.2);
border-radius: 3px;
&:hover {
background: rgba(0, 0, 0, 0.3);
}
}
}
}
// ==========================================
// ANIMAZIONI AGGIUNTIVE
// ==========================================
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes slideInFromLeft {
from {
opacity: 0;
transform: translateX(-30px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes slideInFromRight {
from {
opacity: 0;
transform: translateX(30px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes scaleIn {
from {
opacity: 0;
transform: scale(0.9);
}
to {
opacity: 1;
transform: scale(1);
}
}
// Classi utility per animazioni
.fade-in-up {
animation: fadeInUp 0.4s ease;
}
.slide-in-from-left {
animation: slideInFromLeft 0.4s ease;
}
.slide-in-from-right {
animation: slideInFromRight 0.4s ease;
}
.scale-in {
animation: scaleIn 0.3s ease;
}
// ==========================================
// UTILITY CLASSES AGGIUNTIVE
// ==========================================
.cursor-pointer {
cursor: pointer;
}
.smooth-transition {
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.text-ellipsis {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.no-select {
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
}
// ==========================================
// FOCUS ACCESSIBILE
// ==========================================
*:focus-visible {
outline: 2px solid var(--q-primary);
outline-offset: 2px;
border-radius: 4px;
}
// ==========================================
// DARK MODE MIGLIORATO
// ==========================================
.body--dark {
.q-card {
background: #2a2a2a;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.q-item:hover {
background: rgba(255, 255, 255, 0.08);
}
.q-field__control {
&:hover {
background: rgba(255, 255, 255, 0.05);
}
}
::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.2);
&:hover {
background: rgba(255, 255, 255, 0.3);
}
}
}
// ==========================================
// RESPONSIVE - Riduzione spazi mobile
// ==========================================
@media (max-width: 600px) {
.q-card {
border-radius: 12px;
}
.q-card__section {
padding: 12px;
}
.q-dialog .q-card {
border-radius: 0px;
}
}
// ==========================================
// PRINT STYLES
// ==========================================
@media print {
.q-header,
.q-footer,
.q-drawer,
.q-fab,
.no-print {
display: none !important;
}
.q-page {
padding: 0;
margin: 0;
}
}