diff --git a/.gitignore b/.gitignore index ad774cb..3f78594 100644 --- a/.gitignore +++ b/.gitignore @@ -24,4 +24,5 @@ logs !.env.example pnpm-*.yaml +.pnpm-store/ AGENTS.md \ No newline at end of file diff --git a/app/assets/css/style.css b/app/assets/css/style.css index 814b736..0d9bdeb 100644 --- a/app/assets/css/style.css +++ b/app/assets/css/style.css @@ -29,6 +29,20 @@ textarea { font-family: var(--visione-font-sans); } +select, +.form-select { + background-color: #f7f9fc !important; + border-color: #c5d0db !important; + color: var(--visione-text-body) !important; +} + +.form-select:focus, +select:focus { + background-color: #fff !important; + border-color: var(--visione-primary) !important; + box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.15) !important; +} + code, kbd, pre, @@ -296,6 +310,35 @@ html body .navbar .navbar-collapsable .navbar-nav li.nav-item a.nav-link[data-fo line-height: 1; } +.page-shell { + padding-block: 3rem; +} + +.page-shell-header { + align-items: flex-start; + display: flex; + flex-wrap: wrap; + gap: 1rem; + justify-content: space-between; + margin-bottom: 2rem; +} + +.page-shell-title { + margin-bottom: 0.25rem; +} + +.page-shell-subtitle { + color: var(--visione-text-soft); + margin-bottom: 0; + max-width: 48rem; +} + +.surface-card { + background: #fff; + border: 1px solid #dfe4ea; + border-radius: 4px; +} + .it-header-wrapper .header-slim-right-zone .btn .rounded-icon, .it-header-wrapper .header-slim-right-zone .btn .rounded-icon .icon { @@ -316,6 +359,10 @@ html body .navbar .navbar-collapsable .navbar-nav li.nav-item a.nav-link[data-fo } @media (max-width: 767.98px) { + .page-shell { + padding-block: 2rem; + } + .it-hero-wrapper .container { min-height: 220px; } diff --git a/app/components/Header.vue b/app/components/Header.vue index 274167c..660dc75 100644 --- a/app/components/Header.vue +++ b/app/components/Header.vue @@ -18,6 +18,7 @@ const navLinks = [ ] const { isAuthenticated, user, logout } = useAuth() +const panelLabel = computed(() => user.value?.role?.toUpperCase() === 'ADMIN' ? 'Pannello' : 'Dashboard')