Shifts overview: Style cleanup

main
Igor Scheller 5 years ago
parent 941c08b2f6
commit eec1eff65b

@ -38,11 +38,11 @@ class ShiftCalendarShiftRenderer
return [
$blocks,
div( 'panel-' . $class. ' shift-card" style="height: '
div('shift-card" style="height: '
. ($blocks * ShiftCalendarRenderer::BLOCK_HEIGHT - ShiftCalendarRenderer::MARGIN)
. 'px;',
div(
'shift panel panel-' . $class. '" style="position: absolute; width:100%;',
'shift panel panel-' . $class,
[
$this->renderShiftHead($shift, $class),
div('panel-body', [
@ -52,8 +52,7 @@ class ShiftCalendarShiftRenderer
'Name' => $shift['room_name']
])
]),
$shifts_row,
div('shift-spacer')
$shifts_row
]
)
)

@ -196,27 +196,15 @@ table a > .icon-icon_angel {
z-index: 0;
overflow: hidden;
position: relative;
margin: 0 5px 5px 0;
&:hover {
overflow: visible;
z-index: 100;
border: none;
.shift {
z-index: 100;
}
}
}
.shift {
margin: 0 5px 5px 0;
position: absolute;
width: 100%;
&:hover {
margin: 0 5px 5px 0;
position: absolute;
width: 100%;
.shift {
min-height: 100%;
}
}
}

Loading…
Cancel
Save