284 lines
7.2 KiB
PHP
284 lines
7.2 KiB
PHP
<!--plugins-->
|
|
<link href="assets/plugins/vectormap/jquery-jvectormap-2.0.2.css" rel="stylesheet" />
|
|
<link href="assets/plugins/simplebar/css/simplebar.css" rel="stylesheet" />
|
|
<link href="assets/plugins/perfect-scrollbar/css/perfect-scrollbar.css" rel="stylesheet" />
|
|
<link href="assets/plugins/metismenu/css/metisMenu.min.css" rel="stylesheet" />
|
|
<!-- loader-->
|
|
<link href="assets/css/pace.min.css" rel="stylesheet" />
|
|
<script src="assets/js/pace.min.js"></script>
|
|
<!-- Bootstrap CSS -->
|
|
<link href="assets/css/bootstrap.min.css" rel="stylesheet">
|
|
<link href="assets/css/bootstrap-extended.css" rel="stylesheet">
|
|
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap" rel="stylesheet">
|
|
<link href="assets/css/app.css" rel="stylesheet">
|
|
<link href="assets/css/icons.css" rel="stylesheet">
|
|
<!-- Theme Style CSS -->
|
|
<!-- <link rel="stylesheet" href="assets/css/dark-theme.css" />
|
|
<link rel="stylesheet" href="assets/css/semi-dark.css" />
|
|
<link rel="stylesheet" href="assets/css/header-colors.css" /> -->
|
|
<!-- Font awesome -->
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css">
|
|
<!-- SweetAlert2 -->
|
|
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
|
<!-- Override temporaneo per tema chiaro pastello -->
|
|
<style>
|
|
/* ======= HEADER (barra superiore) ======= */
|
|
.top-header {
|
|
background-color: #a4c4fdff !important;
|
|
/* azzurro pastello */
|
|
color: #1f2d3d !important;
|
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
|
|
}
|
|
|
|
.top-header .nav-link,
|
|
.top-header .navbar-brand,
|
|
.top-header .navbar-nav .nav-item a,
|
|
.top-header .dropdown-item {
|
|
color: #1a2a3b !important;
|
|
font-weight: 500 !important;
|
|
}
|
|
|
|
.top-header .nav-link:hover,
|
|
.top-header .navbar-nav .nav-item a:hover,
|
|
.top-header .dropdown-item:hover {
|
|
color: #0b5ed7 !important;
|
|
}
|
|
|
|
/* ======= SIDEBAR (menu laterale) ======= */
|
|
.sidebar-wrapper {
|
|
background-color: #dfebffff !important;
|
|
/* grigio chiaro con tono bluastro */
|
|
color: #2b3e50 !important;
|
|
box-shadow: inset -2px 0 5px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.sidebar-wrapper .metismenu a {
|
|
color: #2b3e50 !important;
|
|
font-weight: 500 !important;
|
|
border-radius: 6px !important;
|
|
padding: 10px 14px !important;
|
|
}
|
|
|
|
.sidebar-wrapper .metismenu a:hover,
|
|
.sidebar-wrapper .metismenu .mm-active>a {
|
|
background-color: #d6e4ff !important;
|
|
/* azzurro più deciso al passaggio */
|
|
color: #0d6efd !important;
|
|
}
|
|
|
|
/* ======= CORPO PAGINA ======= */
|
|
body {
|
|
background-color: #f8fafc !important;
|
|
color: #2b3e50 !important;
|
|
}
|
|
|
|
.card,
|
|
.form-container,
|
|
.table-container {
|
|
background-color: #ffffff !important;
|
|
border: 1px solid #e2e8f0 !important;
|
|
}
|
|
|
|
/* Pulsanti principali coerenti */
|
|
.btn-primary,
|
|
.btn-submit {
|
|
background-color: #0d6efd !important;
|
|
border: none !important;
|
|
}
|
|
|
|
.btn-primary:hover,
|
|
.btn-submit:hover {
|
|
background-color: #0b5ed7 !important;
|
|
}
|
|
|
|
/* Navbar icone (se presenti) */
|
|
.top-header i {
|
|
color: #1f2d3d !important;
|
|
}
|
|
</style>
|
|
|
|
<style>
|
|
/* ======= TOPBAR (barra superiore, con menu e profilo utente) ======= */
|
|
.topbar {
|
|
background-color: #a4c4fdff !important;
|
|
/* azzurro pastello */
|
|
color: #1f2d3d !important;
|
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
|
|
}
|
|
|
|
.topbar .nav-link,
|
|
.topbar .navbar-nav .nav-item a,
|
|
.topbar .navbar-brand,
|
|
.topbar .dropdown-item {
|
|
color: #1f2d3d !important;
|
|
font-weight: 500 !important;
|
|
}
|
|
|
|
.topbar .nav-link:hover,
|
|
.topbar .navbar-nav .nav-item a:hover,
|
|
.topbar .dropdown-item:hover {
|
|
color: #0d6efd !important;
|
|
background-color: rgba(255, 255, 255, 0.3) !important;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.topbar .user-box .user-info p {
|
|
color: #1f2d3d !important;
|
|
}
|
|
|
|
.topbar .dropdown-menu {
|
|
border-radius: 8px !important;
|
|
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
|
|
}
|
|
|
|
/* ======= SIDEBAR HEADER (logo + titolo) ======= */
|
|
.sidebar-header {
|
|
background-color: #a4c4fdff !important;
|
|
/* leggermente più scuro per separare dal resto */
|
|
color: #1f2d3d !important;
|
|
border-bottom: 1px solid #a8c5f9 !important;
|
|
}
|
|
|
|
.sidebar-header .logo-text {
|
|
color: #1f2d3d !important;
|
|
font-weight: 700;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.sidebar-header .toggle-icon i {
|
|
color: #1f2d3d !important;
|
|
}
|
|
|
|
/* ======= ICONCINE GENERICHE ======= */
|
|
.bx,
|
|
.fa {
|
|
color: #1f2d3d !important;
|
|
}
|
|
|
|
.topbar .navbar {
|
|
position: relative;
|
|
}
|
|
|
|
/* ======= MARCHIO SMARTMES (centrato nella topbar) ======= */
|
|
.smes-brand {
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
transform: translate(-50%, -50%);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
text-decoration: none;
|
|
white-space: nowrap;
|
|
z-index: 1;
|
|
}
|
|
|
|
.smes-mark svg {
|
|
width: 34px;
|
|
height: 34px;
|
|
display: block;
|
|
border-radius: 9px;
|
|
box-shadow: 0 0 0 2px rgba(255, 255, 255, .85), 0 3px 8px rgba(15, 30, 70, .25);
|
|
}
|
|
|
|
.smes-text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
line-height: 1.05;
|
|
}
|
|
|
|
.smes-name {
|
|
font-size: 1.3rem;
|
|
font-weight: 600;
|
|
letter-spacing: -.3px;
|
|
color: #0f1e46;
|
|
}
|
|
|
|
.smes-accent {
|
|
font-weight: 800;
|
|
color: #1a3fd1;
|
|
}
|
|
|
|
.smes-sub {
|
|
font-size: .6rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1.2px;
|
|
color: #0f1e46;
|
|
opacity: .65;
|
|
margin-top: 3px;
|
|
}
|
|
|
|
/* Tema scuro */
|
|
html.dark-theme .smes-name {
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
html.dark-theme .smes-accent {
|
|
color: #7aa2ff;
|
|
}
|
|
|
|
html.dark-theme .smes-sub {
|
|
color: #94a3b8;
|
|
}
|
|
|
|
/* Tablet e telefono: il marchio occupa il suo spazio (niente sovrapposizioni) */
|
|
@media (max-width: 991px) {
|
|
.smes-sub {
|
|
display: none;
|
|
}
|
|
|
|
.smes-brand {
|
|
position: static;
|
|
transform: none;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
min-width: 0;
|
|
}
|
|
|
|
.topbar .navbar .top-menu {
|
|
margin-left: 0 !important;
|
|
}
|
|
}
|
|
|
|
/* Telefono */
|
|
@media (max-width: 576px) {
|
|
.smes-brand {
|
|
gap: 7px;
|
|
}
|
|
|
|
.smes-mark svg {
|
|
width: 28px;
|
|
height: 28px;
|
|
}
|
|
|
|
.smes-name {
|
|
font-size: 1.1rem;
|
|
}
|
|
}
|
|
|
|
/* Telefono stretto: recupero spazio dalla barra */
|
|
@media (max-width: 400px) {
|
|
.topbar .navbar {
|
|
gap: .5rem !important;
|
|
}
|
|
|
|
.topbar .user-box {
|
|
padding-left: .25rem !important;
|
|
padding-right: .25rem !important;
|
|
}
|
|
|
|
.smes-brand {
|
|
gap: 6px;
|
|
}
|
|
|
|
.smes-mark svg {
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
|
|
.smes-name {
|
|
font-size: .95rem;
|
|
}
|
|
}
|
|
</style> |