1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-16 19:40:44 +01:00

Ottimizzazioni grafiche fullcalendar6

This commit is contained in:
Fabio Lovato 2023-01-25 20:32:29 +01:00
parent 7459f43463
commit 34522cf84d
2 changed files with 99 additions and 84 deletions

View File

@ -88,7 +88,8 @@ input[type=file] {
position: fixed;
}
.autocomplete, .ui-autocomplete {
.autocomplete,
.ui-autocomplete {
background: white;
z-index: 10000;
min-width: 160px;
@ -102,7 +103,8 @@ input[type=file] {
border-radius: 5px;
}
.autocomplete .group, .ui-autocomplete-category {
.autocomplete .group,
.ui-autocomplete-category {
font-size: 1.5em;
background: inherit;
}
@ -144,8 +146,10 @@ input[type=file] {
.navbar a:hover,
.logo:hover,
.alert a, .alert a:hover,
a:hover, a:focus {
.alert a,
.alert a:hover,
a:hover,
a:focus {
text-decoration: none;
}
@ -594,6 +598,7 @@ input.small-width {
}
@media screen and (max-width: 992px) {
.table-bordered>thead>tr>th,
.table-bordered>tbody>tr>th,
.table-bordered>tfoot>tr>th,
@ -715,8 +720,14 @@ input.small-width {
cursor: pointer;
}
.fc-event {
border-top-width: 10px;
.fc-event.fc-h-event,
.fc-event.fc-v-event {
border-top-width: 10px !important;
border-style: solid;
}
.fc-daygrid-dot-event {
padding: 0 !important;
}
.fc-event-primary {
@ -1091,7 +1102,8 @@ div.tip {
}
/* Stile Fullcalendar per weekend */
.fc-sat, .fc-sun {
.fc-sat,
.fc-sun {
background-color: rgba(255, 99, 71, 0.6) !important;
}
@ -1131,9 +1143,11 @@ div.tip {
.sidebar-mini:not(.sidebar-mini-expand-feature).sidebar-collapse .sidebar-menu>li:hover>.treeview-menu {
width: 220px;
}
.sidebar-mini:not(.sidebar-mini-expand-feature).sidebar-collapse .sidebar-menu>li:hover>a>.pull-right-container {
left: 220px !important;
}
html body.sidebar-mini.sidebar-mini.sidebar-collapse i.fa.fa-user-circle-o.fa-3x.pull-left {
font-size: 2.4em;
}

View File

@ -517,6 +517,7 @@ globals.dashboard = {
center: "title",
right: "dayGridMonth,timeGridWeek,listWeek"
},
eventDisplay: "block",
timeFormat: globals.dashboard.timeFormat,
slotLabelFormat: globals.dashboard.timeFormat,
slotDuration: "00:15:00",
@ -669,7 +670,7 @@ if(isMobile() && setting('Utilizzare i tooltip sul calendario')){
echo '
eventContent: function (info) {
return { html: "<div style=\"width:100%; background:" + info.event.backgroundColor + ";\">" + info.event.title + "</div>" };
return { html: info.event.title };
},
eventDidMount: function(info){