Align the visual indication of active quickview mode with the calendar module
This commit is contained in:
parent
3c222ed411
commit
2c5ee2e2bf
2 changed files with 19 additions and 1 deletions
|
@ -302,6 +302,15 @@ body.tasklist.attachmentwin #mainscreen {
|
|||
background: url(sprites.png) right 20px no-repeat;
|
||||
}
|
||||
|
||||
.quickview-active #tasklistsbox .treelist li input,
|
||||
.quickview-active #tasklistsbox .treelist li span.listname {
|
||||
opacity: 0.35;
|
||||
}
|
||||
|
||||
.quickview-active #tasklistsbox .treelist div.focusview span.listname {
|
||||
opacity: 1.0;
|
||||
}
|
||||
|
||||
#tasklistsbox .treelist div span.actions {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
|
@ -491,11 +500,16 @@ body.tasklist.attachmentwin #mainscreen {
|
|||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
padding-bottom: 28px;
|
||||
background: rgba(255, 255, 255, 0.2);
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.quickview-active #tasksview {
|
||||
background-image: url('images/focusview.png');
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
#message.statusbar {
|
||||
border-top: 1px solid #c3c3c3;
|
||||
}
|
||||
|
|
|
@ -2838,6 +2838,10 @@ function rcube_tasklist_ui(settings)
|
|||
|
||||
if (focusview) {
|
||||
li.addClass('focusview').find('a.quickview').attr('aria-checked', 'true');
|
||||
$('body').addClass('quickview-active');
|
||||
}
|
||||
else {
|
||||
$('body').removeClass('quickview-active');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue