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

View File

@ -517,6 +517,7 @@ globals.dashboard = {
center: "title", center: "title",
right: "dayGridMonth,timeGridWeek,listWeek" right: "dayGridMonth,timeGridWeek,listWeek"
}, },
eventDisplay: "block",
timeFormat: globals.dashboard.timeFormat, timeFormat: globals.dashboard.timeFormat,
slotLabelFormat: globals.dashboard.timeFormat, slotLabelFormat: globals.dashboard.timeFormat,
slotDuration: "00:15:00", slotDuration: "00:15:00",
@ -669,7 +670,7 @@ if(isMobile() && setting('Utilizzare i tooltip sul calendario')){
echo ' echo '
eventContent: function (info) { 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){ eventDidMount: function(info){