TitlePane.css 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /* TitlePane
  2. *
  3. * Styling TitlePane means styling the TitlePane title and its content container (dijitTitlePane)
  4. *
  5. * TitlePane title:
  6. * 1. TitlePane title (default styling):
  7. * .dijitTitlePaneTitle - TitlePane's title div style: background-color, border
  8. *
  9. * 2. hovered TitlePane title (ie, mouse hover on a title bar)
  10. * .dijitTitlePaneTitleHover - styles when mouse hover on the title div
  11. *
  12. * 3. active TitlePane title (ie, mouse down on a title bar)
  13. * .dijitTitlePaneTitleActive - styles when mouse down on the title div
  14. *
  15. *
  16. * TitlePane Content Container:
  17. * 1. outer/inner container:
  18. * .dijitTitlePaneContentOuter / dijitTitlePaneContentInner - styles for the content outer div
  19. */
  20. .claro .dijitTitlePaneTitle {
  21. background-color: #efefef;
  22. background-image: url("images/titlebar.png");
  23. background-repeat: repeat-x;
  24. border: 1px solid #b5bcc7;
  25. padding: 0 7px 3px 7px;
  26. min-height: 17px;
  27. }
  28. .dj_ie6 .claro .dijitTitlePaneTitle {
  29. background-image: none;
  30. }
  31. .claro .dijitTitlePaneTitleHover {
  32. background-color: #abd6ff;
  33. border-color: #769dc0;
  34. }
  35. .claro .dijitTitlePaneTitleActive {
  36. background-color: #7dbefa;
  37. border-color: #769dc0;
  38. background-position: 0 -136px;
  39. }
  40. .claro .dijitTitlePaneTitleFocus {
  41. margin-top: 3px;
  42. padding-bottom: 2px;
  43. }
  44. .claro .dijitTitlePane .dijitArrowNode {
  45. background-image: url('images/spriteArrows.png');
  46. background-repeat: no-repeat;
  47. height: 8px;
  48. width: 7px;
  49. }
  50. .claro .dijitTitlePane .dijitOpen .dijitArrowNode {
  51. background-position: 0 0;
  52. }
  53. .claro .dijitTitlePane .dijitClosed .dijitArrowNode {
  54. background-position: -14px 0;
  55. }
  56. .claro .dijitTitlePaneFocused .dijitTitlePaneTextNode {
  57. color: #000000;
  58. /* TODO: do we need this? we usually don't change text color on focus */
  59. }
  60. .claro .dijitTitlePaneContentOuter {
  61. background: #ffffff;
  62. border: 1px solid #b5bcc7;
  63. border-top: none;
  64. }
  65. .claro .dijitTitlePaneContentInner {
  66. padding: 10px;
  67. }
  68. .claro .dijitTitlePaneTextNode {
  69. margin-left: 4px;
  70. margin-right: 4px;
  71. vertical-align: text-top;
  72. }