jquery.tabs.css 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. /* Caution! Ensure accessibility in print and other media types... */
  2. @media projection, screen { /* Use class for showing/hiding tab content, so that visibility can be better controlled in different media types... */
  3. .tabs-hide {
  4. display: none;
  5. }
  6. }
  7. /* Hide useless elements in print layouts... */
  8. @media print {
  9. .tabs-nav {
  10. display: none;
  11. }
  12. }
  13. /* Skin */
  14. .tabs-nav {
  15. list-style: none;
  16. margin: 0;
  17. padding: 0 0 0 4px;
  18. }
  19. .tabs-nav:after { /* clearing without presentational markup, IE gets extra treatment */
  20. display: block;
  21. clear: both;
  22. content: " ";
  23. }
  24. .tabs-nav li {
  25. float: left;
  26. margin: 0 0 0 1px;
  27. }
  28. .tabs-nav a {
  29. display: block;
  30. position: relative;
  31. top: 1px;
  32. z-index: 2;
  33. padding: 6px 10px 0;
  34. width: 64px;
  35. height: 18px;
  36. color: #27537a;
  37. font-size: 12px;
  38. font-weight: bold;
  39. line-height: 1.2;
  40. text-align: center;
  41. text-decoration: none;
  42. background: url(../images/tab.png) no-repeat;
  43. }
  44. .tabs-nav .tabs-selected a {
  45. padding-top: 7px;
  46. color: #000;
  47. }
  48. .tabs-nav .tabs-selected a, .tabs-nav a:hover, .tabs-nav a:focus, .tabs-nav a:active {
  49. background-position: 0 -50px;
  50. outline: 0; /* @ Firefox, switch off dotted border */
  51. }
  52. .tabs-nav .tabs-disabled a:hover, .tabs-nav .tabs-disabled a:focus, .tabs-nav .tabs-disabled a:active {
  53. background-position: 0 0;
  54. }
  55. .tabs-nav .tabs-selected a:link, .tabs-nav .tabs-selected a:visited,
  56. .tabs-nav .tabs-disabled a:link, .tabs-nav .tabs-disabled a:visited { /* @ Opera, use pseudo classes otherwise it confuses cursor... */
  57. cursor: text;
  58. }
  59. .tabs-nav a:hover, .tabs-nav a:focus, .tabs-nav a:active { /* @ Opera, we need to be explicit again here now... */
  60. cursor: pointer;
  61. }
  62. .tabs-nav .tabs-disabled {
  63. opacity: .4;
  64. }
  65. .tabs-container {
  66. border-top: 1px solid #97a5b0;
  67. padding: 1em 8px;
  68. background: #fff; /* declare background color for container to avoid distorted fonts in IE while fading */
  69. }
  70. /* Uncomment this if you want a little spinner to be shown next to the tab title while an Ajax tab gets loaded
  71. .tabs-loading span {
  72. padding: 0 0 0 20px;
  73. background: url(loading.gif) no-repeat 0 50%;
  74. }*/