You are here

calendar_multiday.css in Calendar 8

Same filename and directory in other branches
  1. 7.3 css/calendar_multiday.css
/**
 * Calendar calendar table styles.
 */
.calendar-calendar tr.odd,
.calendar-calendar tr.even {
  background-color: #fff;
}
.calendar-calendar table {
  width: 100%; /* Setting at 100% causes problem in Internet Explorer. */
  margin: 0 auto;
  padding: 0;
  border-spacing: 0;
  border-collapse: collapse;
}
.calendar-calendar .month-view table {
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
}
/**
 * IE needs a little help to get the side by side tables to the right size
 */
.calendar-calendar .year-view td {
  width: 32%;
  padding: 1px;
  border: none;
}
.calendar-calendar .year-view td table td {
  width: 13%;
  padding: 0;
}
.calendar-calendar tr {
  margin: 0;
  padding: 0;
  background-color: white;
}
.calendar-calendar th {
  margin: 0;
  text-align: center;
}
.calendar-calendar th a {
  font-weight: bold;
}
.calendar-calendar td {
  width: 14%;
  margin: 0;
  padding: 0;
  text-align: right;
  vertical-align: top;
  color: #777;
  border: 1px solid #ccc;
}
/**
 * Simplify the mini calendar by removing borders.
 */
.calendar-calendar .mini {
  border: none;
}
/**
 * Format for the week number in the first cell.
 */
.calendar-calendar td.week {
  width: 1%;
  min-width: 1%;
}
.calendar-calendar .week {
  clear: both;
  color: #555;
  font-size: 0.8em;
  font-style: normal;
}
/**
 * IE6 does not support min-height, using Min-Height fast hack from
 * http://www.dustindiaz.com/min-height-fast-hack .
 */
.calendar-calendar .inner {
  height: auto;
  margin: 0;
  padding: 0;
}
.calendar-calendar .inner div {
  margin: 0;
  padding: 0;
}
/**
 * Make sure paragraphs buried in calendar cells use padding, not margins, for
 * separation so the background color doesn't come through.
 */
.calendar-calendar .inner p {
  margin: 0;
  padding: 0 0 0.8em 0;
}
.calendar-calendar td a {
  text-decoration: none;
  font-weight: bold;
}
.calendar-calendar td a:hover {
  text-decoration: underline;
}
.calendar-calendar td.year,
.calendar-calendar td.month {
  text-align: center;
}
/**
 * Format days of the week header cells.
 */
.calendar-calendar th.days {
  margin: 0;
  padding: 1px;
  text-align: center;
  color: #ccc;
  background-color: #224;
}
/**
 * Floating day number div.
 */
.calendar-calendar div.day {
  float: right;
  clear: both;
  width: 1.5em;
  margin: 0;
  padding: 0.125em 0.25em 0 0.25em;
  text-align: center;
  border: 1px solid gray;
  border-width: 0 0 1px 1px;
  background-color: #f3f3f3;
}
/**
 * Individual node container.
 */
.calendar-calendar div.calendar {
  float: right; /* needed to keep IE from hiding the floating day number */
  clear: both;
  width: 96%;
  margin: 0 0.25em 0.25em 0;
  text-align: left;
  border: solid 1px #ddd;
  background-color: #fff;
}
/**
 * No floating of day view content because there is no floating day number.
 */
.calendar-calendar .day-view div.calendar {
  float: none;
  width: 98%;
  margin: 1% 1% 0 1%;
}
.calendar-calendar div.title {
  text-align: center;
  font-size: 0.8em;
}
.calendar-calendar div.title a {
  color: #000;
}
.calendar-calendar div.title a:hover {
  color: #c00;
}
.calendar-calendar .content {
  clear: both;
  padding: 3px;
  padding-left: 5px;
}
.calendar div.form-item {
  white-space: normal;
}
table td.mini,
table th.mini,
table.mini td.week {
  margin: 0;
  padding: 0 1px 0 0;
}
table td.mini a {
  font-weight: normal;
}
.calendar-calendar .mini-day-off {
  padding: 0;
}
.calendar-calendar .mini-day-on {
  padding: 0;
}
table .mini-day-on a {
  text-decoration: underline;
}
.calendar-calendar .mini .title {
  font-size: 0.8em;
}
.mini .calendar-calendar .week {
  font-size: 0.7em;
}
.mini-row {
  width: 100%;
  border: none;
}
.mini {
  width: 32%;
  vertical-align: top;
}

/**
 * Formatting for the legend stripe and block.
 */
.calendar-calendar .stripe {
  width: auto;
  height: 5px;
  font-size: 1px !important;
  line-height: 1px !important;
}
.calendar-calendar .day-view .stripe {
  width: 100%;
}
table.calendar-legend {
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: #ccc;
}
table.calendar-legend tr.odd .stripe,
table.calendar-legend tr.even .stripe {
  height: 12px !important;
  font-size: 9px !important;
  line-height: 10px !important;
}
.calendar-legend td {
  padding-left: 5px;
  text-align: left;
}
.calendar-empty {
  font-size: 1px;
  line-height: 1px;
}
/**
 * Formatting for the full day view.
 */
.calendar-calendar td.calendar-agenda-hour {
  width: 1%;
  padding-top: 0.25em;
  text-align: right;
  border: none;
  border-top: 1px solid #ccc;
}
.calendar-calendar td.calendar-agenda-no-hours {
  min-width: 1%;
}
.calendar-calendar td.calendar-agenda-hour .calendar-hour {
  font-size: 1.2em;
  font-weight: bold;
}
.calendar-calendar td.calendar-agenda-hour .calendar-ampm {
  font-size: 1em;
}
.calendar-calendar td.calendar-agenda-items {
  text-align: left;
  border: 1px solid #ccc;
}
.calendar-calendar td.calendar-agenda-items div.calendar {
  width: auto;
  margin: 0;
  padding: 0.25em;
}
.calendar-calendar div.calendar div.inner .calendar-agenda-empty {
  width: 100%;
  padding: 1em 0;
  text-align: center;
  vertical-align: middle;
  background-color: #fff;
}
/**
 * The popup date selector for jumping to a new date.
 */
.calendar-date-select form {
  float: right;
  width: 25%;
  text-align: right;
}
.calendar-date-select div,
.calendar-date-select input,
.calendar-date-select label {
  float: right;
  clear: both;
  margin: 0;
  padding: 0;
  text-align: right;
}
.calendar-date-select .description {
  float: right;
}
.calendar-label {
  display: block;
  clear: both;
  font-weight: bold;
}
.calendar-calendar div.date-nav {
  width: auto;
  padding: 0.2em;
  color: #777;
  border: 1px solid #ccc;
  background-color: #ccc;
}
.calendar-calendar div.date-nav a,
.calendar-calendar div.date-nav h3 {
  text-decoration: none;
  color: #777;
}
.calendar-calendar th.days {
  color: #777;
  border: 1px solid #ccc;
  background-color: #eee;
  font-weight: bold;
}
.calendar-calendar td.empty {
  color: #cc9;
  border-color: #ccc;
  background: #ccc;
}
.calendar-calendar table.mini td.empty {
  border-color: #fff;
  background: #fff;
}
.calendar-calendar td div.day {
  margin-bottom: 2px;
  border: 1px solid #ccc;
  border-top: none;
  border-right: none;
}
.calendar-calendar td .inner div,
.calendar-calendar td .inner div a {
  background: #eee;
}
/**
 * Set small font size for all items in calendar div, themes can override this.
 * Use x-small instead of em to avoid multiplying effect in nested items.
 */
.calendar-calendar div.calendar {
  border: none;
  font-size: x-small;
}
.calendar-calendar td .inner div.calendar div,
.calendar-calendar td .inner div.calendar div a {
  padding: 0;
  border: none;
  background: #ffc;
}
.calendar-calendar td .inner div.calendar div.calendar-more,
.calendar-calendar td .inner div.calendar div.calendar-more a {
  text-align: right;
  color: #444;
  background: #fff;
}
.calendar-calendar td .inner .view-field,
.calendar-calendar td .inner .view-field a {
  color: #444;
  font-weight: normal;
}
.calendar-calendar td span.date-display-single,
.calendar-calendar td span.date-display-start,
.calendar-calendar td span.date-display-end,
.calendar-calendar td span.date-display-separator {
  font-weight: bold;
}
.calendar-calendar td .inner div.day a {
  color: #4b85ac;
}
.calendar-calendar tr td.today,
.calendar-calendar tr.odd td.today,
.calendar-calendar tr.even td.today {
  background-color: #c3d6e4;
}

/**
 * The following are not used by default but are available for themes.
 */




/**
 * Multi day styles.
 */
.calendar-calendar tbody {
  border-top: none;
}
.calendar-calendar .month-view .full .inner,
.calendar-calendar .week-view .full .multi-day .inner {
  height: auto;
  min-height: auto;
}
.calendar-calendar .week-view .full .calendar-agenda-hour,
.calendar-calendar .month-view .full .single-day .inner .view-item {
  float: left;
  width: 100%;
}
.calendar-calendar .week-view .full .calendar-agenda-hour,
.calendar-calendar .day-view .full .calendar-agenda-hour {
  padding-right: 2px;
}
.calendar-calendar .week-view .full .calendar-agenda-hour {
  width: 6%;
  min-width: 0;
}
.calendar-calendar .week-view .full .days {
  width: 13%;
}
.calendar-calendar .month-view .full div.calendar,
.calendar-calendar .week-view .full div.calendar,
.calendar-calendar .day-view div.calendar {
  width: auto;
}
.calendar-calendar .month-view .full tr.date-box,
.calendar-calendar .month-view .full tr.date-box td,
.calendar-calendar .month-view .full tr.multi-day,
.calendar-calendar .month-view .full tr.multi-day td {
  height: 19px;
  max-height: 19px;
}
.calendar-calendar .month-view .full tr.single-day .no-entry,
.calendar-calendar .month-view .full tr.single-day .no-entry .inner {
  height: 44px !important;
  line-height: 44px;
}
.calendar-calendar .month-view .full tr.single-day .noentry-multi-day,
.calendar-calendar .month-view .full tr.single-day .noentry-multi-day .inner {
  height: 22px !important;
  line-height: 22px;
}
.calendar-calendar .month-view .full td,
.calendar-calendar .week-view .full td,
.calendar-calendar .day-view  td {
  padding: 1px 2px 0 2px;
  vertical-align: top;
}
.calendar-calendar .month-view .full td.date-box {
  height: 1%;
  padding-bottom: 2px;
  border-bottom: 0;
}
.calendar-calendar .month-view .full .week {
  font-size: inherit;
}
.calendar-calendar .month-view .full .week a,
.calendar-calendar .week-view .full .week a {
  color: #4b85ac;
}
.calendar-calendar .month-view .full td .inner div.day,
.calendar-calendar .month-view .full td .inner div.day a {
  margin-bottom: 0;
  border: none;
  background: none;
}
.calendar-calendar .month-view .full td.date-box .inner,
.calendar-calendar .week-view .full td.date-box .inner {
  min-height: inherit;
}
.calendar-calendar .month-view .full td.multi-day,
.calendar-calendar .week-view .full td.multi-day {
  border-top: 0;
  border-bottom: 0;
}
.calendar-calendar .week-view .full .first td.multi-day {
  border-top: 1px solid #ccc;
}
.calendar-calendar .month-view .full td.single-day {
  border-top: 0;
}
.calendar-calendar .month-view .full td.multi-day .inner,
.calendar-calendar .week-view .full td.multi-day .inner,
.calendar-calendar .day-view .full td.multi-day .inner {
  position: relative;
  width: auto;
  min-height: inherit;
}
.calendar-calendar .month-view .full td.multi-day.no-entry {
  min-height: 0;
}
.calendar-calendar .month-view .full td.single-day .calendar-empty,
.calendar-calendar .month-view .full td.single-day.empty,
.calendar-calendar .month-view .full td.date-box.empty {
  background: #f4f4f4;
}
.calendar-calendar .month-view .full td.single-day .inner div,
.calendar-calendar .month-view .full td.single-day .inner div a,
.calendar-calendar .month-view .full td.multi-day .inner div,
.calendar-calendar .month-view .full td.multi-day .inner div a,
.calendar-calendar .month-view .full td .inner div.calendar.monthview div,
.calendar-calendar .month-view .full td .inner div.calendar.monthview div a,
.calendar-calendar .week-view .full td.single-day .inner div,
.calendar-calendar .week-view .full td.single-day .inner div a,
.calendar-calendar .week-view .full td.multi-day .inner div,
.calendar-calendar .week-view .full td.multi-day .inner div a,
.calendar-calendar .week-view .full td .inner div.calendar.weekview div,
.calendar-calendar .week-view .full td .inner div.calendar.weekview div a,
.calendar-calendar .day-view .full td .inner div.view-item,
.calendar-calendar .day-view .full td .inner div.calendar div,
.calendar-calendar .day-view .full td .inner div.calendar div a {
  background: none;
}
.calendar-calendar .day-view .full td .inner div.calendar div,
.calendar-calendar .day-view .full td .inner div.calendar div a {
  margin: 0 3px;
}
.calendar-calendar .day-view .full td .inner div.calendar div.stripe {
  margin: 0;
}
.calendar-calendar .month-view .full tr td.today,
.calendar-calendar .month-view .full tr.odd td.today,
.calendar-calendar .month-view .full tr.even td.today {
  border-right: 2px solid #7c7f12;
  border-left: 2px solid #7c7f12;
  background: none;
}
.calendar-calendar .month-view .full td.date-box.today {
  border-width: 2px 2px 0 2px;
  border-style: solid;
  border-color: #7c7f12;
}
.calendar-calendar .month-view .full tr td.single-day.today {
  border-bottom: 2px solid #7c7f12;
}
.calendar-calendar .month-view .full tr td.multi-day.starts-today {
  border-left: 2px solid #7c7f12;
}
.calendar-calendar .month-view .full tr td.multi-day.ends-today {
  border-right: 2px solid #7c7f12;
}
.calendar-calendar .month-view .full tr td.multi-day,
.calendar-calendar .month-view .full tr td.single-day {
  border-top: 0;
}
.calendar-calendar .month-view .full tr td.multi-day,
.calendar-calendar .month-view .full tr td.date-box {
  border-bottom: 0;
}
.calendar-calendar .month-view .full .inner .monthview,
.calendar-calendar .week-view .full .inner .weekview,
.calendar-calendar .day-view .full .inner .dayview {
  position: relative;
  display: block;
  float: none;
  width: auto;
  margin: 0.25em auto;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
.calendar-calendar .month-view .full td.single-day div.monthview,
.calendar-calendar .week-view .full td.single-day div.weekview,
.calendar-calendar .day-view .full td.single-day div.dayview {
  overflow: hidden;
  width: auto;
  padding: 0 3px;
  background: #ffc;
}
.calendar-calendar .month-view .full td.single-day .calendar-more div.monthview {
  background: none;
}
.calendar-calendar .day-view td div.dayview {
  padding: 0;
}
.calendar-calendar .month-view .full td.multi-day div.monthview,
.calendar-calendar .week-view .full td.multi-day div.weekview,
.calendar-calendar .day-view .full td.multi-day div.dayview {
  position: relative;
  overflow: hidden;
  height: 1.9em;
  margin: 0 auto;
  color: #fff;
  background: #74a5d7;
}
.calendar-calendar .week-view .full td.multi-day div.weekview {
  height: 3.5em;
}
.calendar-calendar .month-view .full td.multi-day .inner .view-field,
.calendar-calendar .month-view .full td.multi-day .inner .view-field a,
.calendar-calendar .week-view .full td.multi-day .inner .view-field,
.calendar-calendar .week-view .full td.multi-day .inner .view-field a,
.calendar-calendar .day-view .full td.multi-day .inner .view-field,
.calendar-calendar .day-view .full td.multi-day .inner .view-field a {
  color: #fff;
}

.calendar-calendar .day-view .full td.multi-day div.dayview,
.calendar-calendar .week-view .full td.multi-day div.weekview {
  margin-bottom: 2px;
}
.calendar-calendar .month-view .full td.multi-day .calendar.monthview .view-field {
  float: left;
  margin-right: 3px;
  white-space: nowrap;
}
.calendar-calendar .week-view .full td.multi-day .calendar.weekview .view-field {
  display: inline;
  margin-right: 3px;
  white-space: nowrap;
}
.calendar-calendar .day-view .full td.multi-day .calendar.weekview .view-field {
  display: block;
}
.calendar-calendar .month-view .full td.multi-day .calendar.monthview .contents,
.calendar-calendar .week-view .full td.multi-day .calendar.weekview .contents {
  position: absolute;
  left: 5px;
  width: 3000px;
}
.calendar-calendar .day-view td .stripe,
.calendar-calendar .month-view .full td .stripe,
.calendar-calendar .week-view .full td .stripe {
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  -moz-border-radius: 5px 5px 0 0;
  border-radius: 5px 5px 0 0;
}
.calendar-calendar .full td.single-day .continuation,
.calendar-calendar .full td.single-day .continues,
.calendar-calendar .full td.single-day .cutoff {
  display: none;
}
.calendar-calendar .month-view .full td.multi-day  .inner .monthview .continuation,
.calendar-calendar .week-view .full td.multi-day  .inner .weekview .continuation {
  float: left;
  height: 1.9em;
  margin-right: 3px;
}
.calendar-calendar .week-view .full td.multi-day  .inner .weekview .continuation {
  height: 2.75em;
  margin-right: 8px;
  padding-top: 0.75em;
}
.calendar-calendar .month-view .full td.multi-day .inner .monthview .continues,
.calendar-calendar .month-view .full td.multi-day .inner .monthview .cutoff,
.calendar-calendar .week-view .full td.multi-day .inner .weekview .continues,
.calendar-calendar .week-view .full td.multi-day .inner .weekview .cutoff {
  position: absolute;
  z-index: 1;
  right: 0;
  width: 10px;
  height: 1.9em;
  padding-left: 6px;
  text-align: left;
  -moz-border-radius: 0 5px 5px 0;
  border-radius: 0 5px 5px 0;
  background: #74a5d7;
}
.calendar-calendar .week-view .full td.multi-day .inner .weekview .continues,
.calendar-calendar .week-view .full td.multi-day .inner .weekview .cutoff {
  height: 2.75em;
  padding-top: 0.75em;
}
.calendar-calendar .month-view .full td.multi-day .inner .monthview .cutoff,
.calendar-calendar .week-view .full td.multi-day .inner .weekview .cutoff {
  width: 8px;
  padding-left: 0;
}
.calendar-calendar .week-view .full td.multi-day {
  padding: 2px;
}
.calendar-calendar .week-view td.single-day div.calendar {
  width: 100%;
  padding-right: 0;
  padding-left: 0;
}
.calendar-calendar .week-view .full tr.last td.multi-day {
  border-bottom: 1px solid #ccc;
}
/**
 * Restyle Header.
 */
.view .date-nav-wrapper .clear-block {
  margin-bottom: 10px;
}
.view .date-nav-wrapper {
  position: relative;
  width: 100%;
  margin-top: 5px;
}
.view .date-nav-wrapper .date-nav {
  position: relative;
  height: 30px;
  height: auto;
  min-height: 30px;
  margin-bottom: 10px;
  border: 0;
  background-color: transparent;
}
.view .date-nav-wrapper .date-prev a,
.view .date-nav-wrapper .date-next a {
  text-decoration: none;
  color: inherit;
  font-size: 12px;
}
.view .date-nav-wrapper.date-nav a:hover {
  text-decoration: underline;
}
.view .date-nav-wrapper .date-prev {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 60px;
  left: auto;
  float: none;
  width: auto;
  padding: 5px 0;
  text-align: right;
  -moz-border-radius: 5px 0 0 5px;
  border-radius: 5px 0 0 5px;
  background: none repeat scroll 0 0 #dfdfdf;
  font-size: 12px;
}
.block-views .view .date-nav-wrapper .date-prev {
  right: auto;
  left: 0;
}
.view .date-nav-wrapper .date-prev a {
  margin-left: 10px;
  font-weight: bold;
}
.view .date-nav-wrapper .date-heading {
  position: relative;
  z-index: 0;
  top: 0;
  width: 100%;
  text-align: center;
}
.view .date-nav-wrapper .date-heading h3 {
  font-size: 1.7em;
  line-height: 30px;
}
.view .date-nav-wrapper .date-next {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  float: none;
  width: auto;
  padding: 5px 0;
  text-align: right;
  -moz-border-radius: 0 5px 5px 0;
  border-radius: 0 5px 5px 0;
  background: none repeat scroll 0 0 #dfdfdf;
  font-size: 12px;
}
.view .date-nav-wrapper .date-next a {
  margin-right: 10px;
  font-weight: bold;
}
.attachment .calendar-calendar {
  clear: both;
  margin-top: 20px;
}
.calendar-calendar th a,
.attachment .calendar-calendar th {
  border: 0;
  background-color: transparent;
}
.attachment .calendar-calendar th.calendar-agenda-hour {
  text-align: right;
  color: #777;
  font-weight: bold;
}
.view-calendar .feed-icon {
  margin-top: 5px;
}
.view table.mini .date-prev,
.view table.mini .date-next {
  background: none;
}
.date-nav div.date-prev,
.date-nav div.date-next,
.date-nav {
  width: auto;
}
ul.calendar-links,
.region-content ul.calendar-links {
  margin: 0;
  padding: 0;
}
.year-view div.month-view div.date-nav {
  min-height: 20px;
  background-color: #dfdfdf;
}

File

css/calendar_multiday.css
View source
  1. /**
  2. * Calendar calendar table styles.
  3. */
  4. .calendar-calendar tr.odd,
  5. .calendar-calendar tr.even {
  6. background-color: #fff;
  7. }
  8. .calendar-calendar table {
  9. width: 100%; /* Setting at 100% causes problem in Internet Explorer. */
  10. margin: 0 auto;
  11. padding: 0;
  12. border-spacing: 0;
  13. border-collapse: collapse;
  14. }
  15. .calendar-calendar .month-view table {
  16. width: 100%;
  17. margin: 0;
  18. padding: 0;
  19. border: none;
  20. }
  21. /**
  22. * IE needs a little help to get the side by side tables to the right size
  23. */
  24. .calendar-calendar .year-view td {
  25. width: 32%;
  26. padding: 1px;
  27. border: none;
  28. }
  29. .calendar-calendar .year-view td table td {
  30. width: 13%;
  31. padding: 0;
  32. }
  33. .calendar-calendar tr {
  34. margin: 0;
  35. padding: 0;
  36. background-color: white;
  37. }
  38. .calendar-calendar th {
  39. margin: 0;
  40. text-align: center;
  41. }
  42. .calendar-calendar th a {
  43. font-weight: bold;
  44. }
  45. .calendar-calendar td {
  46. width: 14%;
  47. margin: 0;
  48. padding: 0;
  49. text-align: right;
  50. vertical-align: top;
  51. color: #777;
  52. border: 1px solid #ccc;
  53. }
  54. /**
  55. * Simplify the mini calendar by removing borders.
  56. */
  57. .calendar-calendar .mini {
  58. border: none;
  59. }
  60. /**
  61. * Format for the week number in the first cell.
  62. */
  63. .calendar-calendar td.week {
  64. width: 1%;
  65. min-width: 1%;
  66. }
  67. .calendar-calendar .week {
  68. clear: both;
  69. color: #555;
  70. font-size: 0.8em;
  71. font-style: normal;
  72. }
  73. /**
  74. * IE6 does not support min-height, using Min-Height fast hack from
  75. * http://www.dustindiaz.com/min-height-fast-hack .
  76. */
  77. .calendar-calendar .inner {
  78. height: auto;
  79. margin: 0;
  80. padding: 0;
  81. }
  82. .calendar-calendar .inner div {
  83. margin: 0;
  84. padding: 0;
  85. }
  86. /**
  87. * Make sure paragraphs buried in calendar cells use padding, not margins, for
  88. * separation so the background color doesn't come through.
  89. */
  90. .calendar-calendar .inner p {
  91. margin: 0;
  92. padding: 0 0 0.8em 0;
  93. }
  94. .calendar-calendar td a {
  95. text-decoration: none;
  96. font-weight: bold;
  97. }
  98. .calendar-calendar td a:hover {
  99. text-decoration: underline;
  100. }
  101. .calendar-calendar td.year,
  102. .calendar-calendar td.month {
  103. text-align: center;
  104. }
  105. /**
  106. * Format days of the week header cells.
  107. */
  108. .calendar-calendar th.days {
  109. margin: 0;
  110. padding: 1px;
  111. text-align: center;
  112. color: #ccc;
  113. background-color: #224;
  114. }
  115. /**
  116. * Floating day number div.
  117. */
  118. .calendar-calendar div.day {
  119. float: right;
  120. clear: both;
  121. width: 1.5em;
  122. margin: 0;
  123. padding: 0.125em 0.25em 0 0.25em;
  124. text-align: center;
  125. border: 1px solid gray;
  126. border-width: 0 0 1px 1px;
  127. background-color: #f3f3f3;
  128. }
  129. /**
  130. * Individual node container.
  131. */
  132. .calendar-calendar div.calendar {
  133. float: right; /* needed to keep IE from hiding the floating day number */
  134. clear: both;
  135. width: 96%;
  136. margin: 0 0.25em 0.25em 0;
  137. text-align: left;
  138. border: solid 1px #ddd;
  139. background-color: #fff;
  140. }
  141. /**
  142. * No floating of day view content because there is no floating day number.
  143. */
  144. .calendar-calendar .day-view div.calendar {
  145. float: none;
  146. width: 98%;
  147. margin: 1% 1% 0 1%;
  148. }
  149. .calendar-calendar div.title {
  150. text-align: center;
  151. font-size: 0.8em;
  152. }
  153. .calendar-calendar div.title a {
  154. color: #000;
  155. }
  156. .calendar-calendar div.title a:hover {
  157. color: #c00;
  158. }
  159. .calendar-calendar .content {
  160. clear: both;
  161. padding: 3px;
  162. padding-left: 5px;
  163. }
  164. .calendar div.form-item {
  165. white-space: normal;
  166. }
  167. table td.mini,
  168. table th.mini,
  169. table.mini td.week {
  170. margin: 0;
  171. padding: 0 1px 0 0;
  172. }
  173. table td.mini a {
  174. font-weight: normal;
  175. }
  176. .calendar-calendar .mini-day-off {
  177. padding: 0;
  178. }
  179. .calendar-calendar .mini-day-on {
  180. padding: 0;
  181. }
  182. table .mini-day-on a {
  183. text-decoration: underline;
  184. }
  185. .calendar-calendar .mini .title {
  186. font-size: 0.8em;
  187. }
  188. .mini .calendar-calendar .week {
  189. font-size: 0.7em;
  190. }
  191. .mini-row {
  192. width: 100%;
  193. border: none;
  194. }
  195. .mini {
  196. width: 32%;
  197. vertical-align: top;
  198. }
  199. /**
  200. * Formatting for the legend stripe and block.
  201. */
  202. .calendar-calendar .stripe {
  203. width: auto;
  204. height: 5px;
  205. font-size: 1px !important;
  206. line-height: 1px !important;
  207. }
  208. .calendar-calendar .day-view .stripe {
  209. width: 100%;
  210. }
  211. table.calendar-legend {
  212. width: 100%;
  213. margin: 0;
  214. padding: 0;
  215. background-color: #ccc;
  216. }
  217. table.calendar-legend tr.odd .stripe,
  218. table.calendar-legend tr.even .stripe {
  219. height: 12px !important;
  220. font-size: 9px !important;
  221. line-height: 10px !important;
  222. }
  223. .calendar-legend td {
  224. padding-left: 5px;
  225. text-align: left;
  226. }
  227. .calendar-empty {
  228. font-size: 1px;
  229. line-height: 1px;
  230. }
  231. /**
  232. * Formatting for the full day view.
  233. */
  234. .calendar-calendar td.calendar-agenda-hour {
  235. width: 1%;
  236. padding-top: 0.25em;
  237. text-align: right;
  238. border: none;
  239. border-top: 1px solid #ccc;
  240. }
  241. .calendar-calendar td.calendar-agenda-no-hours {
  242. min-width: 1%;
  243. }
  244. .calendar-calendar td.calendar-agenda-hour .calendar-hour {
  245. font-size: 1.2em;
  246. font-weight: bold;
  247. }
  248. .calendar-calendar td.calendar-agenda-hour .calendar-ampm {
  249. font-size: 1em;
  250. }
  251. .calendar-calendar td.calendar-agenda-items {
  252. text-align: left;
  253. border: 1px solid #ccc;
  254. }
  255. .calendar-calendar td.calendar-agenda-items div.calendar {
  256. width: auto;
  257. margin: 0;
  258. padding: 0.25em;
  259. }
  260. .calendar-calendar div.calendar div.inner .calendar-agenda-empty {
  261. width: 100%;
  262. padding: 1em 0;
  263. text-align: center;
  264. vertical-align: middle;
  265. background-color: #fff;
  266. }
  267. /**
  268. * The popup date selector for jumping to a new date.
  269. */
  270. .calendar-date-select form {
  271. float: right;
  272. width: 25%;
  273. text-align: right;
  274. }
  275. .calendar-date-select div,
  276. .calendar-date-select input,
  277. .calendar-date-select label {
  278. float: right;
  279. clear: both;
  280. margin: 0;
  281. padding: 0;
  282. text-align: right;
  283. }
  284. .calendar-date-select .description {
  285. float: right;
  286. }
  287. .calendar-label {
  288. display: block;
  289. clear: both;
  290. font-weight: bold;
  291. }
  292. .calendar-calendar div.date-nav {
  293. width: auto;
  294. padding: 0.2em;
  295. color: #777;
  296. border: 1px solid #ccc;
  297. background-color: #ccc;
  298. }
  299. .calendar-calendar div.date-nav a,
  300. .calendar-calendar div.date-nav h3 {
  301. text-decoration: none;
  302. color: #777;
  303. }
  304. .calendar-calendar th.days {
  305. color: #777;
  306. border: 1px solid #ccc;
  307. background-color: #eee;
  308. font-weight: bold;
  309. }
  310. .calendar-calendar td.empty {
  311. color: #cc9;
  312. border-color: #ccc;
  313. background: #ccc;
  314. }
  315. .calendar-calendar table.mini td.empty {
  316. border-color: #fff;
  317. background: #fff;
  318. }
  319. .calendar-calendar td div.day {
  320. margin-bottom: 2px;
  321. border: 1px solid #ccc;
  322. border-top: none;
  323. border-right: none;
  324. }
  325. .calendar-calendar td .inner div,
  326. .calendar-calendar td .inner div a {
  327. background: #eee;
  328. }
  329. /**
  330. * Set small font size for all items in calendar div, themes can override this.
  331. * Use x-small instead of em to avoid multiplying effect in nested items.
  332. */
  333. .calendar-calendar div.calendar {
  334. border: none;
  335. font-size: x-small;
  336. }
  337. .calendar-calendar td .inner div.calendar div,
  338. .calendar-calendar td .inner div.calendar div a {
  339. padding: 0;
  340. border: none;
  341. background: #ffc;
  342. }
  343. .calendar-calendar td .inner div.calendar div.calendar-more,
  344. .calendar-calendar td .inner div.calendar div.calendar-more a {
  345. text-align: right;
  346. color: #444;
  347. background: #fff;
  348. }
  349. .calendar-calendar td .inner .view-field,
  350. .calendar-calendar td .inner .view-field a {
  351. color: #444;
  352. font-weight: normal;
  353. }
  354. .calendar-calendar td span.date-display-single,
  355. .calendar-calendar td span.date-display-start,
  356. .calendar-calendar td span.date-display-end,
  357. .calendar-calendar td span.date-display-separator {
  358. font-weight: bold;
  359. }
  360. .calendar-calendar td .inner div.day a {
  361. color: #4b85ac;
  362. }
  363. .calendar-calendar tr td.today,
  364. .calendar-calendar tr.odd td.today,
  365. .calendar-calendar tr.even td.today {
  366. background-color: #c3d6e4;
  367. }
  368. /**
  369. * The following are not used by default but are available for themes.
  370. */
  371. /**
  372. * Multi day styles.
  373. */
  374. .calendar-calendar tbody {
  375. border-top: none;
  376. }
  377. .calendar-calendar .month-view .full .inner,
  378. .calendar-calendar .week-view .full .multi-day .inner {
  379. height: auto;
  380. min-height: auto;
  381. }
  382. .calendar-calendar .week-view .full .calendar-agenda-hour,
  383. .calendar-calendar .month-view .full .single-day .inner .view-item {
  384. float: left;
  385. width: 100%;
  386. }
  387. .calendar-calendar .week-view .full .calendar-agenda-hour,
  388. .calendar-calendar .day-view .full .calendar-agenda-hour {
  389. padding-right: 2px;
  390. }
  391. .calendar-calendar .week-view .full .calendar-agenda-hour {
  392. width: 6%;
  393. min-width: 0;
  394. }
  395. .calendar-calendar .week-view .full .days {
  396. width: 13%;
  397. }
  398. .calendar-calendar .month-view .full div.calendar,
  399. .calendar-calendar .week-view .full div.calendar,
  400. .calendar-calendar .day-view div.calendar {
  401. width: auto;
  402. }
  403. .calendar-calendar .month-view .full tr.date-box,
  404. .calendar-calendar .month-view .full tr.date-box td,
  405. .calendar-calendar .month-view .full tr.multi-day,
  406. .calendar-calendar .month-view .full tr.multi-day td {
  407. height: 19px;
  408. max-height: 19px;
  409. }
  410. .calendar-calendar .month-view .full tr.single-day .no-entry,
  411. .calendar-calendar .month-view .full tr.single-day .no-entry .inner {
  412. height: 44px !important;
  413. line-height: 44px;
  414. }
  415. .calendar-calendar .month-view .full tr.single-day .noentry-multi-day,
  416. .calendar-calendar .month-view .full tr.single-day .noentry-multi-day .inner {
  417. height: 22px !important;
  418. line-height: 22px;
  419. }
  420. .calendar-calendar .month-view .full td,
  421. .calendar-calendar .week-view .full td,
  422. .calendar-calendar .day-view td {
  423. padding: 1px 2px 0 2px;
  424. vertical-align: top;
  425. }
  426. .calendar-calendar .month-view .full td.date-box {
  427. height: 1%;
  428. padding-bottom: 2px;
  429. border-bottom: 0;
  430. }
  431. .calendar-calendar .month-view .full .week {
  432. font-size: inherit;
  433. }
  434. .calendar-calendar .month-view .full .week a,
  435. .calendar-calendar .week-view .full .week a {
  436. color: #4b85ac;
  437. }
  438. .calendar-calendar .month-view .full td .inner div.day,
  439. .calendar-calendar .month-view .full td .inner div.day a {
  440. margin-bottom: 0;
  441. border: none;
  442. background: none;
  443. }
  444. .calendar-calendar .month-view .full td.date-box .inner,
  445. .calendar-calendar .week-view .full td.date-box .inner {
  446. min-height: inherit;
  447. }
  448. .calendar-calendar .month-view .full td.multi-day,
  449. .calendar-calendar .week-view .full td.multi-day {
  450. border-top: 0;
  451. border-bottom: 0;
  452. }
  453. .calendar-calendar .week-view .full .first td.multi-day {
  454. border-top: 1px solid #ccc;
  455. }
  456. .calendar-calendar .month-view .full td.single-day {
  457. border-top: 0;
  458. }
  459. .calendar-calendar .month-view .full td.multi-day .inner,
  460. .calendar-calendar .week-view .full td.multi-day .inner,
  461. .calendar-calendar .day-view .full td.multi-day .inner {
  462. position: relative;
  463. width: auto;
  464. min-height: inherit;
  465. }
  466. .calendar-calendar .month-view .full td.multi-day.no-entry {
  467. min-height: 0;
  468. }
  469. .calendar-calendar .month-view .full td.single-day .calendar-empty,
  470. .calendar-calendar .month-view .full td.single-day.empty,
  471. .calendar-calendar .month-view .full td.date-box.empty {
  472. background: #f4f4f4;
  473. }
  474. .calendar-calendar .month-view .full td.single-day .inner div,
  475. .calendar-calendar .month-view .full td.single-day .inner div a,
  476. .calendar-calendar .month-view .full td.multi-day .inner div,
  477. .calendar-calendar .month-view .full td.multi-day .inner div a,
  478. .calendar-calendar .month-view .full td .inner div.calendar.monthview div,
  479. .calendar-calendar .month-view .full td .inner div.calendar.monthview div a,
  480. .calendar-calendar .week-view .full td.single-day .inner div,
  481. .calendar-calendar .week-view .full td.single-day .inner div a,
  482. .calendar-calendar .week-view .full td.multi-day .inner div,
  483. .calendar-calendar .week-view .full td.multi-day .inner div a,
  484. .calendar-calendar .week-view .full td .inner div.calendar.weekview div,
  485. .calendar-calendar .week-view .full td .inner div.calendar.weekview div a,
  486. .calendar-calendar .day-view .full td .inner div.view-item,
  487. .calendar-calendar .day-view .full td .inner div.calendar div,
  488. .calendar-calendar .day-view .full td .inner div.calendar div a {
  489. background: none;
  490. }
  491. .calendar-calendar .day-view .full td .inner div.calendar div,
  492. .calendar-calendar .day-view .full td .inner div.calendar div a {
  493. margin: 0 3px;
  494. }
  495. .calendar-calendar .day-view .full td .inner div.calendar div.stripe {
  496. margin: 0;
  497. }
  498. .calendar-calendar .month-view .full tr td.today,
  499. .calendar-calendar .month-view .full tr.odd td.today,
  500. .calendar-calendar .month-view .full tr.even td.today {
  501. border-right: 2px solid #7c7f12;
  502. border-left: 2px solid #7c7f12;
  503. background: none;
  504. }
  505. .calendar-calendar .month-view .full td.date-box.today {
  506. border-width: 2px 2px 0 2px;
  507. border-style: solid;
  508. border-color: #7c7f12;
  509. }
  510. .calendar-calendar .month-view .full tr td.single-day.today {
  511. border-bottom: 2px solid #7c7f12;
  512. }
  513. .calendar-calendar .month-view .full tr td.multi-day.starts-today {
  514. border-left: 2px solid #7c7f12;
  515. }
  516. .calendar-calendar .month-view .full tr td.multi-day.ends-today {
  517. border-right: 2px solid #7c7f12;
  518. }
  519. .calendar-calendar .month-view .full tr td.multi-day,
  520. .calendar-calendar .month-view .full tr td.single-day {
  521. border-top: 0;
  522. }
  523. .calendar-calendar .month-view .full tr td.multi-day,
  524. .calendar-calendar .month-view .full tr td.date-box {
  525. border-bottom: 0;
  526. }
  527. .calendar-calendar .month-view .full .inner .monthview,
  528. .calendar-calendar .week-view .full .inner .weekview,
  529. .calendar-calendar .day-view .full .inner .dayview {
  530. position: relative;
  531. display: block;
  532. float: none;
  533. width: auto;
  534. margin: 0.25em auto;
  535. -moz-border-radius: 5px;
  536. border-radius: 5px;
  537. }
  538. .calendar-calendar .month-view .full td.single-day div.monthview,
  539. .calendar-calendar .week-view .full td.single-day div.weekview,
  540. .calendar-calendar .day-view .full td.single-day div.dayview {
  541. overflow: hidden;
  542. width: auto;
  543. padding: 0 3px;
  544. background: #ffc;
  545. }
  546. .calendar-calendar .month-view .full td.single-day .calendar-more div.monthview {
  547. background: none;
  548. }
  549. .calendar-calendar .day-view td div.dayview {
  550. padding: 0;
  551. }
  552. .calendar-calendar .month-view .full td.multi-day div.monthview,
  553. .calendar-calendar .week-view .full td.multi-day div.weekview,
  554. .calendar-calendar .day-view .full td.multi-day div.dayview {
  555. position: relative;
  556. overflow: hidden;
  557. height: 1.9em;
  558. margin: 0 auto;
  559. color: #fff;
  560. background: #74a5d7;
  561. }
  562. .calendar-calendar .week-view .full td.multi-day div.weekview {
  563. height: 3.5em;
  564. }
  565. .calendar-calendar .month-view .full td.multi-day .inner .view-field,
  566. .calendar-calendar .month-view .full td.multi-day .inner .view-field a,
  567. .calendar-calendar .week-view .full td.multi-day .inner .view-field,
  568. .calendar-calendar .week-view .full td.multi-day .inner .view-field a,
  569. .calendar-calendar .day-view .full td.multi-day .inner .view-field,
  570. .calendar-calendar .day-view .full td.multi-day .inner .view-field a {
  571. color: #fff;
  572. }
  573. .calendar-calendar .day-view .full td.multi-day div.dayview,
  574. .calendar-calendar .week-view .full td.multi-day div.weekview {
  575. margin-bottom: 2px;
  576. }
  577. .calendar-calendar .month-view .full td.multi-day .calendar.monthview .view-field {
  578. float: left;
  579. margin-right: 3px;
  580. white-space: nowrap;
  581. }
  582. .calendar-calendar .week-view .full td.multi-day .calendar.weekview .view-field {
  583. display: inline;
  584. margin-right: 3px;
  585. white-space: nowrap;
  586. }
  587. .calendar-calendar .day-view .full td.multi-day .calendar.weekview .view-field {
  588. display: block;
  589. }
  590. .calendar-calendar .month-view .full td.multi-day .calendar.monthview .contents,
  591. .calendar-calendar .week-view .full td.multi-day .calendar.weekview .contents {
  592. position: absolute;
  593. left: 5px;
  594. width: 3000px;
  595. }
  596. .calendar-calendar .day-view td .stripe,
  597. .calendar-calendar .month-view .full td .stripe,
  598. .calendar-calendar .week-view .full td .stripe {
  599. z-index: 2;
  600. top: 0;
  601. left: 0;
  602. width: 100%;
  603. height: 3px;
  604. -moz-border-radius: 5px 5px 0 0;
  605. border-radius: 5px 5px 0 0;
  606. }
  607. .calendar-calendar .full td.single-day .continuation,
  608. .calendar-calendar .full td.single-day .continues,
  609. .calendar-calendar .full td.single-day .cutoff {
  610. display: none;
  611. }
  612. .calendar-calendar .month-view .full td.multi-day .inner .monthview .continuation,
  613. .calendar-calendar .week-view .full td.multi-day .inner .weekview .continuation {
  614. float: left;
  615. height: 1.9em;
  616. margin-right: 3px;
  617. }
  618. .calendar-calendar .week-view .full td.multi-day .inner .weekview .continuation {
  619. height: 2.75em;
  620. margin-right: 8px;
  621. padding-top: 0.75em;
  622. }
  623. .calendar-calendar .month-view .full td.multi-day .inner .monthview .continues,
  624. .calendar-calendar .month-view .full td.multi-day .inner .monthview .cutoff,
  625. .calendar-calendar .week-view .full td.multi-day .inner .weekview .continues,
  626. .calendar-calendar .week-view .full td.multi-day .inner .weekview .cutoff {
  627. position: absolute;
  628. z-index: 1;
  629. right: 0;
  630. width: 10px;
  631. height: 1.9em;
  632. padding-left: 6px;
  633. text-align: left;
  634. -moz-border-radius: 0 5px 5px 0;
  635. border-radius: 0 5px 5px 0;
  636. background: #74a5d7;
  637. }
  638. .calendar-calendar .week-view .full td.multi-day .inner .weekview .continues,
  639. .calendar-calendar .week-view .full td.multi-day .inner .weekview .cutoff {
  640. height: 2.75em;
  641. padding-top: 0.75em;
  642. }
  643. .calendar-calendar .month-view .full td.multi-day .inner .monthview .cutoff,
  644. .calendar-calendar .week-view .full td.multi-day .inner .weekview .cutoff {
  645. width: 8px;
  646. padding-left: 0;
  647. }
  648. .calendar-calendar .week-view .full td.multi-day {
  649. padding: 2px;
  650. }
  651. .calendar-calendar .week-view td.single-day div.calendar {
  652. width: 100%;
  653. padding-right: 0;
  654. padding-left: 0;
  655. }
  656. .calendar-calendar .week-view .full tr.last td.multi-day {
  657. border-bottom: 1px solid #ccc;
  658. }
  659. /**
  660. * Restyle Header.
  661. */
  662. .view .date-nav-wrapper .clear-block {
  663. margin-bottom: 10px;
  664. }
  665. .view .date-nav-wrapper {
  666. position: relative;
  667. width: 100%;
  668. margin-top: 5px;
  669. }
  670. .view .date-nav-wrapper .date-nav {
  671. position: relative;
  672. height: 30px;
  673. height: auto;
  674. min-height: 30px;
  675. margin-bottom: 10px;
  676. border: 0;
  677. background-color: transparent;
  678. }
  679. .view .date-nav-wrapper .date-prev a,
  680. .view .date-nav-wrapper .date-next a {
  681. text-decoration: none;
  682. color: inherit;
  683. font-size: 12px;
  684. }
  685. .view .date-nav-wrapper.date-nav a:hover {
  686. text-decoration: underline;
  687. }
  688. .view .date-nav-wrapper .date-prev {
  689. position: absolute;
  690. z-index: 1;
  691. top: 0;
  692. right: 60px;
  693. left: auto;
  694. float: none;
  695. width: auto;
  696. padding: 5px 0;
  697. text-align: right;
  698. -moz-border-radius: 5px 0 0 5px;
  699. border-radius: 5px 0 0 5px;
  700. background: none repeat scroll 0 0 #dfdfdf;
  701. font-size: 12px;
  702. }
  703. .block-views .view .date-nav-wrapper .date-prev {
  704. right: auto;
  705. left: 0;
  706. }
  707. .view .date-nav-wrapper .date-prev a {
  708. margin-left: 10px;
  709. font-weight: bold;
  710. }
  711. .view .date-nav-wrapper .date-heading {
  712. position: relative;
  713. z-index: 0;
  714. top: 0;
  715. width: 100%;
  716. text-align: center;
  717. }
  718. .view .date-nav-wrapper .date-heading h3 {
  719. font-size: 1.7em;
  720. line-height: 30px;
  721. }
  722. .view .date-nav-wrapper .date-next {
  723. position: absolute;
  724. z-index: 1;
  725. top: 0;
  726. right: 0;
  727. float: none;
  728. width: auto;
  729. padding: 5px 0;
  730. text-align: right;
  731. -moz-border-radius: 0 5px 5px 0;
  732. border-radius: 0 5px 5px 0;
  733. background: none repeat scroll 0 0 #dfdfdf;
  734. font-size: 12px;
  735. }
  736. .view .date-nav-wrapper .date-next a {
  737. margin-right: 10px;
  738. font-weight: bold;
  739. }
  740. .attachment .calendar-calendar {
  741. clear: both;
  742. margin-top: 20px;
  743. }
  744. .calendar-calendar th a,
  745. .attachment .calendar-calendar th {
  746. border: 0;
  747. background-color: transparent;
  748. }
  749. .attachment .calendar-calendar th.calendar-agenda-hour {
  750. text-align: right;
  751. color: #777;
  752. font-weight: bold;
  753. }
  754. .view-calendar .feed-icon {
  755. margin-top: 5px;
  756. }
  757. .view table.mini .date-prev,
  758. .view table.mini .date-next {
  759. background: none;
  760. }
  761. .date-nav div.date-prev,
  762. .date-nav div.date-next,
  763. .date-nav {
  764. width: auto;
  765. }
  766. ul.calendar-links,
  767. .region-content ul.calendar-links {
  768. margin: 0;
  769. padding: 0;
  770. }
  771. .year-view div.month-view div.date-nav {
  772. min-height: 20px;
  773. background-color: #dfdfdf;
  774. }