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

/* Alarm dialog styles */
#alarm-richlist {
    margin: 10px;
}

#alarm-actionbar {
    min-width: 1px;
    margin: 0 5px 10px;
}

/* Alarm widget specific styles */
richlistitem[is="calendar-alarm-widget-richlistitem"] {
    border-bottom: 1px dotted ThreeDShadow;
    padding: 6px 7px;
}

richlistitem[is="calendar-alarm-widget-richlistitem"][selected="true"] {
    background-color: Highlight;
    color: HighlightText;
    padding: 0 5px;
}

richlistitem[is="calendar-alarm-widget-richlistitem"][selected="true"] .alarm-title-label {
   font-weight: bold;
}

richlistitem[is="calendar-alarm-widget-richlistitem"][selected="true"] .alarm-action-buttons {
    display: -moz-box;
}

richlistitem[is="calendar-alarm-widget-richlistitem"][selected="true"] > hbox {
    margin: 5px;
}

richlistitem[is="calendar-alarm-widget-richlistitem"][selected="true"] .alarm-relative-date-label,
.additional-information-box,
.alarm-action-buttons {
    display: none;
}

richlistitem[is="calendar-alarm-widget-richlistitem"][selected="true"] .additional-information-box,
richlistitem[is="calendar-alarm-widget-richlistitem"][selected="true"] .action-buttons-box {
    display: -moz-box;
}

.alarm-details-label {
    color: HighlightText;
    text-decoration: underline;
}

richlistitem[is="calendar-alarm-widget-richlistitem"][selected="true"] .alarm-calendar-image {
    -moz-context-properties: fill;
    fill: currentColor;
    list-style-image: url(chrome://calendar-common/skin/icons/icon32.svg);
    margin-top: 2px;
}

.snooze-popup-button {
    min-width: 0;
    -moz-appearance: toolbarbutton;
    -moz-context-properties: fill;
    fill: currentColor;
}

.snooze-popup-ok-button {
    list-style-image: url(chrome://calendar-common/skin/icons/complete.svg);
}

.snooze-popup-cancel-button {
    list-style-image: url(chrome://calendar-common/skin/icons/decline.svg);
}

.snooze-popup-button > .button-box > .button-icon {
    margin: 0;
}

.snooze-popup-button > .button-box {
    border: 0;
    padding: 0;
    -moz-box-pack: center;
    -moz-box-align: center;
}

.snooze-popup-button:focus > .button-box {
    border: 1px dotted ThreeDDarkShadow;
    padding: 0;
}
