/* 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/. */

#calendar-header-name-column,
#calendar-task-details-attachment-row > hbox {
    -moz-padding-start: 0.1em;
}

#calendar-task-details-grid {
    padding-top: 1px;
    -moz-padding-start: 0;
    -moz-padding-end: 0;
    padding-bottom: 0.2em;
}

#other-actions-box {
    padding-bottom: 0.3em;
}

#calendar-task-details {
    min-height: 6ex;
}

#task-addition-box {
    -moz-border-start: 1px solid ThreeDShadow;
    -moz-border-end: 0px;
    border-bottom: 1px solid ThreeDShadow;
}

#calendar-task-details-description {
    -moz-appearance: textfield;
    border: 1px solid;
    margin: 0;
    font-family: serif;
    font-size: 16px;
}

.task-details-name {
    text-align: right;
    background-color: transparent;
    border: none;
}

#calendar-task-details-grid > rows > .item-date-row > .headline {
    font-weight: normal;
}

#calendar-task-details-attachment-row {
    margin-top: 3px;
}

#calendar-task-details-attachment-rows {
    max-height: 60px;
}

.task-details-value {
    text-align: left;
    background-color: transparent;
    border: none;
}

#calendar-task-tree {
    min-height: 98px;
    -moz-border-start: 1px solid ThreeDShadow;
    border-bottom: 1px solid ThreeDHighlight;
    -moz-border-end: 1px solid ThreeDHighlight;
}

#calendar-task-tree-detail {
    border-top: 1px solid ThreeDShadow;
    margin: 3px 0;
}

#view-task-edit-field {
    margin: 5px;
}

.task-edit-field[readonly="true"] {
    color: GrayText;
}

#calendar-task-details-title {
    font-weight: bold;
}

#unifinder-task-edit-field {
    margin: 3px;
}

#unifinder-todo-tree > .calendar-task-tree {
    margin-bottom: 3px;
}

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

#task-actions-toolbox {
    border: none;
}

#task-actions-toolbar {
    -moz-appearance: none;
    -moz-box-pack: end;
    border: none;
}

#task-actions-toolbar toolbarpaletteitem toolbarseparator,
#task-actions-toolbar toolbarseparator {
    height: 26px;
}

#task-actions-toolbar toolbarspacer {
    height: 20px;
}

window[toolboxId="task-actions-toolbox"] #wrapper-spring {
    display: none;
}

window[toolboxId="task-actions-toolbox"] #smallicons,
window[toolboxId="task-actions-toolbox"] button[icon="add"] {
    display: none;
}

window[toolboxId="task-actions-toolbox"] #modelist menuitem:first-child {
    display: none;
}

#task-actions-toolbox[doCustomization] {
    background: grey;
}

#task-actions-toolbox[doCustomization] #task-actions-toolbar {
    min-width: 100px;
    min-height: 24px;
}

#calendar-add-task-button {
    -moz-margin-start: 5px;
}

#calendar-add-task-button > .toolbarbutton-text {
    -moz-padding-start: 5px;
}
