/hudson-war/src/main/webapp/scripts/yui/button/assets/skins/sam/button-skin.css

http://github.com/hudson/hudson · CSS · 232 lines · 120 code · 97 blank · 15 comment · 0 complexity · 9afee0ceb0069cbab4d7c14078d347fd MD5 · raw file

  1. /*
  2. Copyright (c) 2008, Yahoo! Inc. All rights reserved.
  3. Code licensed under the BSD License:
  4. http://developer.yahoo.net/yui/license.txt
  5. version: 2.5.1
  6. */
  7. .yui-skin-sam .yui-button {
  8. border-width: 1px 0;
  9. border-style: solid;
  10. border-color: #808080;
  11. background: url(../../../../assets/skins/sam/sprite.png) repeat-x 0 0;
  12. margin: auto .25em;
  13. }
  14. .yui-skin-sam .yui-button .first-child {
  15. border-width: 0 1px;
  16. border-style: solid;
  17. border-color: #808080;
  18. margin: 0 -1px;
  19. *position: relative; /* Necessary to get negative margins working in IE */
  20. *left: -1px;
  21. }
  22. .yui-skin-sam .yui-button button,
  23. .yui-skin-sam .yui-button a {
  24. padding: 0 10px;
  25. font-size: 93%; /* 12px */
  26. line-height: 2; /* ~24px */
  27. *line-height: 1.7; /* For IE */
  28. min-height: 2em; /* For Gecko */
  29. *min-height: auto; /* For IE */
  30. color: #000;
  31. }
  32. .yui-skin-sam .yui-button a {
  33. /*
  34. Necessary to get Button's of type "link" to be the correct
  35. height in IE.
  36. */
  37. *line-height: 2;
  38. }
  39. .yui-skin-sam .yui-split-button button,
  40. .yui-skin-sam .yui-menu-button button {
  41. padding-right: 20px;
  42. background-position: right center;
  43. background-repeat: no-repeat;
  44. }
  45. .yui-skin-sam .yui-menu-button button {
  46. background-image: url(menu-button-arrow.png);
  47. }
  48. .yui-skin-sam .yui-split-button button {
  49. background-image: url(split-button-arrow.png);
  50. }
  51. /* Focus state */
  52. .yui-skin-sam .yui-button-focus {
  53. border-color: #7D98B8;
  54. background-position: 0 -1300px;
  55. }
  56. .yui-skin-sam .yui-button-focus .first-child {
  57. border-color: #7D98B8;
  58. }
  59. .yui-skin-sam .yui-button-focus button,
  60. .yui-skin-sam .yui-button-focus a {
  61. color: #000;
  62. }
  63. .yui-skin-sam .yui-split-button-focus button {
  64. background-image: url(split-button-arrow-focus.png);
  65. }
  66. /* Hover state */
  67. .yui-skin-sam .yui-button-hover {
  68. border-color: #7D98B8;
  69. background-position: 0 -1300px;
  70. }
  71. .yui-skin-sam .yui-button-hover .first-child {
  72. border-color: #7D98B8;
  73. }
  74. .yui-skin-sam .yui-button-hover button,
  75. .yui-skin-sam .yui-button-hover a {
  76. color: #000;
  77. }
  78. .yui-skin-sam .yui-split-button-hover button {
  79. background-image: url(split-button-arrow-hover.png);
  80. }
  81. /* Active state */
  82. .yui-skin-sam .yui-button-active {
  83. border-color: #7D98B8;
  84. background-position: 0 -1700px;
  85. }
  86. .yui-skin-sam .yui-button-active .first-child {
  87. border-color: #7D98B8;
  88. }
  89. .yui-skin-sam .yui-button-active button,
  90. .yui-skin-sam .yui-button-active a {
  91. color: #000;
  92. }
  93. .yui-skin-sam .yui-split-button-activeoption {
  94. border-color: #808080;
  95. background-position: 0 0;
  96. }
  97. .yui-skin-sam .yui-split-button-activeoption .first-child {
  98. border-color: #808080;
  99. }
  100. .yui-skin-sam .yui-split-button-activeoption button {
  101. background-image: url(split-button-arrow-active.png);
  102. }
  103. /* Checked state */
  104. .yui-skin-sam .yui-radio-button-checked,
  105. .yui-skin-sam .yui-checkbox-button-checked {
  106. border-color: #304369;
  107. background-position: 0 -1400px;
  108. }
  109. .yui-skin-sam .yui-radio-button-checked .first-child,
  110. .yui-skin-sam .yui-checkbox-button-checked .first-child {
  111. border-color: #304369;
  112. }
  113. .yui-skin-sam .yui-radio-button-checked button,
  114. .yui-skin-sam .yui-checkbox-button-checked button {
  115. color: #fff;
  116. }
  117. /* Disabled state */
  118. .yui-skin-sam .yui-button-disabled {
  119. border-color: #ccc;
  120. background-position: 0 -1500px;
  121. }
  122. .yui-skin-sam .yui-button-disabled .first-child {
  123. border-color: #ccc;
  124. }
  125. .yui-skin-sam .yui-button-disabled button,
  126. .yui-skin-sam .yui-button-disabled a {
  127. color: #A6A6A6;
  128. cursor: default;
  129. }
  130. .yui-skin-sam .yui-menu-button-disabled button {
  131. background-image: url(menu-button-arrow-disabled.png);
  132. }
  133. .yui-skin-sam .yui-split-button-disabled button {
  134. background-image: url(split-button-arrow-disabled.png);
  135. }