PageRenderTime 28ms CodeModel.GetById 14ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://struts2yuiplugin.googlecode.com/
CSS | 199 lines | 162 code | 29 blank | 8 comment | 0 complexity | 3f0098273febf26897e75da6e71dee61 MD5 | raw file
  1. /*
  2. Copyright (c) 2007, Yahoo! Inc. All rights reserved.
  3. Code licensed under the BSD License:
  4. http://developer.yahoo.net/yui/license.txt
  5. version: 2.2.2
  6. */
  7. .yui-calcontainer {
  8. position:absolute;
  9. padding:5px;
  10. background-color:#F7F9FB;
  11. border:1px solid #7B9EBD;
  12. float:left;
  13. overflow:hidden;
  14. border-style: solid;
  15. border-color: black;
  16. }
  17. .yui-calcontainer iframe {
  18. position:absolute;
  19. border:none;
  20. margin:0;padding:0;
  21. left:-1px;
  22. top:-1px;
  23. z-index:0;
  24. width:50em;
  25. height:50em;
  26. }
  27. .yui-calcontainer.multi {
  28. padding:0;
  29. }
  30. .yui-calcontainer.multi .groupcal {
  31. padding:5px;
  32. background-color:transparent;
  33. z-index:1;
  34. float:left;
  35. position:a;
  36. border:none;
  37. }
  38. .yui-calcontainer .title {
  39. font:100% sans-serif;
  40. color:#000;
  41. font-weight:bold;
  42. margin-bottom:5px;
  43. height:25px;
  44. position:absolute;
  45. top:3px;left:5px;
  46. z-index:1;
  47. }
  48. .yui-calcontainer .close-icon {
  49. position:absolute;
  50. right:3px;
  51. top:3px;
  52. border:none;
  53. z-index:1;
  54. }
  55. .yui-calcontainer .calclose {
  56. background: url("calx.gif") no-repeat;
  57. width:17px;
  58. height:13px;
  59. cursor:pointer;
  60. }
  61. /* Calendar element styles */
  62. .yui-calendar {
  63. font:100% sans-serif;
  64. text-align:center;
  65. border-spacing:0;
  66. border-collapse:separate;
  67. position:relative;
  68. }
  69. .yui-calcontainer.withtitle {
  70. padding-top:1.5em;
  71. }
  72. .yui-calendar .calnavleft {
  73. position:absolute;
  74. cursor:pointer;
  75. top:2px;
  76. bottom:0;
  77. width:9px;
  78. height:12px;
  79. left:2px;
  80. z-index:1;
  81. background: url("callt.gif") no-repeat;
  82. }
  83. .yui-calendar .calnavright {
  84. position:absolute;
  85. cursor:pointer;
  86. top:2px;
  87. bottom:0;
  88. width:9px;
  89. height:12px;
  90. right:2px;
  91. z-index:1;
  92. background: url("calrt.gif") no-repeat;
  93. }
  94. .yui-calendar td.calcell {
  95. padding:.1em .2em;
  96. border:1px solid #E0E0E0;
  97. text-align:center;
  98. }
  99. .yui-calendar td.calcell a {
  100. color:#003DB8;
  101. text-decoration:none;
  102. }
  103. .yui-calendar td.calcell.today {
  104. border:1px solid #000;
  105. }
  106. .yui-calendar td.calcell.oom {
  107. cursor:default;
  108. color:#999;
  109. background-color:#EEE;
  110. border:1px solid #E0E0E0;
  111. }
  112. .yui-calendar td.calcell.selected {
  113. color:#003DB8;
  114. background-color:#FFF19F;
  115. border:1px solid #FF9900;
  116. }
  117. .yui-calendar td.calcell.calcellhover {
  118. cursor:pointer;
  119. color:#FFF;
  120. background-color:#FF9900;
  121. border:1px solid #FF9900;
  122. }
  123. .yui-calendar td.calcell.calcellhover a {
  124. color:#FFF;
  125. }
  126. .yui-calendar td.calcell.restricted {
  127. text-decoration:line-through;
  128. }
  129. .yui-calendar td.calcell.previous {
  130. color:#CCC;
  131. }
  132. .yui-calendar td.calcell.highlight1 { background-color:#CCFF99; }
  133. .yui-calendar td.calcell.highlight2 { background-color:#99CCFF; }
  134. .yui-calendar td.calcell.highlight3 { background-color:#FFCCCC; }
  135. .yui-calendar td.calcell.highlight4 { background-color:#CCFF99; }
  136. .yui-calendar .calhead {
  137. border:1px solid #E0E0E0;
  138. vertical-align:middle;
  139. background-color:#FFF;
  140. }
  141. .yui-calendar .calheader {
  142. position:relative;
  143. width:100%;
  144. text-align:center;
  145. }
  146. .yui-calendar .calheader img {
  147. border:none;
  148. }
  149. .yui-calendar .calweekdaycell {
  150. color:#666;
  151. font-weight:normal;
  152. text-align:center;
  153. width:1.5em;
  154. }
  155. .yui-calendar .calfoot {
  156. background-color:#EEE;
  157. }
  158. .yui-calendar .calrowhead, .yui-calendar .calrowfoot {
  159. color:#666;
  160. font-size:9px;
  161. font-style:italic;
  162. font-weight:normal;
  163. width:15px;
  164. }
  165. .yui-calendar .calrowhead {
  166. border-right-width:2px;
  167. }
  168. /* Specific changes for calendar running under fonts/reset */
  169. .yui-calendar .calbody a:hover {background:inherit;}
  170. p#clear {clear:left; padding-top:10px;}