linkbutton.css 3.7 KB

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