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

http://struts2yuiplugin.googlecode.com/ · CSS · 132 lines · 89 code · 15 blank · 28 comment · 0 complexity · 32261286ca74364148c467e06fb1b286 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. /**
  8. * CORE
  9. *
  10. * This is the set of CSS rules required by Calendar to drive core functionality and structure.
  11. * Changes to these rules may result in the Calendar not functioning or rendering correctly.
  12. *
  13. * They should not be modified for skinning.
  14. **/
  15. /* CALENDAR BOUNDING BOX */
  16. .yui-calcontainer {
  17. position:relative;
  18. float:left;
  19. _overflow:hidden; /* IE6 only, to clip iframe shim */
  20. }
  21. /* IFRAME SHIM */
  22. .yui-calcontainer iframe {
  23. position:absolute;
  24. border:none;
  25. margin:0;padding:0;
  26. z-index:0;
  27. width:100%;
  28. height:100%;
  29. left:0px;
  30. top:0px;
  31. }
  32. /* IFRAME SHIM IE6 only */
  33. .yui-calcontainer iframe.fixedsize {
  34. width:50em;
  35. height:50em;
  36. top:-1px;
  37. left:-1px;
  38. }
  39. /* BOUNDING BOX FOR EACH CALENDAR GROUP PAGE */
  40. .yui-calcontainer.multi .groupcal {
  41. z-index:1;
  42. float:left;
  43. position:relative;
  44. }
  45. /* TITLE BAR */
  46. .yui-calcontainer .title {
  47. position:relative;
  48. z-index:1;
  49. }
  50. /* CLOSE ICON CONTAINER */
  51. .yui-calcontainer .close-icon {
  52. position:absolute;
  53. z-index:1;
  54. text-indent:-10000em;
  55. overflow:hidden;
  56. }
  57. /* CALENDAR TABLE */
  58. .yui-calendar {
  59. position:relative;
  60. }
  61. /* NAVBAR LEFT ARROW CONTAINER */
  62. .yui-calendar .calnavleft {
  63. position:absolute;
  64. z-index:1;
  65. text-indent:-10000em;
  66. overflow:hidden;
  67. }
  68. /* NAVBAR RIGHT ARROW CONTAINER */
  69. .yui-calendar .calnavright {
  70. position:absolute;
  71. z-index:1;
  72. text-indent:-10000em;
  73. overflow:hidden;
  74. }
  75. /* NAVBAR TEXT CONTAINER */
  76. .yui-calendar .calheader {
  77. position:relative;
  78. width:100%;
  79. text-align:center;
  80. }
  81. /* CalendarNavigator */
  82. .yui-calcontainer .yui-cal-nav-mask {
  83. position:absolute;
  84. z-index:2;
  85. margin:0;
  86. padding:0;
  87. width:100%;
  88. height:100%;
  89. _width:0; /* IE6, IE7 quirks - width/height set programmatically to match container */
  90. _height:0;
  91. left:0;
  92. top:0;
  93. display:none;
  94. }
  95. /* NAVIGATOR BOUNDING BOX */
  96. .yui-calcontainer .yui-cal-nav {
  97. position:absolute;
  98. z-index:3;
  99. top:0;
  100. display:none;
  101. }
  102. /* NAVIGATOR BUTTONS (based on button-core.css) */
  103. .yui-calcontainer .yui-cal-nav .yui-cal-nav-btn {
  104. display: -moz-inline-box; /* Gecko */
  105. display: inline-block; /* IE, Opera and Safari */
  106. }
  107. .yui-calcontainer .yui-cal-nav .yui-cal-nav-btn button {
  108. display: block;
  109. *display: inline-block; /* IE */
  110. *overflow: visible; /* Remove superfluous padding for IE */
  111. border: none;
  112. background-color: transparent;
  113. cursor: pointer;
  114. }
  115. /* Specific changes for calendar running under fonts/reset */
  116. .yui-calendar .calbody a:hover {background:inherit;}
  117. p#clear {clear:left; padding-top:10px;}