2018-01-03 11:06:01 +01:00
|
|
|
/**
|
|
|
|
* Kolab core library
|
|
|
|
*
|
|
|
|
* This file contains Elastic skin styles for tasklist plugin.
|
|
|
|
*
|
|
|
|
* @author Aleksander Machniak <machniak@kolabsys.com>
|
|
|
|
*
|
|
|
|
* Copyright (C) 2012-2018, Kolab Systems AG <contact@kolabsys.com>
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Affero General Public License as
|
|
|
|
* published by the Free Software Foundation, either version 3 of the
|
|
|
|
* License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Affero General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Affero General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2018-03-26 11:18:52 +02:00
|
|
|
#taskmenu a.tasklist:before {
|
|
|
|
content: @fa-var-calendar-check;
|
|
|
|
}
|
|
|
|
|
2018-01-03 11:06:01 +01:00
|
|
|
.toolbarmenu.listing li {
|
2018-02-27 15:34:43 +00:00
|
|
|
a.tasklistlink:before,
|
2018-01-03 11:06:01 +01:00
|
|
|
a.taskaddlink:before {
|
2018-03-26 11:12:31 +02:00
|
|
|
.font-icon-regular(@fa-var-calendar-check);
|
2018-01-03 11:06:01 +01:00
|
|
|
}
|
|
|
|
}
|
2018-02-28 17:03:16 +00:00
|
|
|
|
|
|
|
.tasklist-invitebox {
|
|
|
|
& > i.icon:before {
|
2018-03-26 11:12:31 +02:00
|
|
|
content: @fa-var-calendar-check !important;
|
2018-02-28 17:03:16 +00:00
|
|
|
}
|
|
|
|
}
|
2018-03-15 13:27:22 +00:00
|
|
|
|
2018-03-16 09:22:42 +01:00
|
|
|
.listing {
|
|
|
|
li {
|
|
|
|
& > div {
|
|
|
|
&.tasklist .listname:before {
|
|
|
|
&:extend(.font-icon-class);
|
2018-03-26 11:12:31 +02:00
|
|
|
content: @fa-var-calendar-check;
|
2018-03-16 09:22:42 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-15 13:27:22 +00:00
|
|
|
@tasklist-record-height: 3.8rem;
|
|
|
|
|
|
|
|
#tasklist {
|
|
|
|
li.taskitem {
|
|
|
|
border-bottom: 0;
|
|
|
|
|
|
|
|
div.taskhead {
|
|
|
|
position: relative;
|
|
|
|
display: block;
|
|
|
|
height: @tasklist-record-height;
|
|
|
|
padding-left: (1 * @listing-treetoggle-width);
|
|
|
|
outline: 0;
|
|
|
|
|
|
|
|
&.flagged {
|
|
|
|
color: @color-list-flagged !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.selected {
|
|
|
|
background-color: @color-list-selected-background;
|
|
|
|
}
|
2018-03-22 19:31:13 +00:00
|
|
|
|
|
|
|
&.droptarget {
|
|
|
|
background-color: @color-list-droptarget-background;
|
|
|
|
}
|
2018-03-15 13:27:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
& > div,
|
|
|
|
& > span {
|
|
|
|
border-bottom: 1px solid @color-list-border;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
|
|
|
|
li {
|
|
|
|
padding-left: 0;
|
|
|
|
.taskhead, .title { padding-left: (2 * @listing-treetoggle-width + .25rem); }
|
|
|
|
.childtoggle { left: @listing-treetoggle-width; }
|
|
|
|
|
|
|
|
li {
|
|
|
|
.taskhead, .title { padding-left: (3 * @listing-treetoggle-width + .25rem); }
|
|
|
|
.childtoggle { left: (2 * @listing-treetoggle-width); }
|
|
|
|
|
|
|
|
li {
|
|
|
|
.taskhead, .title { padding-left: (4 * @listing-treetoggle-width + .25rem); }
|
|
|
|
.childtoggle { left: (3 * @listing-treetoggle-width); }
|
|
|
|
|
|
|
|
li {
|
|
|
|
.taskhead, .title { padding-left: (5 * @listing-treetoggle-width + .25rem); }
|
|
|
|
.childtoggle { left: (4 * @listing-treetoggle-width); }
|
|
|
|
|
|
|
|
li {
|
|
|
|
.taskhead, .title { padding-left: (6 * @listing-treetoggle-width + .25rem); }
|
|
|
|
.childtoggle { left: (5 * @listing-treetoggle-width); }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.childtoggle {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: @listing-treetoggle-width;
|
|
|
|
padding: 0 0 0 .25rem;
|
|
|
|
height: @tasklist-record-height;
|
|
|
|
cursor: pointer;
|
|
|
|
z-index: 1;
|
|
|
|
|
|
|
|
.inner {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
&:extend(.font-icon-class);
|
|
|
|
content: @fa-var-angle-right;
|
|
|
|
margin: 0;
|
|
|
|
width: 1em;
|
|
|
|
line-height: @tasklist-record-height;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.expanded:before {
|
|
|
|
content: @fa-var-angle-down;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.collapsed:before {
|
|
|
|
content: @fa-var-angle-right;
|
|
|
|
}
|
2018-03-22 19:31:13 +00:00
|
|
|
|
|
|
|
&.complete {
|
|
|
|
span.title {
|
|
|
|
text-decoration: line-through;
|
|
|
|
}
|
|
|
|
|
|
|
|
.progressbar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2018-03-15 13:27:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
span.title {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
line-height: 2em;
|
|
|
|
padding: 0 0 0 .2em;
|
|
|
|
padding-left: (1 * @listing-treetoggle-width + .25rem);
|
|
|
|
margin-right: 2em;
|
|
|
|
.overflow-ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
span.tags {
|
|
|
|
position: absolute;
|
|
|
|
right: 2em;
|
|
|
|
top: 0;
|
|
|
|
line-height: 2em;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
span.date {
|
2018-03-25 13:15:30 +00:00
|
|
|
position: absolute;
|
|
|
|
padding-left: .2em;
|
2018-03-15 13:27:22 +00:00
|
|
|
font-size: 90%;
|
2018-03-25 13:15:30 +00:00
|
|
|
line-height: 2.5;
|
2018-03-15 13:27:22 +00:00
|
|
|
color: @color-list-secondary;
|
2018-03-25 13:15:30 +00:00
|
|
|
cursor: pointer;
|
2018-03-22 19:31:13 +00:00
|
|
|
|
|
|
|
input {
|
2018-03-25 13:15:30 +00:00
|
|
|
line-height: 1;
|
|
|
|
padding: 0;
|
|
|
|
margin-top: -2px;
|
2018-03-22 19:31:13 +00:00
|
|
|
}
|
2018-03-15 13:27:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
span.flagged {
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
line-height: 1.8em;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.taskhead:not(.flagged):hover span.flagged:before {
|
|
|
|
&:extend(.font-icon-class);
|
|
|
|
.font-icon-regular(@fa-var-flag);
|
|
|
|
}
|
|
|
|
|
|
|
|
.taskhead.flagged span.flagged:before {
|
|
|
|
&:extend(.font-icon-class);
|
|
|
|
content: @fa-var-flag;
|
|
|
|
}
|
|
|
|
|
|
|
|
.progressbar {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 1px;
|
|
|
|
left: .2em;
|
|
|
|
right: .2em;
|
|
|
|
|
|
|
|
.progressvalue {
|
|
|
|
border-top: 2px solid @color-warning;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
input + label,
|
|
|
|
input.complete {
|
|
|
|
position: absolute;
|
|
|
|
right: .25rem;
|
|
|
|
bottom: 0;
|
|
|
|
top: auto;
|
|
|
|
padding: 0 .2em 0 0;
|
|
|
|
cursor: pointer;
|
|
|
|
z-index: 1;
|
2018-03-25 17:01:38 +00:00
|
|
|
line-height: 1;
|
|
|
|
height: 1.5em;
|
|
|
|
font-size: 1.15em;
|
2018-03-15 13:27:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.actions {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Focus indicator
|
|
|
|
@media screen and (min-width: @screen-width-large) {
|
|
|
|
.taskhead {
|
|
|
|
border-left: 2px solid transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.taskhead.focused {
|
|
|
|
border-left: 2px solid @color-list-focus-indicator;
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-25 13:15:30 +00:00
|
|
|
html.touch #tasklist {
|
|
|
|
li {
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
span.flagged,
|
|
|
|
input[type=checkbox],
|
|
|
|
.icon-checkbox + label {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
span.title {
|
|
|
|
margin-right: .5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
span.tags {
|
|
|
|
right: .5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-15 13:27:22 +00:00
|
|
|
#taskshow {
|
|
|
|
& + .formbuttons {
|
|
|
|
button.disabled {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.task-parent-title {
|
|
|
|
color: @color-black-shade-text;
|
|
|
|
font-size: 90%;
|
|
|
|
margin-bottom: .5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.task-title {
|
|
|
|
font-size: 1.5rem;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.task-description {
|
|
|
|
margin: 1rem 0;
|
|
|
|
}
|
2018-03-22 19:31:13 +00:00
|
|
|
|
|
|
|
&.status-completed h2 {
|
|
|
|
text-decoration: line-through;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.status-flagged h2:before {
|
|
|
|
&:extend(.font-icon-class);
|
|
|
|
content: @fa-var-flag;
|
|
|
|
color: @color-error;
|
|
|
|
font-size: .9em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.attachmentslist li {
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
2018-04-02 17:46:14 +00:00
|
|
|
|
|
|
|
.faded {
|
|
|
|
color: @color-black-shade-text;
|
|
|
|
}
|
2018-03-15 13:27:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#taskedit-attachment-form {
|
|
|
|
// fixes redundant scrolling and height issue on task edit form
|
|
|
|
position: absolute;
|
|
|
|
}
|
2018-03-22 12:38:43 +00:00
|
|
|
|
|
|
|
.messagetasklinks {
|
|
|
|
& > i.icon:before {
|
2018-03-26 11:12:31 +02:00
|
|
|
content: @fa-var-calendar-check !important;
|
2018-03-22 12:38:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tasklist {
|
|
|
|
list-style-type: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
height: auto !important;
|
|
|
|
}
|
|
|
|
}
|
2018-03-22 19:31:13 +00:00
|
|
|
|
|
|
|
#print-layout {
|
|
|
|
#tasklist {
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
li {
|
|
|
|
list-style-type: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.description {
|
|
|
|
display: block;
|
2018-03-27 15:33:18 +00:00
|
|
|
white-space: pre-wrap;
|
2018-03-22 19:31:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
|
|
|
position: relative;
|
|
|
|
font-weight: bold;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.taskhead {
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-03-25 13:15:30 +00:00
|
|
|
|
|
|
|
.taskitem-draghelper {
|
|
|
|
.overflow-ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
.quickview-active {
|
|
|
|
// TODO ?
|
|
|
|
}
|
|
|
|
|
|
|
|
#rootdroppable {
|
|
|
|
// TODO ?
|
|
|
|
}
|
|
|
|
|