You are here

ui.tabs.css in simplehtmldom API 5.2

/* Caution! Ensure accessibility in print and other media types... */
@media projection, screen { /* Use class for showing/hiding tab content, so that visibility can be better controlled in different media types... */
    .ui-tabs-hide {
        display: none;
    }
}

/* Hide useless elements in print layouts... */
@media print {
    .ui-tabs-nav {
        display: none;
    }
}

/* Skin */
.ui-tabs-nav, .ui-tabs-panel {
    font-family: "Trebuchet MS", Trebuchet, Verdana, Helvetica, Arial, sans-serif;
    font-size: 12px;
}
.ui-tabs-nav {
    list-style: none;
    margin: 0;
    padding: 0 0 0 4px;
}
.ui-tabs-nav:after { /* clearing without presentational markup, IE gets extra treatment */
    display: block;
    clear: both;
    content: " ";
}
.ui-tabs-nav li {
    float: left;
    margin: 0 0 0 1px;
    min-width: 84px; /* be nice to Opera */
}
.ui-tabs-nav a, .ui-tabs-nav a span {
    display: block;
    padding: 0 10px;
    background: url(../img/tab.png) no-repeat;
}
.ui-tabs-nav a {
    margin: 1px 0 0; /* position: relative makes opacity fail for disabled tab in IE */
    padding-left: 0;
    color: #27537a;
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap; /* required in IE 6 */    
    outline: 0; /* prevent dotted border in Firefox */
}
.ui-tabs-nav .ui-tabs-selected a {
    position: relative;
    top: 1px;
    z-index: 2;
    margin-top: 0;
    color: #000;
}
.ui-tabs-nav a span {
    width: 64px; /* IE 6 treats width as min-width */
    min-width: 64px;
    height: 18px; /* IE 6 treats height as min-height */
    min-height: 18px;
    padding-top: 6px;
    padding-right: 0;
}
*>.ui-tabs-nav a span { /* hide from IE 6 */
    width: auto;
    height: auto;
}
.ui-tabs-nav .ui-tabs-selected a span {
    padding-bottom: 1px;
}
.ui-tabs-nav .ui-tabs-selected a, .ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active {
    background-position: 100% -150px;
}
.ui-tabs-nav a, .ui-tabs-nav .ui-tabs-disabled a:hover, .ui-tabs-nav .ui-tabs-disabled a:focus, .ui-tabs-nav .ui-tabs-disabled a:active {
    background-position: 100% -100px;
}
.ui-tabs-nav .ui-tabs-selected a span, .ui-tabs-nav a:hover span, .ui-tabs-nav a:focus span, .ui-tabs-nav a:active span {
    background-position: 0 -50px;
}
.ui-tabs-nav a span, .ui-tabs-nav .ui-tabs-disabled a:hover span, .ui-tabs-nav .ui-tabs-disabled a:focus span, .ui-tabs-nav .ui-tabs-disabled a:active span {
    background-position: 0 0;
}
.ui-tabs-nav .ui-tabs-selected a:link, .ui-tabs-nav .ui-tabs-selected a:visited, .ui-tabs-nav .ui-tabs-disabled a:link, .ui-tabs-nav .ui-tabs-disabled a:visited { /* @ Opera, use pseudo classes otherwise it confuses cursor... */
    cursor: text;
}
.ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active,
.ui-tabs-nav .ui-tabs-unselect a:hover, .ui-tabs-nav .ui-tabs-unselect a:focus, .ui-tabs-nav .ui-tabs-unselect a:active { /* @ Opera, we need to be explicit again here now... */
    cursor: pointer;
}
.ui-tabs-disabled {
    opacity: .4;
    filter: alpha(opacity=40);
}
.ui-tabs-panel {
    border-top: 1px solid #97a5b0;
    padding: 2px 4px 2px 4px;
    background: #fff; /* declare background color for container to avoid distorted fonts in IE while fading */
    border: 1px solid #D0D0D0;
    border-bottom: 1px solid #A0A0A0;
    border-right: 1px solid #A0A0A0;
}
.ui-tabs-loading em {
    padding: 0 0 0 20px;
    background: url(loading.gif) no-repeat 0 50%;
}

/* Additional IE specific bug fixes... */
* html .ui-tabs-nav { /* auto clear, @ IE 6 & IE 7 Quirks Mode */
    display: inline-block;
}
*:first-child+html .ui-tabs-nav  { /* @ IE 7 Standards Mode - do not group selectors, otherwise IE 6 will ignore complete rule (because of the unknown + combinator)... */
    display: inline-block;
}

File

simplehtmldom/manual/css/ui.tabs.css
View source
  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. .ui-tabs-hide {
  4. display: none;
  5. }
  6. }
  7. /* Hide useless elements in print layouts... */
  8. @media print {
  9. .ui-tabs-nav {
  10. display: none;
  11. }
  12. }
  13. /* Skin */
  14. .ui-tabs-nav, .ui-tabs-panel {
  15. font-family: "Trebuchet MS", Trebuchet, Verdana, Helvetica, Arial, sans-serif;
  16. font-size: 12px;
  17. }
  18. .ui-tabs-nav {
  19. list-style: none;
  20. margin: 0;
  21. padding: 0 0 0 4px;
  22. }
  23. .ui-tabs-nav:after { /* clearing without presentational markup, IE gets extra treatment */
  24. display: block;
  25. clear: both;
  26. content: " ";
  27. }
  28. .ui-tabs-nav li {
  29. float: left;
  30. margin: 0 0 0 1px;
  31. min-width: 84px; /* be nice to Opera */
  32. }
  33. .ui-tabs-nav a, .ui-tabs-nav a span {
  34. display: block;
  35. padding: 0 10px;
  36. background: url(../img/tab.png) no-repeat;
  37. }
  38. .ui-tabs-nav a {
  39. margin: 1px 0 0; /* position: relative makes opacity fail for disabled tab in IE */
  40. padding-left: 0;
  41. color: #27537a;
  42. font-weight: bold;
  43. line-height: 1.2;
  44. text-align: center;
  45. text-decoration: none;
  46. white-space: nowrap; /* required in IE 6 */
  47. outline: 0; /* prevent dotted border in Firefox */
  48. }
  49. .ui-tabs-nav .ui-tabs-selected a {
  50. position: relative;
  51. top: 1px;
  52. z-index: 2;
  53. margin-top: 0;
  54. color: #000;
  55. }
  56. .ui-tabs-nav a span {
  57. width: 64px; /* IE 6 treats width as min-width */
  58. min-width: 64px;
  59. height: 18px; /* IE 6 treats height as min-height */
  60. min-height: 18px;
  61. padding-top: 6px;
  62. padding-right: 0;
  63. }
  64. *>.ui-tabs-nav a span { /* hide from IE 6 */
  65. width: auto;
  66. height: auto;
  67. }
  68. .ui-tabs-nav .ui-tabs-selected a span {
  69. padding-bottom: 1px;
  70. }
  71. .ui-tabs-nav .ui-tabs-selected a, .ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active {
  72. background-position: 100% -150px;
  73. }
  74. .ui-tabs-nav a, .ui-tabs-nav .ui-tabs-disabled a:hover, .ui-tabs-nav .ui-tabs-disabled a:focus, .ui-tabs-nav .ui-tabs-disabled a:active {
  75. background-position: 100% -100px;
  76. }
  77. .ui-tabs-nav .ui-tabs-selected a span, .ui-tabs-nav a:hover span, .ui-tabs-nav a:focus span, .ui-tabs-nav a:active span {
  78. background-position: 0 -50px;
  79. }
  80. .ui-tabs-nav a span, .ui-tabs-nav .ui-tabs-disabled a:hover span, .ui-tabs-nav .ui-tabs-disabled a:focus span, .ui-tabs-nav .ui-tabs-disabled a:active span {
  81. background-position: 0 0;
  82. }
  83. .ui-tabs-nav .ui-tabs-selected a:link, .ui-tabs-nav .ui-tabs-selected a:visited, .ui-tabs-nav .ui-tabs-disabled a:link, .ui-tabs-nav .ui-tabs-disabled a:visited { /* @ Opera, use pseudo classes otherwise it confuses cursor... */
  84. cursor: text;
  85. }
  86. .ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active,
  87. .ui-tabs-nav .ui-tabs-unselect a:hover, .ui-tabs-nav .ui-tabs-unselect a:focus, .ui-tabs-nav .ui-tabs-unselect a:active { /* @ Opera, we need to be explicit again here now... */
  88. cursor: pointer;
  89. }
  90. .ui-tabs-disabled {
  91. opacity: .4;
  92. filter: alpha(opacity=40);
  93. }
  94. .ui-tabs-panel {
  95. border-top: 1px solid #97a5b0;
  96. padding: 2px 4px 2px 4px;
  97. background: #fff; /* declare background color for container to avoid distorted fonts in IE while fading */
  98. border: 1px solid #D0D0D0;
  99. border-bottom: 1px solid #A0A0A0;
  100. border-right: 1px solid #A0A0A0;
  101. }
  102. .ui-tabs-loading em {
  103. padding: 0 0 0 20px;
  104. background: url(loading.gif) no-repeat 0 50%;
  105. }
  106. /* Additional IE specific bug fixes... */
  107. * html .ui-tabs-nav { /* auto clear, @ IE 6 & IE 7 Quirks Mode */
  108. display: inline-block;
  109. }
  110. *:first-child+html .ui-tabs-nav { /* @ IE 7 Standards Mode - do not group selectors, otherwise IE 6 will ignore complete rule (because of the unknown + combinator)... */
  111. display: inline-block;
  112. }