adding a dashed line when expandable

main
Wonko T. Sane 6 years ago committed by Igor Scheller
parent b14d352140
commit 1a5c10dd41

@ -38,11 +38,11 @@ class ShiftCalendarShiftRenderer
return [ return [
$blocks, $blocks,
div( 'shift-card "style="height: ' div( 'panel-' . $class. ' 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:99%;', 'shift panel panel-' . $class. '" style="position: absolute; width:100%;',
[ [
$this->renderShiftHead($shift, $class), $this->renderShiftHead($shift, $class),
div('panel-body', [ div('panel-body', [

@ -74,6 +74,7 @@ table a > .icon-icon_angel {
} }
} }
.stats-danger { .stats-danger {
color: @brand-danger; color: @brand-danger;
} }
@ -193,10 +194,13 @@ table a > .icon-icon_angel {
z-index:0; z-index:0;
overflow:hidden; overflow:hidden;
position:relative; position:relative;
border-bottom-width: 1px;
border-bottom-style: dashed;
} }
.shift-card:hover { .shift-card:hover {
overflow:visible; overflow:visible;
z-index:100; z-index:100;
border: none;
} }
.shift-card:hover .shift { .shift-card:hover .shift {
z-index:100; z-index:100;
@ -204,7 +208,13 @@ table a > .icon-icon_angel {
.shift { .shift {
margin: 0 5px 5px 0; margin: 0 5px 5px 0;
position: absolute; position: absolute;
width: 99%; width: 100%;
}
.shift:hover {
margin: 0 5px 5px 0;
position: absolute;
width: 100%;
/*border: 1px solid;*/
} }
} }

Loading…
Cancel
Save