/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/. */

@import url(chrome://calendar/skin/common/calendar-task-view.css);

#calendar-task-view-splitter {
     -moz-appearance: none;
    border-bottom: 1px solid ThreeDShadow;
    /* splitter grip area */
    height: 5px;
    /* make only the splitter border visible */
    margin-top: -5px;
    /* because of the negative margin needed to make the splitter visible */
    position: relative;
    z-index: 10;
}

#other-actions-box {
    -moz-margin-end: -1px;
}

.task-details-name {
    color: windowtext;
    opacity: 0.5; /* lower contrast */
}

#calendar-task-details-grid > rows > .item-date-row > .headline {
    color: windowtext;
    opacity: 0.5; /* lower contrast */
}

.task-details-value {
    color: WindowText;
}

#task-text-filter-field {
    margin: 5px;
}

/* ::::: task actions toolbar ::::: */

#task-actions-toolbox {
    -moz-appearance: none;
}

#task-actions-toolbar {
    min-height: 0;
    padding: 0;
}

#task-actions-category {
    list-style-image: url(chrome://calendar/skin/tasks-actions.png);
    -moz-image-region: rect(0px, 16px, 16px, 0px);
}

#task-actions-markcompleted {
    list-style-image: url(chrome://calendar/skin/tasks-actions.png);
    -moz-image-region: rect(0px, 32px, 16px, 16px);
}

#task-actions-priority {
    list-style-image: url(chrome://calendar/skin/tasks-actions.png);
    -moz-image-region: rect(0px, 48px, 16px, 32px);
}

#calendar-delete-task-button {
    list-style-image: url(chrome://calendar/skin/toolbar-small.png);
    -moz-image-region: rect(0px, 48px, 16px, 32px);
}

#calendar-add-task-button {
    list-style-image: url(chrome://calendar/skin/toolbar-small.png);
    -moz-image-region: rect(0px 256px 16px 240px);
}

#calendar-add-task-button[disabled="true"] {
    -moz-image-region: rect(32px 256px 48px 240px);
}
