You are here

calendar_multiday.css in Calendar 7.3

Same filename and directory in other branches
  1. 8 css/calendar_multiday.css
/**
 * calendar calendar table styles
 */
.calendar-calendar tr.odd, .calendar-calendar tr.even {
  background-color: #fff;
}
.calendar-calendar table {
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0 auto;
  padding: 0;
  width: 100%; /* Setting at 100% causes problem in Internet Explorer. */
}
.calendar-calendar .month-view table {
  border: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

/**
 * 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 {
  padding: 0;
  margin: 0;
  background-color: white;
}
.calendar-calendar th {
  text-align: center;
  margin: 0;
}
.calendar-calendar th a {
  font-weight: bold;
}
.calendar-calendar td {
  width: 14%;
  border: 1px solid #ccc;
  color: #777;
  text-align: right;
  vertical-align: top;
  margin: 0;
  padding: 0;
}

/**
 * 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;
  font-style: normal;
  color: #555;
  font-size: 0.8em;
}

/**
 * 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 !important;
  height: 5em;
  padding: 0;
  margin: 0;
}
.calendar-calendar .inner div {
  padding: 0;
  margin: 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 {
  padding: 0 0 .8em 0;
  margin: 0;
}
.calendar-calendar td a {
  font-weight: bold;
  text-decoration: none;
}
.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 {
  color: #ccc;
  background-color: #224;
  text-align: center;
  padding: 1px;
  margin: 0;
 }

/**
 * floating day number div
 */
.calendar-calendar div.day {
  float: right;
  text-align: center;
  padding: 0.125em 0.25em 0 0.25em;
  margin: 0;
  background-color: #f3f3f3;
  border: 1px solid gray;
  border-width: 0 0 1px 1px;
  clear: both;
  width: 1.5em;
}

/**
 * individual node container
 */
.calendar-calendar div.calendar {
  background-color: #fff;
  border: solid 1px #ddd;
  text-align: left;
  margin: 0 .25em .25em 0;
  width: 96%;
  float: right; /* needed to keep IE from hiding the floating day number */
  clear: both;
}
/**
 * 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 {
  font-size:.8em;
  text-align: center;
}

.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 {
  padding: 0 1px 0 0;
  margin: 0;
  }
table td.mini a {
  font-weight: normal;
}
.calendar-calendar .mini-day-off {
  padding: 0px;
}
.calendar-calendar .mini-day-on {
  padding: 0px;
}
table .mini-day-on a {
  text-decoration: underline;
}
.calendar-calendar .mini .title {
  font-size: .8em;
}
.mini .calendar-calendar .week {
  font-size: .7em;
}
.mini-row {
  width: 100%;
  border: none;
}
.mini{
  width: 32%;
  vertical-align: top;
}

/**
 * formatting for the legend stripe and block
 */
.calendar-calendar .stripe {
  height: 5px;
  width: auto;
  font-size:1px !important;
  line-height:1px !important;
}
.calendar-calendar .day-view .stripe {
  width: 100%;
}
table.calendar-legend {
  background-color: #ccc;
  width: 100%;
  margin: 0;
  padding: 0;
}
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 {
  text-align: left;
  padding-left: 5px;
}

.calendar-empty {
  font-size: 1px;
  line-height: 1px;
}

/**
 * formatting for the full day view
 */
.calendar-calendar td.calendar-agenda-hour {
  text-align: right;
  border: none;
  border-top: 1px solid #CCCCCC;
  padding-top: .25em;
  width: 1%;
}
.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 {
  border: 1px solid #CCCCCC;
  text-align: left;
}
.calendar-calendar td.calendar-agenda-items div.calendar {
  width: auto;
  padding: .25em;
  margin: 0;
}
.calendar-calendar div.calendar div.inner .calendar-agenda-empty {
  width: 100%;
  text-align: center;
  vertical-align: middle;
  padding: 1em 0;
  background-color: #fff;
}

/**
 * the popup date selector for jumping to a new date
 */
.calendar-date-select form {
  text-align: right;
  float: right;
  width: 25%;
}
.calendar-date-select div,
.calendar-date-select input,
.calendar-date-select label {
  text-align: right;
  padding: 0;
  margin: 0;
  float: right;
  clear: both;
}
.calendar-date-select .description {
  float: right;
}
.calendar-label {
  font-weight: bold;
  display: block;
  clear: both;
}

.calendar-calendar div.date-nav {
  background-color: #ccc;
  color: #777;
  padding: 0.2em;
  width: auto;
  border: 1px solid #ccc;
}
.calendar-calendar div.date-nav a,
.calendar-calendar div.date-nav h3 {
  color: #777;
  text-decoration: none;
}
.calendar-calendar th.days {
  background-color: #eee;
  color: #777;
  font-weight: bold;
  border: 1px solid #ccc;
}
.calendar-calendar td.empty {
  background: #ccc;
  border-color: #ccc;
  color: #cc9;
}
.calendar-calendar table.mini td.empty {
  background: #fff;
  border-color: #fff;
}
.calendar-calendar td div.day {
  border: 1px solid #ccc;
  border-top: none;
  border-right: none;
  margin-bottom: 2px;
}
.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 {
  border: none;
  background: #ffc;
  padding: 0;
}
.calendar-calendar td .inner div.calendar div.calendar-more,
.calendar-calendar td .inner div.calendar div.calendar-more a {
  color: #444;
  background: #fff;
  text-align: right;
}
.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;
}
.calendar-calendar td .inner div.calendar div div.view-data-node-data-field-date-field-date-value {
}

/**
 * The following are not used by default but are available for themes
 */
.calendar-calendar td.past {}
.calendar-calendar td.future {}
.calendar-calendar td.has-events {}
.calendar-calendar td.has-no-events {}

/**
 * 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: 0px;
}

.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 {
  vertical-align: top;
  padding: 1px 2px 0 2px
}

.calendar-calendar .month-view .full td.date-box {
  height: 1%;
  border-bottom: 0px;
  padding-bottom: 2px;
}

.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 {
  border: none;
  background: none;
  margin-bottom: 0px;
}

.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: 0px;
  border-bottom: 0px;
}

.calendar-calendar .week-view .full .first td.multi-day {
  border-top: 1px solid #CCCCCC;
}

.calendar-calendar .month-view .full td.single-day {
  border-top: 0px;
}

.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 {
  min-height: inherit;
  width: auto;
  position: relative;
}

.calendar-calendar .month-view .full td.multi-day.no-entry {
  min-height: 0px;
}

.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: 0px 3px;
}

.calendar-calendar .day-view .full td .inner div.calendar div.stripe {
  margin: 0px;
}

.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 {
  background: none;
  border-left: 2px solid #7C7F12;
  border-right: 2px solid #7C7F12;
}

.calendar-calendar .month-view .full td.date-box.today {
  border-width: 2px 2px 0px 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: 0px;
}

.calendar-calendar .month-view .full tr td.multi-day,
.calendar-calendar .month-view .full tr td.date-box {
  border-bottom: 0px;
}

.calendar-calendar .month-view .full .inner .monthview,
.calendar-calendar .week-view .full .inner .weekview,
.calendar-calendar .day-view .full .inner .dayview {
  -moz-border-radius: 5px;
  border-radius: 5px;
  width: auto;
  float: none;
  display: block;
  margin: .25em auto;
  position: relative;
}

.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 {
  background: #ffc;
  width: auto;
  padding: 0px 3px;
  overflow: hidden;
}

.calendar-calendar .month-view .full td.single-day .calendar-more div.monthview {
  background: none;
}

.calendar-calendar .day-view td div.dayview {
  padding: 0px;
}

.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 {
  background: #74a5d7;
  height: 1.9em;
  overflow: hidden;
  margin: 0px auto;
  color: #ffffff;
  position: relative;
}

.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: #ffffff;
}

.calendar-calendar .full td.multi-day .calendar .view-field,
.calendar-calendar .full td.single-day .calendar .view-field {
}

.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 {
  white-space: nowrap;
  float: left;
  margin-right: 3px;
}

.calendar-calendar .week-view .full td.multi-day .calendar.weekview .view-field {
  white-space: nowrap;
  display: inline;
  margin-right: 3px;
}

.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;
  width: 3000px;
  left: 5px;
}

.calendar-calendar .day-view td .stripe,
.calendar-calendar .month-view .full td .stripe,
.calendar-calendar .week-view .full td .stripe {
  -moz-border-radius: 5px 5px 0px 0px;
  border-radius: 5px 5px 0px 0px;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 3px;
  z-index: 2;
}

.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;
  margin-right: 3px;
  height: 1.9em;
}

.calendar-calendar .week-view .full td.multi-day  .inner .weekview .continuation {
  height: 2.75em;
  padding-top: 0.75em;
  margin-right: 8px;
}

.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;
  right: 0px !important;
  right: -1px;
  width: 10px;
  text-align: left;
  background: #74a5d7;
  -moz-border-radius: 0px 5px 5px 0px;
  border-radius: 0px 5px 5px 0px;
  height: 1.9em;
  padding-left: 6px;
  z-index: 1;
}

.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: 0px;
}

.calendar-calendar .week-view .full td.multi-day {
  padding: 2px;
}

.calendar-calendar .week-view td.single-day div.calendar {
  width: 100%;
  padding-left: 0px;
  padding-right: 0px;
}

.calendar-calendar .week-view .full tr.last td.multi-day {
  border-bottom:1px solid #CCCCCC;
}

/**
 * Restyle Header
 */
.view .date-nav-wrapper .clear-block {
  margin-bottom: 10px;
}

.view .date-nav-wrapper  {
  position: relative;
  margin-top: 5px;
  width: 100%;
}

.view .date-nav-wrapper .date-nav {
  background-color: transparent;
  border: 0px;
  height: 30px;
  height: auto;
  min-height: 30px;
  position: relative;
  margin-bottom: 10px;
}

.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 {
  -moz-border-radius: 5px 0 0 5px;
  border-radius: 5px 0 0 5px;
  background: none repeat scroll 0 0 #dfdfdf;
  float: none;
  padding: 5px 0;
  position: absolute;
  right: 80px;
  left: auto;
  text-align: right;
  top: 0px;
  width: auto;
  z-index: 1;
  font-size: 12px;
}

.block-views .view .date-nav-wrapper .date-prev {
  left: 0;
  right: auto;
}

.view .date-nav-wrapper .date-prev a {
  margin-left: 10px;
  font-weight: bold;
}

.view .date-nav-wrapper .date-heading {
  position: relative;
  width: 100%;
  top: 0px;
  text-align: center;
  z-index: 0;
}

.view .date-nav-wrapper .date-heading h3 {
  line-height: 30px;
  font-size: 1.7em;
}

.view .date-nav-wrapper .date-next {
  -moz-border-radius: 0px 5px 5px 0px;
  border-radius: 0px 5px 5px 0px;
  background: none repeat scroll 0 0 #dfdfdf;
  float: none;
  padding: 5px 0;
  position: absolute;
  right: 0px;
  text-align: right;
  top: 0px;
  width: auto;
  z-index: 1;
  font-size: 12px;
}

.view .date-nav-wrapper .date-next a {
  margin-right: 10px;
  font-weight: bold;
}

.attachment .calendar-calendar {
  margin-top: 20px;
  clear: both;
}

.calendar-calendar th a,
.attachment .calendar-calendar th {
  background-color: transparent;
  border: 0px;
}

.attachment .calendar-calendar th.calendar-agenda-hour {
  color: #777777;
  font-weight: bold;
  text-align: right;
}

.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 {
  background-color: #DFDFDF;
  min-height: 20px;
}

File

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