/src/main/resources/org/apache/struts2/static/tabview/assets/border_tabs.css

http://struts2yuiplugin.googlecode.com/ · CSS · 54 lines · 35 code · 11 blank · 8 comment · 0 complexity · f7989a58db61038d76548ed2cac4ab8d 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-navset .yui-nav li a, .yui-navset .yui-content {
  8. border:1px solid #000; /* label and content borders */
  9. }
  10. .yui-navset .yui-nav .selected a, .yui-navset .yui-nav a:hover, .yui-navset .yui-content {
  11. background-color:#f6f7ee; /* active tab, tab hover, and content bgcolor */
  12. }
  13. .yui-navset .yui-nav li em { padding:.5em; } /* tab padding */
  14. /* defaults to orientation "top" */
  15. .yui-navset .yui-nav .selected a {
  16. border-bottom-width:0; /* no bottom border for active tab */
  17. padding-bottom:1px; /* to match height of other tabs */
  18. }
  19. .yui-navset .yui-content {
  20. margin-top:-1px; /* for active tab overlap */
  21. }
  22. /* overrides for other orientations */
  23. .yui-navset-bottom .yui-nav .selected a {
  24. border-width:0 1px 1px; /* no top border for active tab */
  25. padding:1px 0 0; /* to match height of other tabs */
  26. }
  27. .yui-navset-bottom .yui-content {
  28. margin:0 0 -1px; /* for active tab overlap */
  29. }
  30. .yui-navset-left .yui-nav li.selected a {
  31. border-width:1px 0 1px 1px; /* no right border for active tab */
  32. padding:0 1px 0 0; /* to match width of other tabs */
  33. }
  34. .yui-navset-left .yui-content {
  35. margin:0 0 0 -1px; /* for active tab overlap */
  36. }
  37. .yui-navset-right .yui-nav li.selected a {
  38. border-width:1px 1px 1px 0; /* no left border for active tab */
  39. padding:0 0 0 1px; /* to match width of other tabs */
  40. }
  41. .yui-navset-right .yui-content {
  42. margin:0 -1px 0 0; /* for active tab overlap */
  43. }