You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

bootstrap-buttons.css 7.3 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. .btn.danger,
  2. .alert-message.danger,
  3. .btn.danger:hover,
  4. .alert-message.danger:hover,
  5. .btn.error,
  6. .alert-message.error,
  7. .btn.error:hover,
  8. .alert-message.error:hover,
  9. .btn.success,
  10. .alert-message.success,
  11. .btn.success:hover,
  12. .alert-message.success:hover,
  13. .btn.info,
  14. .alert-message.info,
  15. .btn.info:hover,
  16. .alert-message.info:hover {
  17. color: #ffffff;
  18. }
  19. .btn .close, .alert-message .close {
  20. font-family: Arial, sans-serif;
  21. line-height: 18px;
  22. }
  23. .btn.danger,
  24. .alert-message.danger,
  25. .btn.error,
  26. .alert-message.error {
  27. background-color: #c43c35;
  28. background-repeat: repeat-x;
  29. background-image: -khtml-gradient(linear, left top, left bottom, from(#ee5f5b), to(#c43c35));
  30. background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35);
  31. background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35);
  32. background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ee5f5b), color-stop(100%, #c43c35));
  33. background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35);
  34. background-image: -o-linear-gradient(top, #ee5f5b, #c43c35);
  35. background-image: linear-gradient(top, #ee5f5b, #c43c35);
  36. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#c43c35', GradientType=0);
  37. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  38. border-color: #c43c35 #c43c35 #882a25;
  39. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  40. }
  41. .btn.success, .alert-message.success {
  42. background-color: #57a957;
  43. background-repeat: repeat-x;
  44. background-image: -khtml-gradient(linear, left top, left bottom, from(#62c462), to(#57a957));
  45. background-image: -moz-linear-gradient(top, #62c462, #57a957);
  46. background-image: -ms-linear-gradient(top, #62c462, #57a957);
  47. background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #62c462), color-stop(100%, #57a957));
  48. background-image: -webkit-linear-gradient(top, #62c462, #57a957);
  49. background-image: -o-linear-gradient(top, #62c462, #57a957);
  50. background-image: linear-gradient(top, #62c462, #57a957);
  51. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#57a957', GradientType=0);
  52. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  53. border-color: #57a957 #57a957 #3d773d;
  54. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  55. }
  56. .btn.info, .alert-message.info {
  57. background-color: #339bb9;
  58. background-repeat: repeat-x;
  59. background-image: -khtml-gradient(linear, left top, left bottom, from(#5bc0de), to(#339bb9));
  60. background-image: -moz-linear-gradient(top, #5bc0de, #339bb9);
  61. background-image: -ms-linear-gradient(top, #5bc0de, #339bb9);
  62. background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #5bc0de), color-stop(100%, #339bb9));
  63. background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9);
  64. background-image: -o-linear-gradient(top, #5bc0de, #339bb9);
  65. background-image: linear-gradient(top, #5bc0de, #339bb9);
  66. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#339bb9', GradientType=0);
  67. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  68. border-color: #339bb9 #339bb9 #22697d;
  69. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  70. }
  71. .btn {
  72. cursor: pointer;
  73. display: inline-block;
  74. background-color: #e6e6e6;
  75. background-repeat: no-repeat;
  76. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), color-stop(25%, #ffffff), to(#e6e6e6));
  77. background-image: -webkit-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
  78. background-image: -moz-linear-gradient(top, #ffffff, #ffffff 25%, #e6e6e6);
  79. background-image: -ms-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
  80. background-image: -o-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
  81. background-image: linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
  82. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
  83. padding: 5px 14px 6px;
  84. text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  85. color: #333;
  86. font-size: 11px;
  87. line-height: normal;
  88. border: 1px solid #ccc;
  89. border-bottom-color: #bbb;
  90. -webkit-border-radius: 4px;
  91. -moz-border-radius: 4px;
  92. border-radius: 4px;
  93. -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  94. -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  95. box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  96. -webkit-transition: 0.1s linear all;
  97. -moz-transition: 0.1s linear all;
  98. -ms-transition: 0.1s linear all;
  99. -o-transition: 0.1s linear all;
  100. transition: 0.1s linear all;
  101. }
  102. .btn:hover {
  103. background-position: 0 -15px;
  104. color: #333;
  105. text-decoration: none;
  106. }
  107. .btn:focus {
  108. outline: 1px dotted #666;
  109. }
  110. .btn.primary {
  111. color: #ffffff;
  112. background-color: #0064cd;
  113. background-repeat: repeat-x;
  114. background-image: -khtml-gradient(linear, left top, left bottom, from(#049cdb), to(#0064cd));
  115. background-image: -moz-linear-gradient(top, #049cdb, #0064cd);
  116. background-image: -ms-linear-gradient(top, #049cdb, #0064cd);
  117. background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #049cdb), color-stop(100%, #0064cd));
  118. background-image: -webkit-linear-gradient(top, #049cdb, #0064cd);
  119. background-image: -o-linear-gradient(top, #049cdb, #0064cd);
  120. background-image: linear-gradient(top, #049cdb, #0064cd);
  121. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#049cdb', endColorstr='#0064cd', GradientType=0);
  122. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  123. border-color: #0064cd #0064cd #003f81;
  124. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  125. }
  126. .btn.active, .btn :active {
  127. -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
  128. -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
  129. box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
  130. }
  131. .btn.disabled {
  132. cursor: default;
  133. background-image: none;
  134. filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  135. filter: alpha(opacity=65);
  136. -khtml-opacity: 0.65;
  137. -moz-opacity: 0.65;
  138. opacity: 0.65;
  139. -webkit-box-shadow: none;
  140. -moz-box-shadow: none;
  141. box-shadow: none;
  142. }
  143. .btn[disabled] {
  144. cursor: default;
  145. background-image: none;
  146. filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  147. filter: alpha(opacity=65);
  148. -khtml-opacity: 0.65;
  149. -moz-opacity: 0.65;
  150. opacity: 0.65;
  151. -webkit-box-shadow: none;
  152. -moz-box-shadow: none;
  153. box-shadow: none;
  154. }
  155. .btn.large {
  156. font-size: 15px;
  157. line-height: normal;
  158. padding: 9px 14px 9px;
  159. -webkit-border-radius: 6px;
  160. -moz-border-radius: 6px;
  161. border-radius: 6px;
  162. }
  163. .btn.small {
  164. padding: 5px 7px 5px;
  165. font-size: 11px;
  166. }
  167. :root .alert-message, :root .btn {
  168. border-radius: 0 \0;
  169. }
  170. button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
  171. padding: 0;
  172. border: 0;
  173. }
  174. /* CLose */
  175. .close {
  176. float: right;
  177. color: #000000;
  178. font-size: 15px;
  179. font-weight: bold;
  180. line-height: 13.5px;
  181. margin-bottom: -2px;
  182. text-shadow: 0 1px 0 #ffffff;
  183. filter: alpha(opacity=25);
  184. -khtml-opacity: 0.25;
  185. -moz-opacity: 0.25;
  186. opacity: 0.25;
  187. text-decoration: none;
  188. }
  189. .close:hover {
  190. color: #000000;
  191. text-decoration: none;
  192. filter: alpha(opacity=40);
  193. -khtml-opacity: 0.4;
  194. -moz-opacity: 0.4;
  195. opacity: 0.4;
  196. cursor: pointer;
  197. font-weight: bold;
  198. }