linkbutton.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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. -moz-border-radius: 5px 5px 5px 5px;
  82. -webkit-border-radius: 5px 5px 5px 5px;
  83. border-radius: 5px 5px 5px 5px;
  84. }
  85. a.l-btn span.l-btn-left {
  86. background-image: url('images/linkbutton_bg.png');
  87. background-repeat: no-repeat;
  88. }
  89. a.l-btn-plain,
  90. a.l-btn-plain span.l-btn-left {
  91. background: transparent;
  92. border: 0;
  93. filter: none;
  94. }
  95. a:hover.l-btn-plain {
  96. background: #e2e2e2;
  97. color: #000000;
  98. border: 1px solid #ccc;
  99. -moz-border-radius: 5px 5px 5px 5px;
  100. -webkit-border-radius: 5px 5px 5px 5px;
  101. border-radius: 5px 5px 5px 5px;
  102. }
  103. a.l-btn-disabled,
  104. a:hover.l-btn-disabled {
  105. color: #444;
  106. filter: alpha(opacity=50);
  107. }
  108. a.l-btn-plain-disabled,
  109. a:hover.l-btn-plain-disabled {
  110. background: transparent;
  111. filter: alpha(opacity=50);
  112. }
  113. a.l-btn-selected,
  114. a:hover.l-btn-selected {
  115. background-position: right -24px;
  116. }
  117. a.l-btn-selected span.l-btn-left,
  118. a:hover.l-btn-selected span.l-btn-left {
  119. background-position: 0 bottom;
  120. }
  121. a.l-btn-plain-selected,
  122. a:hover.l-btn-plain-selected {
  123. background: #ddd;
  124. }