/* 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-management.css);

.calendar-list-tree > treechildren::-moz-tree-image(checkbox-treecol) {
    list-style-image: url(chrome://calendar/skin/checkbox-images.png);
    height: 16px;
    width: 16px;
}

@media (-moz-mac-graphite-theme) {
    .calendar-list-tree > treechildren::-moz-tree-image(checkbox-treecol) {
        list-style-image: url(chrome://calendar/skin/checkbox-images-graphite.png);
    }
}

.calendar-list-tree > treechildren::-moz-tree-image(checkbox-treecol) {
    -moz-image-region: rect(0 32px 32px 0);
}

.calendar-list-tree > treechildren::-moz-tree-image(checkbox-treecol, checked) {
    -moz-image-region: rect(0 64px 32px 32px);
}

.calendar-list-tree > treechildren::-moz-tree-image(checkbox-treecol, disabled) {
    -moz-image-region: rect(0 96px 32px 64px);
}

.calendar-list-tree > treechildren::-moz-tree-image(checkbox-treecol, checked, disabled) {
    -moz-image-region: rect(0 128px 32px 96px);
}

.calendar-list-tree > treechildren::-moz-tree-cell(checkbox-treecol) {
    padding: 0;
}

.calendar-list-tree > treechildren::-moz-tree-image(status-treecol, readonly, selected, focus) {
    list-style-image: url(chrome://calendar/skin/locked-selected-mac.svg);
}

.calendar-list-tree > treechildren::-moz-tree-image(status-treecol, readfailed, selected, focus) {
    list-style-image: url(chrome://calendar/skin/warn-selected-mac.svg);
}
