/* 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-common/skin/calendar-task-view.css);

#calendar-task-details-container {
    background-color: ButtonFace;
    border-bottom-width: 0;
    padding-top: 2px;
    overflow: hidden;
}

#other-actions-box {
    margin-inline-end: 3px;
}

#task-addition-box {
    background: linear-gradient(#eaeaea, #d1d1d1);
    border-bottom-color: #bebebe
}

/* Hide the search glass */
.task-edit-field {
    margin-top: 0;
    margin-bottom: 0;
    background-image: none;
    padding-inline-start: 4px !important;
}

@media (-moz-mac-yosemite-theme) {
    #task-addition-box:-moz-window-inactive {
        border-bottom-color: hsl(0, 0%, 85%);
        background: -moz-mac-chrome-inactive;
    }

    #calendar-task-details-container:-moz-window-inactive {
        background-color: -moz-mac-chrome-inactive;
    }
}

#calendar-add-task-button[disabled="true"] {
    fill-opacity: .5;
}

#calendar-add-task-button > .toolbarbutton-text {
    margin-inline-start: 0px;
}
