You are here

calendar.css in Pretty Calendar 7

/* calendar styles */
#calendar-body {
  position: relative;
  width: 100%;
}
.block-calendar {
  min-height: 40px;
  width: 100%;
}
.block-calendar a {
  text-decoration: none;
}
.calendar-container {
  background-color: #fff;
  border: 1px solid #bbb;
  border-radius: 5px;
  font-family: Calibri,Tahoma,Arial,sans;
  margin: 0;
  padding-bottom: 5px;
}
.pretty-calendar-week,
.calendar-daynames {
  font-size: 12px;
  height: 28px;
  margin: 0;
  overflow: hidden;
  padding: 1% 0 0;
  white-space: nowrap;
  width: 100%;
}
.calendar-container .pretty-calendar-weekend,
.calendar-container .pretty-calendar-day {
  display: inline;
  float: left;
  height: 26px;
  overflow: visible;
  text-align: center;
  width: 14%;
}
.calendar-container .pretty-calendar-weekend {
  color: #79c;
  width: 15%;
}
.pretty-calendar-week .calendar-value {
  border: 1px solid #eee;
  border-radius: 22px;
  height: 19px;
  margin: auto;
  padding-top: 4px;
  text-align: center;
  width: 23px;
}
.blank .calendar-value {
  background-color: #f6f6f6;
  border-color: #f4f4f4;
}
.pretty-calendar-week a .calendar-value {
  background-color: #48f;
  border-color: #37e;
  color: #fff;
}
.pretty-calendar-week a:hover .calendar-value {
  background-color: #59f;
  border-color: #48f;
  color: #fff;
}
.pretty-calendar-week .pretty-calendar-today .calendar-value {
  border: 2px solid #48f;
  color: #48f;
  font-weight: bold;
  height: 17px;
  width: 21px;
}
.calendar-daynames {
  background: url("bg.png") repeat-x 0 32px;
  border-bottom: 1px solid #e0e0e0;
  height: 18px;
  margin-bottom: 6px;
  padding: 38px 0 0;
}

.pretty-calendar-month {
  border-bottom: 1px solid #e0e0e0;
  height: 27px;
  padding-top: 5px;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  top: 0;
  width: 100%;
}
.pretty-calendar-month .month-title {
  padding-top: 2px;
}
.pretty-calendar-month .calendar-prev,
.pretty-calendar-month .calendar-next {
  border: none;
  height: 20px;
  margin: 0;
  padding: 0;
  position: absolute;
  width: 20px;
}
.pretty-calendar-month .calendar-prev {
  left: 6px;
  top: 6px;
}
.pretty-calendar-month .calendar-next {
  right: 6px;
  top: 6px;
}
.pretty-calendar-month a .calendar-prev {
  background: transparent url("arrows.png") no-repeat 0 0;
}
.pretty-calendar-month a .calendar-next {
  background: transparent url("arrows.png") no-repeat 0 -20px;
}
.pretty-calendar-month a:hover .calendar-prev {
  background: transparent url("arrows.png") no-repeat -20px 0;
}
.pretty-calendar-month a:hover .calendar-next {
  background: transparent url("arrows.png") no-repeat -20px -20px;
}

/* 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: 16px;
  margin-left: -10px;
  margin-top: -10px;
  width: 16px;
}

/* 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 #48f;
  -webkit-border-radius: 3px;
  -webkit-box-shadow: 0 0 3px #48f;
  background-color: #fff;
  border: 1px solid rgba(0,0,0,0.25);
  border-radius: 3px;
  box-shadow: 0 0 3px #48f;
  color: #333;
  font-size: 11px;
  line-height: 1.3em;
  padding: 4px 8px;
}
#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: #fff;
  margin-left: -6px;
  margin-top: -7px;
}
#tiptip_holder.tip_bottom #tiptip_arrow_inner {
  border-bottom-color: #fff;
  margin-left: -6px;
  margin-top: -5px;
}
#tiptip_holder.tip_right #tiptip_arrow_inner {
  border-right-color: #fff;
  margin-left: -5px;
  margin-top: -6px;
}
#tiptip_holder.tip_left #tiptip_arrow_inner {
  border-left-color: #fff;
  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: 16px;
  padding: 8px 8px;
  width: 16px;
}
.tooltip_loader div {
  background: url("ajax-loader.gif") no-repeat;
  height: 16px;
  width: 16px;
}

File

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