Remove z-index in css files.

This commit is contained in:
邱博亞 2022-12-21 09:57:53 +08:00
parent d95998c70b
commit 61850ff461
2 changed files with 3 additions and 14 deletions

View File

@ -147,10 +147,6 @@
vertical-align: bottom; vertical-align: bottom;
} }
.calendar_mode {
z-index: 2;
}
.mode_switch { .mode_switch {
text-transform: capitalize; text-transform: capitalize;
} }

View File

@ -479,7 +479,6 @@ a.fc-event:hover {
/* ---------------------------------------------------------------------------------------------------- */ /* ---------------------------------------------------------------------------------------------------- */
.fc-event .fc-event-main { .fc-event .fc-event-main {
position: relative; position: relative;
z-index: 2;
} }
/* dragging */ /* dragging */
/* ---------------------------------------------------------------------------------------------------- */ /* ---------------------------------------------------------------------------------------------------- */
@ -708,7 +707,7 @@ A HORIZONTAL event
display: table; } display: table; }
.fc .fc-daygrid-body { /* a <div> that wraps the table */ .fc .fc-daygrid-body { /* a <div> that wraps the table */
position: relative; position: relative;
z-index: 1; /* container inner z-index's because <tr>s can't do it */ /* container inner z-index's because <tr>s can't do it */
} }
.fc .fc-daygrid-day.fc-day-today { .fc .fc-daygrid-day.fc-day-today {
background-color: rgba(255, 220, 40, 0.15); background-color: rgba(255, 220, 40, 0.15);
@ -737,7 +736,6 @@ A HORIZONTAL event
} }
.fc .fc-daygrid-day-number { .fc .fc-daygrid-day-number {
position: relative; position: relative;
z-index: 4;
padding: 4px; padding: 4px;
} }
.fc { .fc {
@ -800,11 +798,9 @@ A HORIZONTAL event
} }
.fc .fc-daygrid-event { .fc .fc-daygrid-event {
z-index: 6;
margin-top: 1px; margin-top: 1px;
} }
.fc .fc-daygrid-event.fc-event-mirror { .fc .fc-daygrid-event.fc-event-mirror {
z-index: 7;
} }
.fc { .fc {
@ -821,7 +817,6 @@ A HORIZONTAL event
display: table; } display: table; }
.fc .fc-daygrid-more-link { .fc .fc-daygrid-more-link {
position: relative; position: relative;
z-index: 4;
cursor: pointer; cursor: pointer;
} }
.fc { .fc {
@ -831,7 +826,6 @@ A HORIZONTAL event
} }
.fc .fc-daygrid-week-number { .fc .fc-daygrid-week-number {
position: absolute; position: absolute;
z-index: 5;
top: 0; top: 0;
padding: 2px; padding: 2px;
min-width: 1.5em; min-width: 1.5em;
@ -1048,14 +1042,14 @@ A VERTICAL event
bottom: calc(var(--fc-event-resizer-dot-total-width, 8px) / -2); bottom: calc(var(--fc-event-resizer-dot-total-width, 8px) / -2);
} }
.fc .fc-timegrid .fc-daygrid-body { /* the all-day daygrid within the timegrid view */ .fc .fc-timegrid .fc-daygrid-body { /* the all-day daygrid within the timegrid view */
z-index: 2; /* put above the timegrid-body so that more-popover is above everything. TODO: better solution */ /* put above the timegrid-body so that more-popover is above everything. TODO: better solution */
} }
.fc .fc-timegrid-divider { .fc .fc-timegrid-divider {
padding: 0 0 2px; /* browsers get confused when you set height. use padding instead */ padding: 0 0 2px; /* browsers get confused when you set height. use padding instead */
} }
.fc .fc-timegrid-body { .fc .fc-timegrid-body {
position: relative; position: relative;
z-index: 1; /* scope the z-indexes of slots and cols */ /* scope the z-indexes of slots and cols */
min-height: 100%; /* fill height always, even when slat table doesn't grow */ min-height: 100%; /* fill height always, even when slat table doesn't grow */
} }
.fc .fc-timegrid-axis-chunk { /* for advanced ScrollGrid */ .fc .fc-timegrid-axis-chunk { /* for advanced ScrollGrid */
@ -1068,7 +1062,6 @@ A VERTICAL event
} }
.fc .fc-timegrid-slots { .fc .fc-timegrid-slots {
position: relative; position: relative;
z-index: 1;
} }
.fc .fc-timegrid-slot { /* a <td> */ .fc .fc-timegrid-slot { /* a <td> */
height: 1.5em; height: 1.5em;