2025-11-28 21:28:31 +01:00
|
|
|
// ==========================================
|
|
|
|
|
// CMENUITEM.SCSS - ORIGINALE + MIGLIORAMENTI RISO
|
|
|
|
|
// Mantiene tutto il codice originale + stile moderno
|
|
|
|
|
// ==========================================
|
|
|
|
|
|
2024-09-26 02:14:50 +02:00
|
|
|
.prova {
|
2025-11-28 21:28:31 +01:00
|
|
|
color: red;
|
2024-09-26 02:14:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.q-list-header {
|
2025-11-28 21:28:31 +01:00
|
|
|
min-height: 12px;
|
|
|
|
|
padding: 5px 8px;
|
2024-09-26 02:14:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.menu-hr {
|
2025-11-28 21:28:31 +01:00
|
|
|
border-color: #dedede;
|
|
|
|
|
height: 0.5px;
|
2024-09-26 02:14:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.list-label:first-child {
|
2025-11-28 21:28:31 +01:00
|
|
|
line-height: 20px;
|
|
|
|
|
padding: 5px;
|
|
|
|
|
margin: 1px;
|
2024-09-26 02:14:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.router-link-active {
|
2025-11-28 21:28:31 +01:00
|
|
|
color: #027be3;
|
|
|
|
|
background-color: #dadada !important;
|
|
|
|
|
border-right: 2px solid #027be3;
|
2024-09-26 02:14:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.router-link-active .item-primary {
|
2025-11-28 21:28:31 +01:00
|
|
|
color: #027be3;
|
2024-09-26 02:14:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.menu_freccina {
|
2025-11-28 21:28:31 +01:00
|
|
|
position: absolute;
|
|
|
|
|
right: 10px;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
padding: 0 0 0 0;
|
|
|
|
|
-webkit-transform: rotate(-180deg);
|
|
|
|
|
transform: rotate(-180deg);
|
2024-09-26 02:14:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.my-menu,
|
|
|
|
|
.my-menu>i {
|
2025-11-28 21:28:31 +01:00
|
|
|
min-height: 40px;
|
|
|
|
|
min-width: 26px;
|
|
|
|
|
font-size: 1rem;
|
2024-09-26 02:14:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.my-menu-small,
|
|
|
|
|
.my-menu-small>i {
|
2025-11-28 21:28:31 +01:00
|
|
|
min-height: 40px;
|
|
|
|
|
min-width: 26px;
|
|
|
|
|
font-size: 0.75rem;
|
2024-09-26 02:14:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.isAdmin {
|
2025-11-28 21:28:31 +01:00
|
|
|
color: red !important;
|
2024-09-26 02:14:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.isSocioResidente {
|
2025-11-28 21:28:31 +01:00
|
|
|
color: darkgreen;
|
2024-09-26 02:14:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.isCalendar {}
|
|
|
|
|
|
|
|
|
|
.isManager {
|
2025-11-28 21:28:31 +01:00
|
|
|
color: green !important;
|
2024-09-26 02:14:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.isFacilitatore {
|
2025-11-28 21:28:31 +01:00
|
|
|
color: #201a80;
|
2024-09-26 02:14:50 +02:00
|
|
|
}
|
2025-11-28 21:28:31 +01:00
|
|
|
|
2025-07-07 09:37:48 +02:00
|
|
|
.onlyCollaboratore {
|
2025-11-28 21:28:31 +01:00
|
|
|
color: #bd7b10;
|
2025-07-07 09:37:48 +02:00
|
|
|
}
|
2024-09-26 02:14:50 +02:00
|
|
|
|
|
|
|
|
.my-menu-icon {
|
2025-11-28 21:28:31 +01:00
|
|
|
min-width: 2px;
|
|
|
|
|
font-size: 1rem;
|
2024-09-26 02:14:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.my-menu-icon>i {
|
2025-11-28 21:28:31 +01:00
|
|
|
min-width: 26px;
|
|
|
|
|
font-size: 1.25rem;
|
2024-09-26 02:14:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.clexpansion {
|
2025-11-28 21:28:31 +01:00
|
|
|
min-width: 0 !important;
|
2024-09-26 02:14:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.my-menu-active {
|
2025-11-28 21:28:31 +01:00
|
|
|
background-color: rgba(174, 189, 241, 0.71);
|
2024-09-26 02:14:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.my-menu-separat>i {
|
2025-11-28 21:28:31 +01:00
|
|
|
min-width: 26px;
|
|
|
|
|
font-size: 1rem;
|
2024-09-26 02:14:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.my-menu-icon-none>i {
|
2025-11-28 21:28:31 +01:00
|
|
|
display: none;
|
2024-09-26 02:14:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.clicon img,
|
|
|
|
|
.clicon {
|
2025-11-28 21:28:31 +01:00
|
|
|
font-size: 16px;
|
2024-09-26 02:14:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.q-item__section--avatar {
|
2025-11-28 21:28:31 +01:00
|
|
|
min-width: 30px;
|
2024-09-26 02:14:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.OLD_q-item__section--side {
|
2025-11-28 21:28:31 +01:00
|
|
|
padding-right: 8px;
|
2024-09-26 02:14:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.imgicon img {
|
2025-11-28 21:28:31 +01:00
|
|
|
font-size: 2.5rem !important;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
.menu-enter-active, .scale-enter {
|
|
|
|
|
-webkit-animation: moveFromTopFade .5s ease both;
|
|
|
|
|
animation: moveFromTopFade .5s ease both;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.menu-leave-to, .scale-leave-active {
|
|
|
|
|
-webkit-animation: moveToBottom .5s ease both;
|
|
|
|
|
animation: moveToBottom .5s ease both;
|
|
|
|
|
}
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
.bigmenu {
|
|
|
|
|
font-size: 1.25rem;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
text-shadow: 0.0512rem 0.052rem .01rem #555;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.subtitle {
|
|
|
|
|
font-size: 0.85em;
|
|
|
|
|
color: #666;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// ==========================================
|
|
|
|
|
// MIGLIORAMENTI STILE RISO - AGGIUNTI
|
|
|
|
|
// ==========================================
|
|
|
|
|
|
|
|
|
|
// ==========================================
|
|
|
|
|
// INDENTAZIONE LIVELLI - Più compatta
|
|
|
|
|
// ==========================================
|
|
|
|
|
[style*="paddingLeft"] {
|
|
|
|
|
transition: all 0.3s ease;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// ==========================================
|
|
|
|
|
// Q-SEPARATOR - Divisore migliorato
|
|
|
|
|
// ==========================================
|
|
|
|
|
.q-separator {
|
|
|
|
|
background: linear-gradient(90deg,
|
|
|
|
|
transparent 0%,
|
|
|
|
|
rgba(0, 0, 0, 0.1) 50%,
|
|
|
|
|
transparent 100%);
|
|
|
|
|
margin: 6px 0;
|
|
|
|
|
height: 1px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// ==========================================
|
|
|
|
|
// Q-EXPANSION-ITEM - Espandibile migliorato
|
|
|
|
|
// ==========================================
|
|
|
|
|
.q-expansion-item {
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
margin-bottom: 2px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
|
|
// Header dell'expansion
|
|
|
|
|
> .q-item {
|
2024-09-26 02:14:50 +02:00
|
|
|
border-radius: 8px;
|
2025-11-28 21:28:31 +01:00
|
|
|
padding: 6px 10px;
|
|
|
|
|
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
background: rgba(0, 0, 0, 0.04);
|
|
|
|
|
transform: translateX(2px);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Label header
|
|
|
|
|
.q-item__label {
|
|
|
|
|
font-size: 0.95rem;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Icona expand/collapse
|
|
|
|
|
.q-icon {
|
|
|
|
|
transition: all 0.3s ease;
|
|
|
|
|
font-size: 0.9rem;
|
|
|
|
|
color: rgba(0, 0, 0, 0.5);
|
|
|
|
|
}
|
2024-09-26 02:14:50 +02:00
|
|
|
}
|
|
|
|
|
|
2025-11-28 21:28:31 +01:00
|
|
|
// Quando espanso
|
|
|
|
|
.q-expansion-item--expanded {
|
|
|
|
|
> .q-item {
|
|
|
|
|
background: rgba(0, 0, 0, 0.02);
|
|
|
|
|
|
|
|
|
|
.q-icon {
|
|
|
|
|
color: var(--q-primary);
|
|
|
|
|
transform: rotate(0deg);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-09-26 02:14:50 +02:00
|
|
|
|
2025-11-28 21:28:31 +01:00
|
|
|
// ==========================================
|
|
|
|
|
// Q-ITEM FOGLIA - Voce menu semplice
|
|
|
|
|
// ==========================================
|
|
|
|
|
.q-item {
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
padding: 6px 10px;
|
|
|
|
|
margin-bottom: 2px;
|
|
|
|
|
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
|
|
min-height: 42px;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
background: rgba(0, 0, 0, 0.05);
|
|
|
|
|
transform: translateX(3px);
|
|
|
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
|
transform: translateX(1px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Sezione thumbnail con avatar
|
|
|
|
|
.q-item__section--thumbnail {
|
|
|
|
|
min-width: 36px;
|
|
|
|
|
padding-right: 10px;
|
2024-09-26 02:14:50 +02:00
|
|
|
}
|
|
|
|
|
|
2025-11-28 21:28:31 +01:00
|
|
|
// Label principale
|
|
|
|
|
> .q-item__section > span:not(.subtitle) {
|
|
|
|
|
font-size: 0.95rem;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: rgba(0, 0, 0, 0.87);
|
2024-09-26 02:14:50 +02:00
|
|
|
}
|
2025-11-28 21:28:31 +01:00
|
|
|
}
|
2024-09-26 02:14:50 +02:00
|
|
|
|
2025-11-28 21:28:31 +01:00
|
|
|
// ==========================================
|
|
|
|
|
// Q-AVATAR - Icone migliorate
|
|
|
|
|
// ==========================================
|
|
|
|
|
.q-avatar {
|
|
|
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
|
|
background: transparent !important;
|
|
|
|
|
|
|
|
|
|
&.rounded {
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.q-icon {
|
|
|
|
|
font-size: 1.3rem;
|
|
|
|
|
transition: all 0.3s ease;
|
|
|
|
|
}
|
2024-09-26 02:14:50 +02:00
|
|
|
}
|
|
|
|
|
|
2025-11-28 21:28:31 +01:00
|
|
|
.q-item:hover .q-avatar {
|
|
|
|
|
transform: scale(1.08);
|
|
|
|
|
|
|
|
|
|
.q-icon {
|
|
|
|
|
transform: rotate(-5deg);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// ==========================================
|
|
|
|
|
// MY-MENU-ACTIVE - Stato attivo
|
|
|
|
|
// ==========================================
|
|
|
|
|
.my-menu-active {
|
|
|
|
|
background: linear-gradient(90deg,
|
|
|
|
|
rgba(2, 123, 227, 0.12) 0%,
|
|
|
|
|
rgba(2, 123, 227, 0.05) 100%) !important;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
border-right: 3px solid #027be3;
|
|
|
|
|
|
|
|
|
|
span {
|
|
|
|
|
color: #027be3;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.q-avatar {
|
|
|
|
|
background: rgba(2, 123, 227, 0.1) !important;
|
|
|
|
|
|
|
|
|
|
.q-icon {
|
|
|
|
|
color: #027be3;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
background: linear-gradient(90deg,
|
|
|
|
|
rgba(2, 123, 227, 0.16) 0%,
|
|
|
|
|
rgba(2, 123, 227, 0.08) 100%) !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// ==========================================
|
|
|
|
|
// CLASSI PERMESSI - Badge colorati
|
|
|
|
|
// ==========================================
|
|
|
|
|
.isAdmin {
|
|
|
|
|
color: #d32f2f !important;
|
|
|
|
|
border-left: 3px solid #d32f2f;
|
|
|
|
|
background: linear-gradient(90deg,
|
|
|
|
|
rgba(211, 47, 47, 0.08) 0%,
|
|
|
|
|
rgba(211, 47, 47, 0.02) 100%);
|
|
|
|
|
|
|
|
|
|
.q-avatar {
|
|
|
|
|
background: rgba(211, 47, 47, 0.12) !important;
|
|
|
|
|
|
|
|
|
|
.q-icon {
|
|
|
|
|
color: #d32f2f;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
background: linear-gradient(90deg,
|
|
|
|
|
rgba(211, 47, 47, 0.12) 0%,
|
|
|
|
|
rgba(211, 47, 47, 0.04) 100%);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.isManager {
|
|
|
|
|
color: #388e3c !important;
|
|
|
|
|
border-left: 3px solid #388e3c;
|
|
|
|
|
background: linear-gradient(90deg,
|
|
|
|
|
rgba(56, 142, 60, 0.08) 0%,
|
|
|
|
|
rgba(56, 142, 60, 0.02) 100%);
|
|
|
|
|
|
|
|
|
|
.q-avatar {
|
|
|
|
|
background: rgba(56, 142, 60, 0.12) !important;
|
|
|
|
|
|
|
|
|
|
.q-icon {
|
|
|
|
|
color: #388e3c;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
background: linear-gradient(90deg,
|
|
|
|
|
rgba(56, 142, 60, 0.12) 0%,
|
|
|
|
|
rgba(56, 142, 60, 0.04) 100%);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.isSocioResidente {
|
|
|
|
|
color: #1b5e20 !important;
|
|
|
|
|
|
|
|
|
|
.q-avatar .q-icon {
|
|
|
|
|
color: #1b5e20;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.isFacilitatore {
|
|
|
|
|
color: #4a148c !important;
|
|
|
|
|
|
|
|
|
|
.q-avatar .q-icon {
|
|
|
|
|
color: #4a148c;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.onlyCollaboratore {
|
|
|
|
|
color: #f57c00 !important;
|
|
|
|
|
|
|
|
|
|
.q-avatar .q-icon {
|
|
|
|
|
color: #f57c00;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.isEditor {
|
|
|
|
|
color: #6a1b9a !important;
|
|
|
|
|
|
|
|
|
|
.q-avatar .q-icon {
|
|
|
|
|
color: #6a1b9a;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.isCommerciale {
|
|
|
|
|
color: #e65100 !important;
|
|
|
|
|
|
|
|
|
|
.q-avatar .q-icon {
|
|
|
|
|
color: #e65100;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.isGrafico {
|
|
|
|
|
color: #00796b !important;
|
|
|
|
|
|
|
|
|
|
.q-avatar .q-icon {
|
|
|
|
|
color: #00796b;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.isDoc {
|
|
|
|
|
border-left: 3px solid #42a5f5;
|
|
|
|
|
background: linear-gradient(90deg,
|
|
|
|
|
rgba(66, 165, 245, 0.08) 0%,
|
|
|
|
|
rgba(66, 165, 245, 0.02) 100%);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// ==========================================
|
|
|
|
|
// SUBTITLE - Testo secondario
|
|
|
|
|
// ==========================================
|
2024-09-26 02:14:50 +02:00
|
|
|
.subtitle {
|
2025-11-28 21:28:31 +01:00
|
|
|
font-size: 0.8rem;
|
|
|
|
|
color: #757575;
|
|
|
|
|
font-style: italic;
|
|
|
|
|
margin-top: 2px;
|
|
|
|
|
opacity: 0.85;
|
|
|
|
|
line-height: 1.3;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// ==========================================
|
|
|
|
|
// BIGMENU - Titoli grandi
|
|
|
|
|
// ==========================================
|
|
|
|
|
.bigmenu {
|
|
|
|
|
font-size: 1.2rem;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
|
|
|
|
|
letter-spacing: -0.01em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// ==========================================
|
|
|
|
|
// CLASSI EXTRA - Supporto customizzazioni
|
|
|
|
|
// ==========================================
|
|
|
|
|
.extraclass {
|
|
|
|
|
// Placeholder per classi custom
|
2025-09-16 17:30:28 +02:00
|
|
|
}
|
2025-11-28 21:28:31 +01:00
|
|
|
|
|
|
|
|
// ==========================================
|
|
|
|
|
// RESPONSIVE
|
|
|
|
|
// ==========================================
|
|
|
|
|
@media screen and (max-width: 600px) {
|
|
|
|
|
.q-item {
|
|
|
|
|
padding: 5px 8px;
|
|
|
|
|
min-height: 40px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.q-expansion-item > .q-item {
|
|
|
|
|
padding: 5px 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.q-avatar {
|
|
|
|
|
width: 1.8rem !important;
|
|
|
|
|
height: 1.8rem !important;
|
|
|
|
|
font-size: 1.8rem !important;
|
|
|
|
|
|
|
|
|
|
.q-icon {
|
|
|
|
|
font-size: 1.1rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.q-item__section--thumbnail {
|
|
|
|
|
min-width: 32px;
|
|
|
|
|
padding-right: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bigmenu {
|
|
|
|
|
font-size: 1.1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.subtitle {
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// ==========================================
|
|
|
|
|
// ANIMAZIONI ENTRATA
|
|
|
|
|
// ==========================================
|
|
|
|
|
@keyframes fadeSlideIn {
|
|
|
|
|
from {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
transform: translateX(-8px);
|
|
|
|
|
}
|
|
|
|
|
to {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
transform: translateX(0);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.q-item,
|
|
|
|
|
.q-expansion-item {
|
|
|
|
|
animation: fadeSlideIn 0.3s ease;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// ==========================================
|
|
|
|
|
// FOCUS ACCESSIBILITA
|
|
|
|
|
// ==========================================
|
|
|
|
|
.q-item:focus-visible,
|
|
|
|
|
.q-expansion-item:focus-visible {
|
|
|
|
|
outline: 2px solid var(--q-primary);
|
|
|
|
|
outline-offset: 2px;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
}
|