
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

/*== calendar-event-column ==*/

calendar-event-column { 
  -moz-binding: url(chrome://calendar/content/calendar-multiday-view.xml#calendar-event-column);
}

calendar-event-column { 
  border-left: 1px solid #999999;
  border-top: 1px solid #999999;
}

calendar-event-column[selected="true"] { 
  background: #ffe79c !important;
}

.calendar-event-column-header[selected="true"] { 
  background: #ffe79c !important;
}

.calendar-event-column-header { 
  border-left: 1px solid #999999;
  border-top: 1px solid #999999;
}

.calendar-event-column-linebox[orient="horizontal"] {
  border-right: 1px solid #aaaaaa;
}

.calendar-event-column-linebox[orient="vertical"] {
  border-bottom: 1px solid #aaaaaa;
}

.fgdragbox {
  -moz-box-orient: inherit;
  display: none;
}

.fgdragbox[dragging="true"] {
  display: -moz-box;
  background: blue;
  opacity: 0.5;
}

.fgdragcontainer {
  -moz-box-orient: inherit;
  display: none;
}

.fgdragcontainer[dragging="true"] {
  display: -moz-box;
  /* This is a workaround for a stack bug and display: hidden in underlying
   * elements -- the display: hidden bits get misrendered as being on top.
   * Setting an opacity here forces a view to be created for this element, too.
   */
  opacity: 0.9999;
}

.fgdragbox-label {
  font-weight: bold;
  overflow: hidden;
}

/*== calendar-event-box ==*/

calendar-event-box { 
  -moz-binding: url(chrome://calendar/content/calendar-multiday-view.xml#calendar-event-box);
}

.calendar-event-box-container {
  background: #4e84c2;
  padding: 2px;
  overflow: hidden;
}

.calendar-event-box-container[parentorient="vertical"] {
  border-left: 1px solid #2e4e73;
  border-right: 1px solid #2e4e73;
  border-top: none;
  border-bottom: none;
}

.calendar-event-box-container[parentorient="horizontal"] {
  border-left: none;
  border-right: none;
  border-top: 1px solid #2e4e73;
  border-bottom: 1px solid #2e4e73;
}

textbox.editable-label { 
  font-size: x-small;
  background: transparent !important;
  border: none;
  padding: 0px;
  -moz-appearance: none;
}

calendar-event-box[selected="true"] .calendar-event-box-container { 
  background: #ffdb67 !important;
}

/*== calendar-event-gripbar ==*/

calendar-event-gripbar { 
  -moz-binding: url(chrome://calendar/content/calendar-multiday-view.xml#calendar-event-gripbar);

  -moz-box-align: center;
  -moz-box-pack: center;
  
  min-height: 3px;
  min-width: 3px;

  /* background: #4e84c2;*/
  background: #2e4e73;
}

calendar-event-gripbar[parentorient="vertical"] {
  -moz-box-align: center;
  -moz-box-pack: center;

/*  border-top: 1px dotted #2e4e73;
  border-bottom: 1px dotted #2e4e73; */

  cursor: n-resize;
}

calendar-event-gripbar[parentorient="horizontal"] {
  -moz-box-align: center;
  -moz-box-pack: center;

/*  border-left: 1px dotted #2e4e73;
  border-right: 1px dotted #2e4e73; */

  cursor: e-resize;
}

/*== calendar-time-bar ==*/
calendar-time-bar { 
  -moz-binding: url(chrome://calendar/content/calendar-multiday-view.xml#calendar-time-bar);
  /* border-right: 1px solid #999999; */
  /* border-bottom: 1px solid #999999; */
}

.calendar-time-bar-label { 
  font-weight: bold;
}

.calendar-time-bar-box-odd {
  border-top: 1px solid #999999;
  border-left: 1px solid #999999;
  background: #dddddd;
}

.calendar-time-bar-box-even {
  border-top: 1px solid #999999;
  border-left: 1px solid #999999;
  background: #dddddd;
}

/*== calendar-multiday-view ==*/
calendar-multiday-view { 
  -moz-binding: url(chrome://calendar/content/calendar-multiday-view.xml#calendar-multiday-view);
  -moz-user-focus: normal;
}

calendar-multiday-view[hidden="true"] { 
  display: none;
}

.calendar-day-label-box { 
  background: #dddddd;
}

.calendar-day-label-date {
  font-weight: bold;
  text-align: center;
}

.calendar-day-label-name {
  font-weight: bold;
  font-size: large;
  text-align: center;
}
