linkbutton.css 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. a.l-btn {
  2. background-position: right 0;
  3. text-decoration: none;
  4. display: inline-block;
  5. zoom: 1;
  6. height: 24px;
  7. padding-right: 18px;
  8. cursor: pointer;
  9. outline: none;
  10. }
  11. a.l-btn-plain {
  12. padding-right: 5px;
  13. border: 0;
  14. padding: 1px 6px 1px 1px;
  15. }
  16. a.l-btn-disabled {
  17. color: #ccc;
  18. opacity: 0.5;
  19. filter: alpha(opacity=50);
  20. cursor: default;
  21. }
  22. a.l-btn span.l-btn-left {
  23. display: inline-block;
  24. background-position: 0 -48px;
  25. padding: 4px 0px 4px 18px;
  26. line-height: 16px;
  27. height: 16px;
  28. }
  29. a.l-btn-plain span.l-btn-left {
  30. padding-left: 5px;
  31. }
  32. a.l-btn span span.l-btn-text {
  33. display: inline-block;
  34. vertical-align: baseline;
  35. width: auto;
  36. height: 16px;
  37. line-height: 16px;
  38. font-size: 12px;
  39. padding: 0;
  40. margin: 0;
  41. }
  42. a.l-btn span span.l-btn-icon-left {
  43. padding: 0 0 0 20px;
  44. background-position: left center;
  45. }
  46. a.l-btn span span.l-btn-icon-right {
  47. padding: 0 20px 0 0;
  48. background-position: right center;
  49. }
  50. a.l-btn span span span.l-btn-empty {
  51. display: inline-block;
  52. margin: 0;
  53. padding: 0;
  54. width: 16px;
  55. }
  56. a:hover.l-btn {
  57. background-position: right -24px;
  58. outline: none;
  59. text-decoration: none;
  60. }
  61. a:hover.l-btn span.l-btn-left {
  62. background-position: 0 bottom;
  63. }
  64. a:hover.l-btn-plain {
  65. padding: 0 5px 0 0;
  66. }
  67. a:hover.l-btn-disabled {
  68. background-position: right 0;
  69. }
  70. a:hover.l-btn-disabled span.l-btn-left {
  71. background-position: 0 -48px;
  72. }
  73. a.l-btn .l-btn-focus {
  74. outline: #0000FF dotted thin;
  75. }
  76. a.l-btn {
  77. color: #404040;
  78. background-image: url('images/linkbutton_bg.png');
  79. background-repeat: no-repeat;
  80. background: #de8033;
  81. background-repeat: repeat-x;
  82. border: 1px solid #de8033;
  83. background: -webkit-linear-gradient(top,#de8033 0,#de8033 100%);
  84. background: -moz-linear-gradient(top,#de8033 0,#de8033 100%);
  85. background: -o-linear-gradient(top,#de8033 0,#de8033 100%);
  86. background: linear-gradient(to bottom,#de8033 0,#de8033 100%);
  87. background-repeat: repeat-x;
  88. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#de8033,endColorstr=#de8033,GradientType=0);
  89. -moz-border-radius: 0px 0px 0px 0px;
  90. -webkit-border-radius: 0px 0px 0px 0px;
  91. border-radius: 0px 0px 0px 0px;
  92. }
  93. a.l-btn span.l-btn-left {
  94. background-image: url('images/linkbutton_bg.png');
  95. background-repeat: no-repeat;
  96. background-image: none;
  97. }
  98. a:hover.l-btn {
  99. background: #fff7d6;
  100. color: #404040;
  101. border: 1px solid #fff7d6;
  102. filter: none;
  103. }
  104. a.l-btn-plain,
  105. a.l-btn-plain span.l-btn-left {
  106. background: transparent;
  107. border: 0;
  108. filter: none;
  109. }
  110. a:hover.l-btn-plain {
  111. background: #fff7d6;
  112. color: #404040;
  113. border: 1px solid #fff7d6;
  114. -moz-border-radius: 0px 0px 0px 0px;
  115. -webkit-border-radius: 0px 0px 0px 0px;
  116. border-radius: 0px 0px 0px 0px;
  117. }
  118. a.l-btn-disabled,
  119. a:hover.l-btn-disabled {
  120. color: #404040;
  121. filter: alpha(opacity=50);
  122. background: #de8033;
  123. color: #404040;
  124. background: -webkit-linear-gradient(top,#de8033 0,#de8033 100%);
  125. background: -moz-linear-gradient(top,#de8033 0,#de8033 100%);
  126. background: -o-linear-gradient(top,#de8033 0,#de8033 100%);
  127. background: linear-gradient(to bottom,#de8033 0,#de8033 100%);
  128. background-repeat: repeat-x;
  129. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#de8033,endColorstr=#de8033,GradientType=0);
  130. filter: alpha(opacity=50) progid:DXImageTransform.Microsoft.gradient(startColorstr=#de8033,endColorstr=#de8033,GradientType=0);
  131. }
  132. a.l-btn-plain-disabled,
  133. a:hover.l-btn-plain-disabled {
  134. background: transparent;
  135. filter: alpha(opacity=50);
  136. }
  137. a.l-btn-selected,
  138. a:hover.l-btn-selected {
  139. background-position: right -24px;
  140. background: #f0e3bf;
  141. filter: none;
  142. }
  143. a.l-btn-selected span.l-btn-left,
  144. a:hover.l-btn-selected span.l-btn-left {
  145. background-position: 0 bottom;
  146. background-image: none;
  147. }
  148. a.l-btn-plain-selected,
  149. a:hover.l-btn-plain-selected {
  150. background: #f0e3bf;
  151. }