You are here

calendar.css in Pretty Calendar 7

/* calendar styles */
.block-calendar {
  min-height: 40px;
  width: 100%;
}
#calendar-body {
  position: relative;
  width: 100%;
}
.calendar-container {
  background-color: #fafafa;
  border: 1px solid #ccc;
  margin: 0;
  padding: 0;
}
.pretty-calendar-week,
.calendar-daynames {
  font-size: 12px;
  height: 22px;
  margin: 0;
  overflow: hidden;
  padding: 0px;
  white-space: nowrap;
  width: 100%;
}
.pretty-calendar-week .pretty-calendar-weekend,
.pretty-calendar-week .pretty-calendar-day,
.calendar-daynames .pretty-calendar-weekend,
.calendar-daynames .pretty-calendar-day {
  display: inline;
  float: left;
  height: 22px;
  overflow: visible;
  text-align: center;
  width: 14%;
}
.pretty-calendar-week .pretty-calendar-weekend,
.calendar-daynames .pretty-calendar-weekend {
  color: #06c;
  width: 15%;
}
.pretty-calendar-week .calendar-value,
.calendar-daynames .calendar-value {
  border: 1px solid #eee;
  float: left;
  height: 20px;
  padding: 2px 0 0;
  text-align: center;
  width: 100%;
}
.calendar-daynames .calendar-value .third-letter {
  display: none;
}
.pretty-calendar-week a {
  color: #000;
  font-weight: bold;
}
.pretty-calendar-week a div {
  background-color: #dee4da;
  text-decoration: underline;
}
.pretty-calendar-week a:hover div {
  background-color: #06c;
  color: #fff;
}
.pretty-calendar-week .pretty-calendar-today {
  color: #d03;
}
.calendar-daynames {
  border-bottom: 3px solid #ccc;
  text-transform: uppercase;
}

.pretty-calendar-month {
  border-top: 3px solid #ccc;
  height: 24px;
}
.pretty-calendar-month a div {
  text-decoration: none;
}
.pretty-calendar-month {
  font-weight: bold;
  padding-top: 2px;
  text-align: center;
  width: 100%;
}
.pretty-calendar-month .month-title {
  padding-top: 2px;
}
.pretty-calendar-month .calendar-prev,
.pretty-calendar-month .calendar-next {
  border: none;
  height: 18px;
  line-height: 18px;
  margin: 2px 0;
  padding: 0;
  position: absolute;
  width: 24px;
}
.pretty-calendar-month .calendar-prev {
  bottom: 2px;
  left: 2px;
}
.pretty-calendar-month .calendar-next {
  bottom: 2px;
  right: 2px;
}
.pretty-calendar-month a .calendar-prev {
  background: transparent url("arrows.png") no-repeat -24px 0;
}
.pretty-calendar-month a:hover .calendar-prev {
  background: transparent url("arrows.png") no-repeat 0 0;
}
.pretty-calendar-month a .calendar-next {
  background: transparent url("arrows.png") no-repeat -24px -18px;
}
.pretty-calendar-month a:hover .calendar-next {
  background: transparent url("arrows.png") no-repeat 0 -18px;
}

/* calendar loader styles */
.calendar_loader {
  height: 0px;
  left: 50%;
  position: absolute;
  top: 50%;
  width: 0px;
}
.calendar_loader div {
  background: url("ajax-loader.gif") no-repeat;
  height: 48px;
  margin-left: -24px;
  margin-top: -40px;
  width: 48px;
}

/* tooltip styles */
#tiptip_holder {
  display: none;
  left: 0;
  position: absolute;
  top: 0;
  z-index: 99999;
}
#tiptip_holder.tip_top {
  padding-bottom: 5px;
}
#tiptip_holder.tip_bottom {
  padding-top: 5px;
}
#tiptip_holder.tip_right {
  padding-left: 5px;
}
#tiptip_holder.tip_left {
  padding-right: 5px;
}
#tiptip_content {
  -moz-border-radius: 3px;
  -moz-box-shadow: 0 0 3px #999;
  -webkit-border-radius: 3px;
  -webkit-box-shadow: 0 0 3px #999;
  background-color: rgb(215,220,225);
  border: 1px solid rgba(0,0,0,0.25);
  border-radius: 3px;
  box-shadow: 0 0 3px #999;
  color: #333;
  font-size: 11px;
  padding: 4px 8px;
  text-shadow: 0 0 1px #fff;
}
#tiptip_arrow,
#tiptip_arrow_inner {
  border-color: transparent;
  border-style: solid;
  border-width: 6px;
  height: 0;
  position: absolute;
  width: 0;
}
#tiptip_holder.tip_top #tiptip_arrow {
  border-top-color: #fff;
  border-top-color: rgba(255,255,255,0.35);
}
#tiptip_holder.tip_bottom #tiptip_arrow {
  border-bottom-color: #fff;
  border-bottom-color: rgba(255,255,255,0.35);
}
#tiptip_holder.tip_right #tiptip_arrow {
  border-right-color: #fff;
  border-right-color: rgba(255,255,255,0.35);
}
#tiptip_holder.tip_left #tiptip_arrow {
  border-left-color: #fff;
  border-left-color: rgba(255,255,255,0.35);
}
#tiptip_holder.tip_top #tiptip_arrow_inner {
  border-top-color: rgb(215,220,225);
  margin-left: -6px;
  margin-top: -7px;
}
#tiptip_holder.tip_bottom #tiptip_arrow_inner {
  border-bottom-color: rgb(215,220,225);
  margin-left: -6px;
  margin-top: -5px;
}
#tiptip_holder.tip_right #tiptip_arrow_inner {
  border-right-color: rgb(215,220,225);
  margin-left: -5px;
  margin-top: -6px;
}
#tiptip_holder.tip_left #tiptip_arrow_inner {
  border-left-color: rgb(215,220,225);
  margin-left: -7px;
  margin-top: -6px;
}
#tiptip_content ul {
  font-size: 11px;
  list-style: none;
  margin: 0;
  padding: 5px 10px;
}
#tiptip_content ul li {
  margin: 0;
  padding: 0;
}
#tiptip_content a {
  text-decoration: underline;
}
#tiptip_content .tooltip_summary {
  border-top: 1px dotted #bbb;
  margin: 0.4em 0.2em;
  padding: 0;
  text-align: right;
}

/* tooltip loader styles */
.tooltip_loader {
  height: 48px;
  padding: 8px 8px;
  width: 48px;
}
.tooltip_loader div {
  background: url("ajax-loader.gif") no-repeat;
  height: 48px;
  width: 48px;
}

File

themes/standard/calendar.css
View source
  1. /* calendar styles */
  2. .block-calendar {
  3. min-height: 40px;
  4. width: 100%;
  5. }
  6. #calendar-body {
  7. position: relative;
  8. width: 100%;
  9. }
  10. .calendar-container {
  11. background-color: #fafafa;
  12. border: 1px solid #ccc;
  13. margin: 0;
  14. padding: 0;
  15. }
  16. .pretty-calendar-week,
  17. .calendar-daynames {
  18. font-size: 12px;
  19. height: 22px;
  20. margin: 0;
  21. overflow: hidden;
  22. padding: 0px;
  23. white-space: nowrap;
  24. width: 100%;
  25. }
  26. .pretty-calendar-week .pretty-calendar-weekend,
  27. .pretty-calendar-week .pretty-calendar-day,
  28. .calendar-daynames .pretty-calendar-weekend,
  29. .calendar-daynames .pretty-calendar-day {
  30. display: inline;
  31. float: left;
  32. height: 22px;
  33. overflow: visible;
  34. text-align: center;
  35. width: 14%;
  36. }
  37. .pretty-calendar-week .pretty-calendar-weekend,
  38. .calendar-daynames .pretty-calendar-weekend {
  39. color: #06c;
  40. width: 15%;
  41. }
  42. .pretty-calendar-week .calendar-value,
  43. .calendar-daynames .calendar-value {
  44. border: 1px solid #eee;
  45. float: left;
  46. height: 20px;
  47. padding: 2px 0 0;
  48. text-align: center;
  49. width: 100%;
  50. }
  51. .calendar-daynames .calendar-value .third-letter {
  52. display: none;
  53. }
  54. .pretty-calendar-week a {
  55. color: #000;
  56. font-weight: bold;
  57. }
  58. .pretty-calendar-week a div {
  59. background-color: #dee4da;
  60. text-decoration: underline;
  61. }
  62. .pretty-calendar-week a:hover div {
  63. background-color: #06c;
  64. color: #fff;
  65. }
  66. .pretty-calendar-week .pretty-calendar-today {
  67. color: #d03;
  68. }
  69. .calendar-daynames {
  70. border-bottom: 3px solid #ccc;
  71. text-transform: uppercase;
  72. }
  73. .pretty-calendar-month {
  74. border-top: 3px solid #ccc;
  75. height: 24px;
  76. }
  77. .pretty-calendar-month a div {
  78. text-decoration: none;
  79. }
  80. .pretty-calendar-month {
  81. font-weight: bold;
  82. padding-top: 2px;
  83. text-align: center;
  84. width: 100%;
  85. }
  86. .pretty-calendar-month .month-title {
  87. padding-top: 2px;
  88. }
  89. .pretty-calendar-month .calendar-prev,
  90. .pretty-calendar-month .calendar-next {
  91. border: none;
  92. height: 18px;
  93. line-height: 18px;
  94. margin: 2px 0;
  95. padding: 0;
  96. position: absolute;
  97. width: 24px;
  98. }
  99. .pretty-calendar-month .calendar-prev {
  100. bottom: 2px;
  101. left: 2px;
  102. }
  103. .pretty-calendar-month .calendar-next {
  104. bottom: 2px;
  105. right: 2px;
  106. }
  107. .pretty-calendar-month a .calendar-prev {
  108. background: transparent url("arrows.png") no-repeat -24px 0;
  109. }
  110. .pretty-calendar-month a:hover .calendar-prev {
  111. background: transparent url("arrows.png") no-repeat 0 0;
  112. }
  113. .pretty-calendar-month a .calendar-next {
  114. background: transparent url("arrows.png") no-repeat -24px -18px;
  115. }
  116. .pretty-calendar-month a:hover .calendar-next {
  117. background: transparent url("arrows.png") no-repeat 0 -18px;
  118. }
  119. /* calendar loader styles */
  120. .calendar_loader {
  121. height: 0px;
  122. left: 50%;
  123. position: absolute;
  124. top: 50%;
  125. width: 0px;
  126. }
  127. .calendar_loader div {
  128. background: url("ajax-loader.gif") no-repeat;
  129. height: 48px;
  130. margin-left: -24px;
  131. margin-top: -40px;
  132. width: 48px;
  133. }
  134. /* tooltip styles */
  135. #tiptip_holder {
  136. display: none;
  137. left: 0;
  138. position: absolute;
  139. top: 0;
  140. z-index: 99999;
  141. }
  142. #tiptip_holder.tip_top {
  143. padding-bottom: 5px;
  144. }
  145. #tiptip_holder.tip_bottom {
  146. padding-top: 5px;
  147. }
  148. #tiptip_holder.tip_right {
  149. padding-left: 5px;
  150. }
  151. #tiptip_holder.tip_left {
  152. padding-right: 5px;
  153. }
  154. #tiptip_content {
  155. -moz-border-radius: 3px;
  156. -moz-box-shadow: 0 0 3px #999;
  157. -webkit-border-radius: 3px;
  158. -webkit-box-shadow: 0 0 3px #999;
  159. background-color: rgb(215,220,225);
  160. border: 1px solid rgba(0,0,0,0.25);
  161. border-radius: 3px;
  162. box-shadow: 0 0 3px #999;
  163. color: #333;
  164. font-size: 11px;
  165. padding: 4px 8px;
  166. text-shadow: 0 0 1px #fff;
  167. }
  168. #tiptip_arrow,
  169. #tiptip_arrow_inner {
  170. border-color: transparent;
  171. border-style: solid;
  172. border-width: 6px;
  173. height: 0;
  174. position: absolute;
  175. width: 0;
  176. }
  177. #tiptip_holder.tip_top #tiptip_arrow {
  178. border-top-color: #fff;
  179. border-top-color: rgba(255,255,255,0.35);
  180. }
  181. #tiptip_holder.tip_bottom #tiptip_arrow {
  182. border-bottom-color: #fff;
  183. border-bottom-color: rgba(255,255,255,0.35);
  184. }
  185. #tiptip_holder.tip_right #tiptip_arrow {
  186. border-right-color: #fff;
  187. border-right-color: rgba(255,255,255,0.35);
  188. }
  189. #tiptip_holder.tip_left #tiptip_arrow {
  190. border-left-color: #fff;
  191. border-left-color: rgba(255,255,255,0.35);
  192. }
  193. #tiptip_holder.tip_top #tiptip_arrow_inner {
  194. border-top-color: rgb(215,220,225);
  195. margin-left: -6px;
  196. margin-top: -7px;
  197. }
  198. #tiptip_holder.tip_bottom #tiptip_arrow_inner {
  199. border-bottom-color: rgb(215,220,225);
  200. margin-left: -6px;
  201. margin-top: -5px;
  202. }
  203. #tiptip_holder.tip_right #tiptip_arrow_inner {
  204. border-right-color: rgb(215,220,225);
  205. margin-left: -5px;
  206. margin-top: -6px;
  207. }
  208. #tiptip_holder.tip_left #tiptip_arrow_inner {
  209. border-left-color: rgb(215,220,225);
  210. margin-left: -7px;
  211. margin-top: -6px;
  212. }
  213. #tiptip_content ul {
  214. font-size: 11px;
  215. list-style: none;
  216. margin: 0;
  217. padding: 5px 10px;
  218. }
  219. #tiptip_content ul li {
  220. margin: 0;
  221. padding: 0;
  222. }
  223. #tiptip_content a {
  224. text-decoration: underline;
  225. }
  226. #tiptip_content .tooltip_summary {
  227. border-top: 1px dotted #bbb;
  228. margin: 0.4em 0.2em;
  229. padding: 0;
  230. text-align: right;
  231. }
  232. /* tooltip loader styles */
  233. .tooltip_loader {
  234. height: 48px;
  235. padding: 8px 8px;
  236. width: 48px;
  237. }
  238. .tooltip_loader div {
  239. background: url("ajax-loader.gif") no-repeat;
  240. height: 48px;
  241. width: 48px;
  242. }