TabBar-compat.css 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /* dojox.mobile.TabBarButton */
  2. .dj_ie6 .mblTabBarButtonDiv, .dj_ie7 .mblTabBarButtonDiv {
  3. left: auto;
  4. }
  5. .dj_ie6 .mblTabBar .mblTabBarButton {
  6. display: inline; /* IE bug*/
  7. }
  8. .mblTabBarButtonIcon {
  9. position: absolute;
  10. top: 2px;
  11. left: 0px;
  12. }
  13. .dj_gecko .mblTabBar .mblTabBarButton.mblTabButtonSelected {
  14. -moz-border-radius: 3px;
  15. }
  16. .dj_gecko .mblTabPanelHeader .mblTabButton {
  17. -moz-border-radius-topleft: 6px;
  18. -moz-border-radius-topright: 6px;
  19. }
  20. *html .mblTabButton { /* IE6 hack */
  21. behavior: expression(
  22. (function(el){
  23. if(!el.previousSibling)
  24. el.style.borderWidth = "1px";
  25. el.style.behavior = "none";
  26. })(this)
  27. );
  28. }
  29. .dj_ie6 .mblTabPanelHeader .mblDomButton {
  30. left: 0px;
  31. }
  32. .mblTabButton img {
  33. position: absolute;
  34. left: 0px;
  35. top: 0px;
  36. margin-top: 8px;
  37. }
  38. .dj_gecko .mblHeading .mblTabPanelHeader .mblTabButton {
  39. -moz-border-radius-topleft: 0px;
  40. -moz-border-radius-topright: 0px;
  41. }
  42. .dj_gecko .mblHeading .mblTabPanelHeader .mblTabButton:first-child {
  43. -moz-border-radius-topleft: 6px;
  44. -moz-border-radius-bottomleft: 6px;
  45. }
  46. .dj_gecko .mblHeading .mblTabPanelHeader .mblTabButton:last-child {
  47. -moz-border-radius-topright: 6px;
  48. -moz-border-radius-bottomright: 6px;
  49. }