/src/main/resources/org/apache/struts2/static/tabview/assets/skin-sam.css

http://struts2yuiplugin.googlecode.com/ · CSS · 77 lines · 60 code · 11 blank · 6 comment · 0 complexity · 1cf90a28be99228d7bc3d52d5096a8b3 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 {
  8. margin-right:0.16em; /* space between tabs */
  9. padding-top:1px; /* gecko: make room for overflow */
  10. zoom:1;
  11. }
  12. .yui-navset .yui-nav .selected {
  13. margin-bottom:-1px; /* for overlap */
  14. }
  15. .yui-navset .yui-nav a {
  16. background:#dadbdb url(../../assets/skins/sam/sprite.png) repeat-x; /* sprite position for normal gradient */
  17. border:solid #a3a3a3;
  18. border-width:0 1px;
  19. color:#000;
  20. text-decoration:none;
  21. }
  22. .yui-navset .yui-nav li a em {
  23. border-top:solid 1px #a3a3a3;
  24. border-bottom:0;
  25. cursor:hand;
  26. padding:0.2em 0.5em;
  27. top:-1px; /* for 1px rounded corners */
  28. position:relative;
  29. }
  30. .yui-navset .yui-nav .selected a,
  31. .yui-navset .yui-nav a:focus,
  32. .yui-navset .yui-nav a:hover {
  33. background:#214197 url(../../assets/skins/sam/sprite.png) repeat-x left -1400px;
  34. color:#fff;
  35. }
  36. .yui-navset .yui-nav .selected a em {
  37. padding:0.3em 0.5em; /* raise selected tab */
  38. }
  39. .yui-navset .yui-nav .selected a,
  40. .yui-navset .yui-nav a:hover,
  41. .yui-navset .yui-nav a:focus {
  42. border-color:#243356;
  43. }
  44. .yui-navset .yui-nav a:hover em,
  45. .yui-navset .yui-nav a:focus em,
  46. .yui-navset .yui-nav .selected a em {
  47. border-color:#233356 #406ed9;
  48. }
  49. .yui-navset .yui-nav {
  50. border-bottom:1px solid #243356;
  51. position:relative;
  52. zoom:1;
  53. }
  54. .yui-navset .yui-content {
  55. background:#abceff;
  56. border-top:5px solid #214095;
  57. }
  58. .yui-navset .yui-content div {
  59. border:1px solid #808080;
  60. border-top-color:#243356;
  61. padding:0.25em 0.5em;
  62. }
  63. .yui-navset .yui-content div div { /* kill inheritance */
  64. border:0;
  65. padding:0;
  66. }