Merge pull request #665 from matschundbrei/expand-shift-panel
Expand shift panel
This commit is contained in:
commit
4e65e6f73a
|
@ -38,11 +38,11 @@ class ShiftCalendarShiftRenderer
|
||||||
|
|
||||||
return [
|
return [
|
||||||
$blocks,
|
$blocks,
|
||||||
div( 'panel-' . $class. ' shift-card" style="height: '
|
div('shift-card" style="height: '
|
||||||
. ($blocks * ShiftCalendarRenderer::BLOCK_HEIGHT - ShiftCalendarRenderer::MARGIN)
|
. ($blocks * ShiftCalendarRenderer::BLOCK_HEIGHT - ShiftCalendarRenderer::MARGIN)
|
||||||
. 'px;',
|
. 'px;',
|
||||||
div(
|
div(
|
||||||
'shift panel panel-' . $class. '" style="position: absolute; width:100%;',
|
'shift panel panel-' . $class,
|
||||||
[
|
[
|
||||||
$this->renderShiftHead($shift, $class),
|
$this->renderShiftHead($shift, $class),
|
||||||
div('panel-body', [
|
div('panel-body', [
|
||||||
|
@ -52,11 +52,10 @@ class ShiftCalendarShiftRenderer
|
||||||
'Name' => $shift['room_name']
|
'Name' => $shift['room_name']
|
||||||
])
|
])
|
||||||
]),
|
]),
|
||||||
$shifts_row,
|
$shifts_row
|
||||||
div('shift-spacer')
|
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -196,29 +196,15 @@ table a > .icon-icon_angel {
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
position: relative;
|
position: relative;
|
||||||
border-bottom-width: 1px;
|
margin: 0 5px 5px 0;
|
||||||
border-bottom-style: dashed;
|
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
border: none;
|
|
||||||
|
|
||||||
.shift {
|
|
||||||
z-index: 100;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.shift {
|
.shift {
|
||||||
margin: 0 5px 5px 0;
|
min-height: 100%;
|
||||||
position: absolute;
|
|
||||||
width: 100%;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
margin: 0 5px 5px 0;
|
|
||||||
position: absolute;
|
|
||||||
width: 100%;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue