jscal2.css 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349
  1. /* CSS */
  2. .DynarchCalendar {
  3. border: 1px solid #aaa;
  4. -moz-user-select: none;
  5. -webkit-user-select: none;
  6. user-select: none;
  7. background: #e8e8e8;
  8. font: 11px "lucida grande",tahoma,verdana,sans-serif;
  9. line-height: 14px;
  10. position: relative;
  11. cursor: default;
  12. }
  13. .DynarchCalendar table {
  14. border-collapse: collapse;
  15. font: 11px "lucida grande",tahoma,verdana,sans-serif;
  16. line-height: 14px;
  17. }
  18. .DynarchCalendar-topBar {
  19. border-bottom: 1px solid #aaa;
  20. background: #ddd;
  21. padding: 5px 0 0 0;
  22. }
  23. table.DynarchCalendar-titleCont {
  24. font-size: 130%; font-weight: bold;
  25. color: #444;
  26. text-align: center;
  27. z-index: 9;
  28. position: relative;
  29. margin-top: -6px;
  30. }
  31. .DynarchCalendar-title div {
  32. padding: 5px 17px;
  33. }
  34. .DynarchCalendar-hover-title div {
  35. background-color: #fff;
  36. border: 1px solid #000;
  37. padding: 4px 16px;
  38. background-image: url("img/drop-down.gif");
  39. background-repeat: no-repeat;
  40. background-position: 100% 50%;
  41. }
  42. .DynarchCalendar-pressed-title div {
  43. border: 1px solid #000;
  44. padding: 4px 16px;
  45. background-color: #777;
  46. color: #fff;
  47. background-image: url("img/drop-up.gif");
  48. background-repeat: no-repeat;
  49. background-position: 100% 50%;
  50. }
  51. .DynarchCalendar-bottomBar {
  52. border-top: 1px solid #aaa;
  53. background: #ddd;
  54. padding: 2px;
  55. position: relative;
  56. text-align: center;
  57. }
  58. .DynarchCalendar-bottomBar-today {
  59. padding: 2px 15px;
  60. }
  61. .DynarchCalendar-hover-bottomBar-today {
  62. border: 1px solid #000;
  63. background-color: #fff;
  64. padding: 1px 14px;
  65. }
  66. .DynarchCalendar-pressed-bottomBar-today {
  67. border: 1px solid #000;
  68. background-color: #777;
  69. color: #fff;
  70. padding: 1px 14px;
  71. }
  72. .DynarchCalendar-body {
  73. position: relative;
  74. overflow: hidden;
  75. padding-top: 5px;
  76. padding-bottom: 5px;
  77. }
  78. .DynarchCalendar-first-col { padding-left: 5px; }
  79. .DynarchCalendar-last-col { padding-right: 5px; }
  80. .DynarchCalendar-animBody-backYear {
  81. position: absolute;
  82. top: -100%;
  83. left: 0;
  84. }
  85. .DynarchCalendar-animBody-back {
  86. position: absolute;
  87. top: 5px;
  88. left: -100%;
  89. }
  90. .DynarchCalendar-animBody-fwd {
  91. position: absolute;
  92. top: 5px;
  93. left: 100%;
  94. }
  95. .DynarchCalendar-animBody-now {
  96. position: absolute;
  97. top: 5px;
  98. left: 0;
  99. }
  100. .DynarchCalendar-animBody-fwdYear {
  101. position: absolute;
  102. top: 100%;
  103. left: 0;
  104. }
  105. .DynarchCalendar-dayNames {
  106. padding-left: 5px;
  107. padding-right: 5px;
  108. }
  109. .DynarchCalendar-dayNames div { font-weight: bold; color: #444; text-shadow: 1px 1px 1px #777; }
  110. .DynarchCalendar-navBtn {
  111. position: absolute;
  112. top: 5px;
  113. z-index: 10;
  114. }
  115. .DynarchCalendar-navBtn div {
  116. background-repeat: no-repeat;
  117. background-position: 50% 50%;
  118. height: 15px;
  119. width: 16px;
  120. padding: 1px;
  121. }
  122. .DynarchCalendar-hover-navBtn div {
  123. border: 1px solid #000;
  124. padding: 0;
  125. background-color: #fff;
  126. }
  127. .DynarchCalendar-navDisabled {
  128. opacity: 0.3;
  129. filter: alpha(opacity=30);
  130. }
  131. .DynarchCalendar-pressed-navBtn div {
  132. border: 1px solid #000;
  133. padding: 0;
  134. background-color: #777;
  135. color: #fff;
  136. }
  137. .DynarchCalendar-prevMonth {
  138. left: 25px;
  139. }
  140. .DynarchCalendar-nextMonth {
  141. left: 100%;
  142. margin-left: -43px;
  143. }
  144. .DynarchCalendar-prevYear {
  145. left: 5px;
  146. }
  147. .DynarchCalendar-nextYear {
  148. left: 100%;
  149. margin-left: -23px;
  150. }
  151. .DynarchCalendar-prevMonth div {
  152. background-image: url("img/nav-left.gif");
  153. }
  154. .DynarchCalendar-nextMonth div {
  155. background-image: url("img/nav-right.gif");
  156. }
  157. .DynarchCalendar-prevYear div {
  158. background-image: url("img/nav-left-x2.gif");
  159. }
  160. .DynarchCalendar-nextYear div {
  161. background-image: url("img/nav-right-x2.gif");
  162. }
  163. .DynarchCalendar-menu {
  164. position: absolute;
  165. left: 0;
  166. top: 0;
  167. width: 100%;
  168. height: 100%;
  169. background-color: #ddd;
  170. overflow: hidden;
  171. opacity: 0.85;
  172. filter: alpha(opacity=85);
  173. }
  174. .DynarchCalendar-menu table td div {
  175. text-align: center;
  176. font-weight: bold;
  177. padding: 3px 5px;
  178. }
  179. .DynarchCalendar-menu table td div.DynarchCalendar-menu-month {
  180. width: 4em;
  181. text-align: center;
  182. }
  183. .DynarchCalendar-menu table td div.DynarchCalendar-hover-navBtn {
  184. border: 1px solid #000;
  185. padding: 2px 4px;
  186. background-color: #fff;
  187. color: #000;
  188. }
  189. .DynarchCalendar-menu table td div.DynarchCalendar-pressed-navBtn {
  190. border: 1px solid #000;
  191. padding: 2px 4px;
  192. background-color: #777;
  193. color: #fff !important;
  194. }
  195. .DynarchCalendar-menu-year {
  196. text-align: center;
  197. font: 16px "lucida grande",tahoma,verdana,sans-serif;
  198. font-weight: bold;
  199. }
  200. .DynarchCalendar-menu-sep {
  201. height: 1px; font-size: 1px; line-height: 1px;
  202. overflow: hidden;
  203. border-top: 1px solid #888;
  204. background: #fff;
  205. margin-top: 4px; margin-bottom: 3px;
  206. }
  207. .DynarchCalendar-time td { font-weight: bold; font-size: 120%; }
  208. .DynarchCalendar-time-hour, .DynarchCalendar-time-minute { padding: 1px 3px; }
  209. .DynarchCalendar-time-down { background: url("img/time-down.png") no-repeat 50% 50%; width: 11px; height: 8px; opacity: 0.5; }
  210. .DynarchCalendar-time-up { background: url("img/time-up.png") no-repeat 50% 50%; width: 11px; height: 8px; opacity: 0.5; }
  211. .DynarchCalendar-time-sep { padding: 0 2px; }
  212. .DynarchCalendar-hover-time { background-color: #93b9e2; color: #fff; opacity: 1; }
  213. .DynarchCalendar-pressed-time { background-color: #7da7d5; color: #fff; opacity: 1; }
  214. .DynarchCalendar-time-am { padding: 1px; width: 2.5em; text-align: center; }
  215. /* body */
  216. .DynarchCalendar-hover-week { background-color: #ddd; }
  217. .DynarchCalendar-dayNames div, .DynarchCalendar-day, .DynarchCalendar-weekNumber {
  218. width: 1.7em;
  219. padding: 3px 4px;
  220. text-align: center;
  221. }
  222. .DynarchCalendar-weekNumber {
  223. border-right: 1px solid #aaa;
  224. margin-right: 4px;
  225. width: 2em !important;
  226. padding-right: 8px !important;
  227. }
  228. .DynarchCalendar-day {
  229. text-align: right; color: #222;
  230. }
  231. .DynarchCalendar-day-othermonth { color: #888; }
  232. .DynarchCalendar-weekend { color: #c22; }
  233. .DynarchCalendar-day-today { color: #00f; font-weight: bold; }
  234. .DynarchCalendar-day-disabled {
  235. opacity: 0.5;
  236. text-shadow: 2px 1px 1px #fff;
  237. }
  238. .DynarchCalendar-hover-date {
  239. padding: 2px 3px;
  240. background-color: #eef;
  241. border: 1px solid #88c;
  242. margin: 0 !important;
  243. color: #000;
  244. }
  245. .DynarchCalendar-day-othermonth.DynarchCalendar-hover-date { border-color: #aaa; color: #888; }
  246. .DynarchCalendar-dayNames .DynarchCalendar-weekend { color: #c22; }
  247. .DynarchCalendar-day-othermonth.DynarchCalendar-weekend { color: #d88; }
  248. .DynarchCalendar-day-selected {
  249. padding: 2px 3px;
  250. margin: 1px;
  251. background-color: #aaa;
  252. color: #000 !important;
  253. }
  254. .DynarchCalendar-day-today.DynarchCalendar-day-selected { background-color: #999; }
  255. /* focus */
  256. .DynarchCalendar-focusLink {
  257. position: absolute;
  258. opacity: 0;
  259. filter: alpha(opacity=0);
  260. }
  261. .DynarchCalendar-focused {
  262. border-color: #000;
  263. }
  264. .DynarchCalendar-focused .DynarchCalendar-topBar, .DynarchCalendar-focused .DynarchCalendar-bottomBar {
  265. background-color: #ccc;
  266. border-color: #336;
  267. }
  268. .DynarchCalendar-focused .DynarchCalendar-hover-week {
  269. background-color: #ccc;
  270. }
  271. .DynarchCalendar-tooltip {
  272. position: absolute;
  273. top: 100%;
  274. width: 100%;
  275. }
  276. .DynarchCalendar-tooltipCont {
  277. margin: 0 5px 0 5px;
  278. border: 1px solid #aaa;
  279. border-top: 0;
  280. padding: 3px 6px;
  281. background: #ddd;
  282. }
  283. .DynarchCalendar-focused .DynarchCalendar-tooltipCont {
  284. background: #ccc;
  285. border-color: #000;
  286. }
  287. @media print {
  288. .DynarchCalendar-day-selected {
  289. padding: 2px 3px;
  290. border: 1px solid #000;
  291. margin: 0 !important;
  292. }
  293. }