linkbutton.css 2.6 KB

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