f448ccb04fd495931ff7fc905dfb48dc672902c2.svn-base 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. .l-btn {
  2. text-decoration: none;
  3. display: inline-block;
  4. margin: 0;
  5. padding: 0;
  6. cursor: pointer;
  7. outline: none;
  8. text-align: center;
  9. vertical-align: middle;
  10. }
  11. .l-btn-plain {
  12. border: 0;
  13. padding: 1px;
  14. }
  15. .l-btn-disabled {
  16. color: #ccc;
  17. opacity: 0.5;
  18. filter: alpha(opacity=50);
  19. cursor: default;
  20. }
  21. .l-btn-left {
  22. display: inline-block;
  23. position: relative;
  24. overflow: hidden;
  25. margin: 0;
  26. padding: 0;
  27. vertical-align: top;
  28. }
  29. .l-btn-text {
  30. display: inline-block;
  31. vertical-align: top;
  32. width: auto;
  33. line-height: 24px;
  34. font-size: 12px;
  35. padding: 0;
  36. margin: 0 4px;
  37. }
  38. .l-btn-icon {
  39. display: inline-block;
  40. width: 16px;
  41. height: 16px;
  42. line-height: 16px;
  43. position: absolute;
  44. top: 50%;
  45. margin-top: -8px;
  46. font-size: 1px;
  47. }
  48. .l-btn span span .l-btn-empty {
  49. display: inline-block;
  50. margin: 0;
  51. width: 16px;
  52. height: 24px;
  53. font-size: 1px;
  54. vertical-align: top;
  55. }
  56. .l-btn span .l-btn-icon-left {
  57. padding: 0 0 0 20px;
  58. background-position: left center;
  59. }
  60. .l-btn span .l-btn-icon-right {
  61. padding: 0 20px 0 0;
  62. background-position: right center;
  63. }
  64. .l-btn-icon-left .l-btn-text {
  65. margin: 0 4px 0 24px;
  66. }
  67. .l-btn-icon-left .l-btn-icon {
  68. left: 4px;
  69. }
  70. .l-btn-icon-right .l-btn-text {
  71. margin: 0 24px 0 4px;
  72. }
  73. .l-btn-icon-right .l-btn-icon {
  74. right: 4px;
  75. }
  76. .l-btn-icon-top .l-btn-text {
  77. margin: 20px 4px 0 4px;
  78. }
  79. .l-btn-icon-top .l-btn-icon {
  80. top: 4px;
  81. left: 50%;
  82. margin: 0 0 0 -8px;
  83. }
  84. .l-btn-icon-bottom .l-btn-text {
  85. margin: 0 4px 20px 4px;
  86. }
  87. .l-btn-icon-bottom .l-btn-icon {
  88. top: auto;
  89. bottom: 4px;
  90. left: 50%;
  91. margin: 0 0 0 -8px;
  92. }
  93. .l-btn-left .l-btn-empty {
  94. margin: 0 4px;
  95. width: 16px;
  96. }
  97. .l-btn-plain:hover {
  98. padding: 0;
  99. }
  100. .l-btn-focus {
  101. outline: #0000FF dotted thin;
  102. }
  103. .l-btn-large .l-btn-text {
  104. line-height: 40px;
  105. }
  106. .l-btn-large .l-btn-icon {
  107. width: 32px;
  108. height: 32px;
  109. line-height: 32px;
  110. margin-top: -16px;
  111. }
  112. .l-btn-large .l-btn-icon-left .l-btn-text {
  113. margin-left: 40px;
  114. }
  115. .l-btn-large .l-btn-icon-right .l-btn-text {
  116. margin-right: 40px;
  117. }
  118. .l-btn-large .l-btn-icon-top .l-btn-text {
  119. margin-top: 36px;
  120. line-height: 24px;
  121. min-width: 32px;
  122. }
  123. .l-btn-large .l-btn-icon-top .l-btn-icon {
  124. margin: 0 0 0 -16px;
  125. }
  126. .l-btn-large .l-btn-icon-bottom .l-btn-text {
  127. margin-bottom: 36px;
  128. line-height: 24px;
  129. min-width: 32px;
  130. }
  131. .l-btn-large .l-btn-icon-bottom .l-btn-icon {
  132. margin: 0 0 0 -16px;
  133. }
  134. .l-btn-large .l-btn-left .l-btn-empty {
  135. margin: 0 4px;
  136. width: 32px;
  137. }
  138. .l-btn {
  139. color: #444;
  140. background: #f5f5f5;
  141. background-repeat: repeat-x;
  142. border: 1px solid #bbb;
  143. background: -webkit-linear-gradient(top,#ffffff 0,#e6e6e6 100%);
  144. background: -moz-linear-gradient(top,#ffffff 0,#e6e6e6 100%);
  145. background: -o-linear-gradient(top,#ffffff 0,#e6e6e6 100%);
  146. background: linear-gradient(to bottom,#ffffff 0,#e6e6e6 100%);
  147. background-repeat: repeat-x;
  148. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#e6e6e6,GradientType=0);
  149. -moz-border-radius: 5px 5px 5px 5px;
  150. -webkit-border-radius: 5px 5px 5px 5px;
  151. border-radius: 5px 5px 5px 5px;
  152. }
  153. .l-btn:hover {
  154. background: #e6e6e6;
  155. color: #00438a;
  156. border: 1px solid #ddd;
  157. filter: none;
  158. }
  159. .l-btn-plain {
  160. background: transparent;
  161. border: 0;
  162. filter: none;
  163. }
  164. .l-btn-plain:hover {
  165. background: #e6e6e6;
  166. color: #00438a;
  167. border: 1px solid #ddd;
  168. -moz-border-radius: 5px 5px 5px 5px;
  169. -webkit-border-radius: 5px 5px 5px 5px;
  170. border-radius: 5px 5px 5px 5px;
  171. }
  172. .l-btn-disabled,
  173. .l-btn-disabled:hover {
  174. background: #f5f5f5;
  175. color: #444;
  176. background: -webkit-linear-gradient(top,#ffffff 0,#e6e6e6 100%);
  177. background: -moz-linear-gradient(top,#ffffff 0,#e6e6e6 100%);
  178. background: -o-linear-gradient(top,#ffffff 0,#e6e6e6 100%);
  179. background: linear-gradient(to bottom,#ffffff 0,#e6e6e6 100%);
  180. background-repeat: repeat-x;
  181. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#e6e6e6,GradientType=0);
  182. filter: alpha(opacity=50) progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#e6e6e6,GradientType=0);
  183. }
  184. .l-btn-plain-disabled,
  185. .l-btn-plain-disabled:hover {
  186. background: transparent;
  187. filter: alpha(opacity=50);
  188. }
  189. .l-btn-selected,
  190. .l-btn-selected:hover {
  191. background: #ddd;
  192. filter: none;
  193. }
  194. .l-btn-plain-selected,
  195. .l-btn-plain-selected:hover {
  196. background: #ddd;
  197. }