2025-05-13 15:03:09 +02:00

226 lines
4.9 KiB
PHP

<style>
#activeFilters {
display: flex;
font-size: 16px;
flex-direction: row;
background: 0;
}
.badge {
display: flex;
flex-direction: row;
align-items: center;
gap: 5px;
}
.width-100 {
width: 100%;
}
.flex_center {
display: flex;
align-items: center;
}
.mg_none {
margin: 0 !important;
}
.hidden {
display: none !important;
}
.table-custom tr {
height: 40px;
line-height: 40px;
}
#ajax_preloader {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: transparent;
z-index: 9999999;
}
.table-custom td,
.table-custom th {
padding: 4px 8px;
}
.table-custom .btn {
padding: 2px 15px;
line-height: 1.7;
font-size: 14px;
}
.form-row {
display: flex;
align-items: center;
/* Questo allinea verticalmente gli elementi nella riga */
gap: 10px;
/* Questo crea una piccola distanza tra gli elementi nella riga */
}
.table-custom .form-control,
.table-custom .form-select {
height: 25px;
/* Puoi modificare questo valore per adattarlo al tuo design */
padding: 2px 6px;
/* riduce la dimensione del padding */
font-size: 14px;
/* riduce la dimensione del font */
}
.table-custom .form-control-sm.analysis-input {
height: 25px;
/* Questo modifica la dimensione degli input con classe 'form-control-sm' e 'analysis-input' */
padding: 2px 6px;
font-size: 12px;
}
.padding_none {
padding: 0 !important;
}
.select2-container--open {
z-index: 9999;
}
.card {
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
transition: transform 0.2s ease-in-out;
}
.card:hover {
transform: translateY(-3px);
}
.card-body {
padding: 20px;
}
.card h2 {
font-size: 32px;
font-weight: bold;
margin-bottom: 5px;
}
.card h5 {
font-size: 18px;
font-weight: 500;
margin-bottom: 10px;
}
.card {
min-height: 150px;
/* Imposta un'altezza minima per le card */
}
.percentage {
font-size: 18px;
font-weight: bold;
margin-top: 5px;
margin-left: 10px;
}
.bg-light {
background-color: #f8f9fa !important;
}
.border-primary {
border: 2px solid #007bff !important;
}
.border-info {
border: 2px solid #17a2b8 !important;
}
.border-danger {
border: 2px solid #dc3545 !important;
}
.border-success {
border: 2px solid #28a745 !important;
}
.border-warning {
border: 2px solid #ffc107 !important;
}
.row {
margin-top: 20px;
}
.col-md-2 {
margin-bottom: 20px;
}
@media (max-width: 767px) {
.col-md-2 {
flex: 0 0 100%;
max-width: 100%;
}
}
.filters-applied {
display: inline-block;
color: white;
border-radius: 5px;
padding: 5px 10px;
font-weight: bold;
margin-top: 10px;
}
.chart-container {
width: 100%;
margin: 20px;
}
.chart-box {
display: flex;
justify-content: center;
align-items: center;
}
.card-body {
background-color: white;
}
</style>
<style>
.filter-sidebar {
position: fixed;
top: 0;
right: 0;
width: 300px;
height: 100%;
background: #f8f9fa;
box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
padding: 20px;
display: none;
z-index: 999;
}
.active-filters {
margin-bottom: 20px;
}
body {
transition: margin-right 0.3s;
/* Smooth transition */
}
#main-content {
transition: margin-right 0.3s;
/* Smooth transition */
}
.collapsed {
margin-right: 300px;
/* Hide the sidebar */
}
</style>