/hippo/src/main/webapp/yui/container/assets/container.css

http://hdbc.googlecode.com/ · CSS · 325 lines · 204 code · 59 blank · 62 comment · 0 complexity · 06f3a507e2559e79edb837db91ea751a 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-overlay,
  8. .yui-panel-container {
  9. visibility:hidden;
  10. position:absolute;
  11. z-index: 2;
  12. }
  13. .yui-tt {
  14. visibility:hidden;
  15. position:absolute;
  16. color:#333;
  17. background-color:#FDFFB4;
  18. font-family:arial,helvetica,verdana,sans-serif;
  19. padding:2px;
  20. border:1px solid #FCC90D;
  21. font:100% sans-serif;
  22. width:auto;
  23. }
  24. /*
  25. PLEASE NOTE: The <DIV> element used for a Tooltip's shadow is appended
  26. to its root element via JavaScript once it has been rendered. The
  27. code that creates the shadow lives in the Tooltip's public "onRender"
  28. event handler that is a prototype method of YAHOO.widget.Tooltip.
  29. Implementers wishing to remove a Tooltip's shadow or add any other markup
  30. required for a given skin for Tooltip should override the "onRender" method.
  31. */
  32. .yui-tt-shadow {
  33. display: none;
  34. }
  35. * html body.masked select {
  36. visibility:hidden;
  37. }
  38. * html div.yui-panel-container select {
  39. visibility:inherit;
  40. }
  41. * html div.drag select {
  42. visibility:hidden;
  43. }
  44. * html div.hide-select select {
  45. visibility:hidden;
  46. }
  47. .mask {
  48. z-index: 1;
  49. display:none;
  50. position:absolute;
  51. top:0;
  52. left:0;
  53. -moz-opacity: 0.5;
  54. opacity:.50;
  55. filter: alpha(opacity=50);
  56. background-color:#CCC;
  57. }
  58. /*
  59. There are two known issues with YAHOO.widget.Overlay (and its subclasses) that
  60. manifest in Gecko-based browsers on Mac OS X:
  61. 1) Elements with scrollbars will poke through Overlay instances floating
  62. above them.
  63. 2) An Overlay's scrollbars and the scrollbars of its child nodes remain
  64. visible when the Overlay is hidden.
  65. To fix these bugs:
  66. 1) The "overflow" property of an Overlay instance's root element and child
  67. nodes is toggled between "hidden" and "auto" (through the application
  68. and removal of the "hide-scrollbars" and "show-scrollbars" CSS classes)
  69. as its "visibility" configuration property is toggled between
  70. "false" and "true."
  71. 2) The "display" property of <SELECT> elements that are child nodes of the
  72. Overlay instance's root element is set to "none" when it is hidden.
  73. PLEASE NOTE:
  74. 1) The "hide-scrollbars" and "show-scrollbars" CSS classes classes are
  75. applied only for Gecko on Mac OS X and are added/removed to/from the
  76. Overlay's root HTML element (DIV) via the "hideMacGeckoScrollbars" and
  77. "showMacGeckoScrollbars" methods of YAHOO.widget.Overlay.
  78. 2) There may be instances where the CSS for a web page or application
  79. contains style rules whose specificity override the rules implemented by
  80. the Container CSS files to fix this bug. In such cases, is necessary to
  81. leverage the provided "hide-scrollbars" and "show-scrollbars" classes to
  82. write custom style rules to guard against this bug.
  83. ** For more information on this issue, see:
  84. + https://bugzilla.mozilla.org/show_bug.cgi?id=187435
  85. + SourceForge bug #1723530
  86. */
  87. .hide-scrollbars,
  88. .hide-scrollbars * {
  89. overflow: hidden;
  90. }
  91. .hide-scrollbars select {
  92. display: none;
  93. }
  94. .show-scrollbars {
  95. overflow: auto;
  96. }
  97. .yui-panel-container.show-scrollbars {
  98. overflow: visible;
  99. }
  100. .yui-panel-container.show-scrollbars .underlay {
  101. overflow: auto;
  102. }
  103. .yui-panel-container.focused {
  104. }
  105. /* Panel underlay styles */
  106. .yui-panel-container .underlay {
  107. position: absolute;
  108. top: 0;
  109. right: 0;
  110. bottom: 0;
  111. left: 0;
  112. }
  113. .yui-panel-container.matte {
  114. padding: 3px;
  115. background-color: #fff;
  116. }
  117. .yui-panel-container.shadow .underlay {
  118. top: 3px;
  119. bottom: -3px;
  120. right: -3px;
  121. left: 3px;
  122. background-color: #000;
  123. opacity: .12;
  124. filter: alpha(opacity=12); /* For IE */
  125. }
  126. /*
  127. Workaround for Safari 2.x - the yui-force-redraw class is applied, and then removed when
  128. the Panel's content changes, to force Safari 2.x to redraw the underlay.
  129. We attempt to choose a CSS property which has no visual impact when added,
  130. removed, but still causes Safari to redraw
  131. */
  132. .yui-panel-container.shadow .underlay.yui-force-redraw {
  133. padding-bottom: 1px;
  134. }
  135. .yui-effect-fade .underlay {
  136. display:none;
  137. }
  138. .yui-panel {
  139. visibility:hidden;
  140. border-collapse:separate;
  141. position:relative;
  142. left:0;
  143. top:0;
  144. font:1em Arial;
  145. background-color:#FFF;
  146. border:1px solid #000;
  147. z-index:1;
  148. overflow:hidden;
  149. }
  150. .yui-panel .hd {
  151. background-color:#3d77cb;
  152. color:#FFF;
  153. font-size:100%;
  154. line-height:100%;
  155. border:1px solid #FFF;
  156. border-bottom:1px solid #000;
  157. font-weight:bold;
  158. padding:4px;
  159. white-space:nowrap;
  160. }
  161. .yui-panel .bd {
  162. overflow:hidden;
  163. padding:4px;
  164. }
  165. .yui-panel .bd p {
  166. margin:0 0 1em;
  167. }
  168. .yui-panel .container-close {
  169. position:absolute;
  170. top:5px;
  171. right:4px;
  172. z-index:6;
  173. height:12px;
  174. width:12px;
  175. margin:0px;
  176. padding:0px;
  177. background:url(close12_1.gif) no-repeat;
  178. cursor:pointer;
  179. visibility:inherit;
  180. text-indent:-10000em;
  181. overflow:hidden;
  182. text-decoration:none;
  183. }
  184. .yui-panel .ft {
  185. padding:4px;
  186. overflow:hidden;
  187. }
  188. .yui-simple-dialog .bd .yui-icon {
  189. background-repeat:no-repeat;
  190. width:16px;
  191. height:16px;
  192. margin-right:10px;
  193. float:left;
  194. }
  195. .yui-simple-dialog .bd span.blckicon {
  196. background: url("blck16_1.gif") no-repeat;
  197. }
  198. .yui-simple-dialog .bd span.alrticon {
  199. background: url("alrt16_1.gif") no-repeat;
  200. }
  201. .yui-simple-dialog .bd span.hlpicon {
  202. background: url("hlp16_1.gif") no-repeat;
  203. }
  204. .yui-simple-dialog .bd span.infoicon {
  205. background: url("info16_1.gif") no-repeat;
  206. }
  207. .yui-simple-dialog .bd span.warnicon {
  208. background: url("warn16_1.gif") no-repeat;
  209. }
  210. .yui-simple-dialog .bd span.tipicon {
  211. background: url("tip16_1.gif") no-repeat;
  212. }
  213. .yui-dialog .ft,
  214. .yui-simple-dialog .ft {
  215. padding-bottom:5px;
  216. padding-right:5px;
  217. text-align:right;
  218. }
  219. .yui-dialog form,
  220. .yui-simple-dialog form {
  221. margin:0;
  222. }
  223. .button-group button {
  224. font:100 76% verdana;
  225. text-decoration:none;
  226. background-color: #E4E4E4;
  227. color: #333;
  228. cursor: hand;
  229. vertical-align: middle;
  230. border: 2px solid #797979;
  231. border-top-color:#FFF;
  232. border-left-color:#FFF;
  233. margin:2px;
  234. padding:2px;
  235. }
  236. .button-group button.default {
  237. font-weight:bold;
  238. }
  239. .button-group button:hover,
  240. .button-group button.hover {
  241. border:2px solid #90A029;
  242. background-color:#EBF09E;
  243. border-top-color:#FFF;
  244. border-left-color:#FFF;
  245. }
  246. .button-group button:active {
  247. border:2px solid #E4E4E4;
  248. background-color:#BBB;
  249. border-top-color:#333;
  250. border-left-color:#333;
  251. }
  252. .yui-override-padding {
  253. padding:0 !important;
  254. }