theloftstore/public/userarea/cssinclude.php

105 lines
3.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>
<style>
/* --- Allineamento contenuto rispetto alla sidebar --- */
.dashboard-main-wrapper {
display: flex;
flex-direction: row;
}
/* Sidebar fissa a sinistra */
.sidebar-wrapper {
width: 260px;
/* o la larghezza effettiva della tua sidebar */
position: fixed;
left: 0;
top: 0;
height: 100%;
z-index: 1000;
}
/* Contenuto principale spostato a destra della sidebar */
.dashboard-body {
margin-left: 260px;
/* deve corrispondere alla larghezza sidebar */
padding: 20px 30px;
width: calc(100% - 260px);
background-color: #f9fafb;
}
/* Se vuoi includere anche la topbar fissa */
.dashboard-body {
margin-top: 70px;
/* altezza della topbar */
}
/* --- Comportamento responsive --- */
@media (max-width: 992px) {
.sidebar-wrapper {
position: absolute;
left: -260px;
transition: all 0.3s ease;
}
.sidebar-wrapper.active {
left: 0;
}
.dashboard-body {
margin-left: 0;
width: 100%;
}
}
</style>
<style>
/* === Sidebar collassata === */
.wrapper.toggled .sidebar-wrapper {
width: 70px !important;
transition: all 0.3s ease;
overflow: hidden;
}
/* Nasconde il testo */
.wrapper.toggled .logo-text,
.wrapper.toggled .menu-title,
.wrapper.toggled .menu-label {
display: none !important;
}
/* Riduce padding e centra le icone */
.wrapper.toggled .metismenu a {
justify-content: center !important;
padding: 10px 0 !important;
}
.wrapper.toggled .metismenu i {
margin-right: 0 !important;
}
/* Sposta il contenuto principale */
.wrapper.toggled .dashboard-body {
margin-left: 70px !important;
width: calc(100% - 70px) !important;
transition: all 0.3s ease;
}
</style>