/src/main/resources/org/apache/struts2/static/calendar/assets/calendar.css

http://struts2yuiplugin.googlecode.com/ · CSS · 320 lines · 260 code · 49 blank · 11 comment · 0 complexity · 420331bcf064c8fefaa402406df5bf76 MD5 · raw file

  1. /*
  2. Copyright (c) 2009, Yahoo! Inc. All rights reserved.
  3. Code licensed under the BSD License:
  4. http://developer.yahoo.net/yui/license.txt
  5. version: 2.7.0
  6. */
  7. .yui-calcontainer {
  8. position:relative;
  9. padding:5px;
  10. background-color:#F7F9FB;
  11. border:1px solid #7B9EBD;
  12. float:left;
  13. _overflow:hidden; /* IE6 only, to clip iframe shim */
  14. }
  15. .yui-calcontainer iframe {
  16. position:absolute;
  17. border:none;
  18. margin:0;padding:0;
  19. z-index:0;
  20. width:100%;
  21. height:100%;
  22. left:0px;
  23. top:0px;
  24. }
  25. /* IE6 only */
  26. .yui-calcontainer iframe.fixedsize {
  27. width:50em;
  28. height:50em;
  29. top:-1px;
  30. left:-1px;
  31. }
  32. .yui-calcontainer.multi {
  33. padding:0;
  34. }
  35. .yui-calcontainer.multi .groupcal {
  36. padding:5px;
  37. background-color:transparent;
  38. z-index:1;
  39. float:left;
  40. position:relative;
  41. border:none;
  42. }
  43. .yui-calcontainer .title {
  44. font:100% sans-serif;
  45. color:#000;
  46. font-weight:bold;
  47. margin-bottom:5px;
  48. height:25px;
  49. position:absolute;
  50. top:3px;left:5px;
  51. z-index:1;
  52. }
  53. .yui-calcontainer .close-icon {
  54. position:absolute;
  55. overflow:hidden;
  56. text-indent:-10000em;
  57. right:3px;
  58. top:3px;
  59. border:none;
  60. z-index:1;
  61. }
  62. .yui-calcontainer .calclose {
  63. background: url("calx.gif") no-repeat;
  64. width:17px;
  65. height:13px;
  66. cursor:pointer;
  67. }
  68. /* Calendar element styles */
  69. .yui-calendar {
  70. font:100% sans-serif;
  71. text-align:center;
  72. border-spacing:0;
  73. border-collapse:separate;
  74. position:relative;
  75. }
  76. .yui-calcontainer.withtitle {
  77. padding-top:1.5em;
  78. }
  79. .yui-calendar .calnavleft {
  80. position:absolute;
  81. overflow:hidden;
  82. text-indent:-10000em;
  83. cursor:pointer;
  84. top:2px;
  85. bottom:0;
  86. width:9px;
  87. height:12px;
  88. left:2px;
  89. z-index:1;
  90. background: url("callt.gif") no-repeat;
  91. }
  92. .yui-calendar .calnavright {
  93. position:absolute;
  94. overflow:hidden;
  95. text-indent:-10000em;
  96. cursor:pointer;
  97. top:2px;
  98. bottom:0;
  99. width:9px;
  100. height:12px;
  101. right:2px;
  102. z-index:1;
  103. background: url("calrt.gif") no-repeat;
  104. }
  105. .yui-calendar td.calcell {
  106. padding:.1em .2em;
  107. border:1px solid #E0E0E0;
  108. text-align:center;
  109. }
  110. .yui-calendar td.calcell a {
  111. color:#003DB8;
  112. text-decoration:none;
  113. }
  114. .yui-calendar td.calcell.today {
  115. border:1px solid #000;
  116. }
  117. .yui-calendar td.calcell.oom {
  118. cursor:default;
  119. color:#999;
  120. background-color:#EEE;
  121. border:1px solid #E0E0E0;
  122. }
  123. .yui-calendar td.calcell.selected {
  124. color:#003DB8;
  125. background-color:#FFF19F;
  126. border:1px solid #FF9900;
  127. }
  128. .yui-calendar td.calcell.calcellhover {
  129. cursor:pointer;
  130. color:#FFF;
  131. background-color:#FF9900;
  132. border:1px solid #FF9900;
  133. }
  134. .yui-calendar td.calcell.calcellhover a {
  135. color:#FFF;
  136. }
  137. .yui-calendar td.calcell.restricted {
  138. text-decoration:line-through;
  139. }
  140. .yui-calendar td.calcell.previous {
  141. color:#CCC;
  142. }
  143. .yui-calendar td.calcell.highlight1 { background-color:#CCFF99; }
  144. .yui-calendar td.calcell.highlight2 { background-color:#99CCFF; }
  145. .yui-calendar td.calcell.highlight3 { background-color:#FFCCCC; }
  146. .yui-calendar td.calcell.highlight4 { background-color:#CCFF99; }
  147. .yui-calendar .calhead {
  148. border:1px solid #E0E0E0;
  149. vertical-align:middle;
  150. background-color:#FFF;
  151. }
  152. .yui-calendar .calheader {
  153. position:relative;
  154. width:100%;
  155. text-align:center;
  156. }
  157. .yui-calendar .calheader img {
  158. border:none;
  159. }
  160. .yui-calendar .calweekdaycell {
  161. color:#666;
  162. font-weight:normal;
  163. text-align:center;
  164. width:1.5em;
  165. }
  166. .yui-calendar .calfoot {
  167. background-color:#EEE;
  168. }
  169. .yui-calendar .calrowhead, .yui-calendar .calrowfoot {
  170. color:#666;
  171. font-size:9px;
  172. font-style:italic;
  173. font-weight:normal;
  174. width:15px;
  175. }
  176. .yui-calendar .calrowhead {
  177. border-right-width:2px;
  178. }
  179. /* CalendarNavigator */
  180. .yui-calendar a.calnav {
  181. _position:relative;
  182. padding-left:2px;
  183. padding-right:2px;
  184. text-decoration:none;
  185. color:#000;
  186. }
  187. .yui-calendar a.calnav:hover {
  188. border:1px solid #003366;
  189. background-color:#6699cc;
  190. background: url(calgrad.png) repeat-x;
  191. color:#fff;
  192. cursor:pointer;
  193. }
  194. .yui-calcontainer .yui-cal-nav-mask {
  195. position:absolute;
  196. z-index:2;
  197. display:none;
  198. margin:0;
  199. padding:0;
  200. left:0;
  201. top:0;
  202. width:100%;
  203. height:100%;
  204. _width:0; /* IE6, IE7 Quirks - width/height set programmatically to match container */
  205. _height:0;
  206. background-color:#000;
  207. opacity:0.25;
  208. *filter:alpha(opacity=25);
  209. }
  210. .yui-calcontainer .yui-cal-nav {
  211. position:absolute;
  212. z-index:3;
  213. display:none;
  214. padding:0;
  215. top:1.5em;
  216. left:50%;
  217. width:12em;
  218. margin-left:-6em;
  219. border:1px solid #7B9EBD;
  220. background-color:#F7F9FB;
  221. font-size:93%;
  222. }
  223. .yui-calcontainer.withtitle .yui-cal-nav {
  224. top:3.5em;
  225. }
  226. .yui-calcontainer .yui-cal-nav-y,
  227. .yui-calcontainer .yui-cal-nav-m,
  228. .yui-calcontainer .yui-cal-nav-b {
  229. padding:2px 5px 2px 5px;
  230. }
  231. .yui-calcontainer .yui-cal-nav-b {
  232. text-align:center;
  233. }
  234. .yui-calcontainer .yui-cal-nav-e {
  235. margin-top:2px;
  236. padding:2px;
  237. background-color:#EDF5FF;
  238. border-top:1px solid black;
  239. display:none;
  240. }
  241. .yui-calcontainer .yui-cal-nav label {
  242. display:block;
  243. font-weight:bold;
  244. }
  245. .yui-calcontainer .yui-cal-nav-mc {
  246. width:100%;
  247. _width:auto; /* IE6 doesn't like width 100% */
  248. }
  249. .yui-calcontainer .yui-cal-nav-y input.yui-invalid {
  250. background-color:#FFEE69;
  251. border: 1px solid #000;
  252. }
  253. .yui-calcontainer .yui-cal-nav-yc {
  254. width:3em;
  255. }
  256. .yui-calcontainer .yui-cal-nav-b button {
  257. font-size:93%;
  258. text-decoration:none;
  259. cursor: pointer;
  260. background-color: #79b2ea;
  261. border: 1px solid #003366;
  262. border-top-color:#FFF;
  263. border-left-color:#FFF;
  264. margin:1px;
  265. }
  266. .yui-calcontainer .yui-cal-nav-b .yui-default button {
  267. /* not implemented */
  268. }
  269. /* Specific changes for calendar running under fonts/reset */
  270. .yui-calendar .calbody a:hover {background:inherit;}
  271. p#clear {clear:left; padding-top:10px;}