tasto back e bugfix editor

This commit is contained in:
David Frassi
2026-06-18 13:55:55 +02:00
parent d4a52a8fbf
commit 68d455289d
9 changed files with 471 additions and 19 deletions
@@ -702,3 +702,90 @@ body.high-contrast :host ::ng-deep {
}
}
}
/* CUSTOM STYLES FOR INTUITIVE MOBILE RESPONSIVENESS */
.custom-mobile-segment {
display: none;
--background: rgba(255, 255, 255, 0.05);
background: rgba(255, 255, 255, 0.05);
border-radius: 12px;
padding: 4px;
border: 1px solid rgba(255, 255, 255, 0.08);
margin-bottom: 16px;
ion-segment-button {
--color: rgba(255, 255, 255, 0.6);
--color-checked: #ffffff;
--indicator-color: var(--ion-color-secondary);
--border-radius: 8px;
font-weight: 700;
font-family: 'Outfit', sans-serif;
}
}
body.high-contrast :host ::ng-deep {
.custom-mobile-segment {
--background: #f0f0f0 !important;
background: #f0f0f0 !important;
border: 2px solid #000000 !important;
ion-segment-button {
--color: #333333 !important;
--color-checked: #000000 !important;
--indicator-color: #000000 !important;
}
}
}
@media (max-width: 991px) {
.custom-mobile-segment {
display: flex;
}
.hide-on-mobile {
display: none !important;
}
.horizontal-toolbar {
flex-wrap: wrap;
overflow-x: visible;
padding-bottom: 0;
ion-button {
flex-shrink: 1;
}
}
}
@media (max-width: 576px) {
:host ::ng-deep .category-selectors {
grid-template-columns: 1fr;
gap: 8px;
}
.editor-wrapper {
.editor-header {
padding: 6px 8px;
flex-wrap: wrap;
.editor-title-group {
width: 100%;
margin-bottom: 6px;
padding-left: 8px;
}
.editor-actions {
width: 100%;
display: flex;
justify-content: space-between;
ion-button {
flex: 1;
height: 40px;
margin: 0;
}
}
}
}
}