using bootstrap icons 7/5-square

This commit is contained in:
ralf 2024-09-03 15:10:58 +02:00
parent 29e1f53366
commit 7298dff322
2 changed files with 13 additions and 9 deletions

View File

@ -1317,8 +1317,12 @@ Hide subsequent headers in week view with non-consolidated owners
} }
/** /**
* Calendar Drag and Drop * Calendar Drag and Drop
* Class for div to show forbiden drop
*/ */
.calendar_d-n-d_helper {
position: absolute;
z-index: initial;
}
/* Class for div to show forbiden drop */
.calendar_d-n-d_timeCounter > span { .calendar_d-n-d_timeCounter > span {
position: absolute; position: absolute;
background-color: #808080; background-color: #808080;
@ -2669,7 +2673,7 @@ div#calendar-container div.calendar table tbody tr.rowhilite td {
width: calc(100% - 58px); width: calc(100% - 58px);
} }
#calendar-toolbar_toolbar et2-switch .label.on span.off { #calendar-toolbar_toolbar et2-switch .label.on span.off {
filter: invert(1); filter: opacity(0.4);
} }
#calendar-toolbar_toolbar et2-switch .label.on span.on { #calendar-toolbar_toolbar et2-switch .label.on span.on {
filter: none !important; filter: none !important;
@ -2680,7 +2684,7 @@ div#calendar-container div.calendar table tbody tr.rowhilite td {
background-position: center; background-position: center;
height: 28px; height: 28px;
top: 0; top: 0;
filter: invert(1); filter: opacity(0.4);
} }
#calendar-toolbar_toolbar et2-switch .label span.off { #calendar-toolbar_toolbar et2-switch .label span.off {
background-size: 18px 18px; background-size: 18px 18px;
@ -2696,11 +2700,11 @@ div#calendar-container div.calendar table tbody tr.rowhilite td {
background: none; background: none;
} }
#calendar-toolbar_toolbar #calendar-toolbar_toolbar-weekend .label span.on { #calendar-toolbar_toolbar #calendar-toolbar_toolbar-weekend .label span.on {
background-image: url(../../../api/templates/default/images/7_day_view.svg); background-image: url(../../../node_modules/bootstrap-icons/icons/7-square.svg);
width: 50%; width: 50%;
} }
#calendar-toolbar_toolbar #calendar-toolbar_toolbar-weekend .label span.off { #calendar-toolbar_toolbar #calendar-toolbar_toolbar-weekend .label span.off {
background-image: url(../../../api/templates/default/images/5_day_view.svg); background-image: url(../../../node_modules/bootstrap-icons/icons/5-square.svg);
width: 50%; width: 50%;
} }
/* ######################################################################################## /* ########################################################################################

View File

@ -1124,7 +1124,7 @@ div#calendar-container {
#calendar-toolbar_toolbar { #calendar-toolbar_toolbar {
et2-switch .label.on { et2-switch .label.on {
span.off { span.off {
filter: invert(1); filter: opacity(.4);
} }
span.on { span.on {
filter: none !important; filter: none !important;
@ -1138,7 +1138,7 @@ div#calendar-container {
background-position: center; background-position: center;
height: 28px; height: 28px;
top:0; top:0;
filter: invert(1); filter: opacity(.4);
} }
span.off { span.off {
background-size: 18px 18px; background-size: 18px 18px;
@ -1153,11 +1153,11 @@ div#calendar-container {
} }
} }
#calendar-toolbar_toolbar-weekend .label span.on { #calendar-toolbar_toolbar-weekend .label span.on {
background-image: url(../../../api/templates/default/images/7_day_view.svg); background-image: url(../../../node_modules/bootstrap-icons/icons/7-square.svg);
width: 50%; width: 50%;
} }
#calendar-toolbar_toolbar-weekend .label span.off { #calendar-toolbar_toolbar-weekend .label span.off {
background-image: url(../../../api/templates/default/images/5_day_view.svg); background-image: url(../../../node_modules/bootstrap-icons/icons/5-square.svg);
width: 50%; width: 50%;
} }
} }