btn.acss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. .btn_box{
  2. position: relative;
  3. }
  4. .mini {
  5. display: inline-block
  6. }
  7. .styleV2Btn button{
  8. padding-left: 24px;
  9. padding-right: 24px;
  10. font-weight: 700;
  11. }
  12. .styleV2Btn.active button:active{
  13. background-color: #dedede;
  14. }
  15. .size_mini{
  16. display: inline-block;
  17. line-height: 2.3;
  18. padding: 0 1.34em;
  19. font-size: 13px;
  20. height: auto;
  21. }
  22. .styleV2Btn .size_default{
  23. width: 184px;
  24. margin-left: auto;
  25. margin-right: auto;
  26. }
  27. .styleV2Btn .type_primary{
  28. background-color: #07c160;
  29. color:#fff;
  30. border-color: #07c160;
  31. }
  32. .styleV2Btn.active .type_primary:active{
  33. background-color:rgb(28,172,89);
  34. }
  35. .styleV2Btn .type_warn{
  36. color: #fa5151 ;
  37. background-color:#f2f2f2;
  38. }
  39. .styleV2Btn .type_default{
  40. background-color: #f2f2f2;
  41. color:#06ae56 ;
  42. }
  43. .plain.type_warn{
  44. color: #e64340;
  45. background-color: #fff;
  46. border-color: #e64340;
  47. }
  48. .styleV2Btn .plain.type_primary{
  49. color: #06ae56 ;
  50. background-color: #fff;
  51. }
  52. .styleV2Btn .plain.type_default{
  53. color: #353535 ;
  54. border-color: #353535;
  55. background-color: transparent;
  56. }
  57. .styleV2Btn.active .plain:active {
  58. background-color: #dedede;
  59. }
  60. .active .plain.type_warn:active{
  61. background-color: #fff;
  62. opacity: 0.6;
  63. }
  64. .disabled{
  65. opacity: 0.6
  66. }
  67. .btn_mark,.btn_catch{
  68. position: absolute;
  69. top: 0;
  70. left: 0;
  71. width: 100%;
  72. height: 100%
  73. }
  74. .active .btn_catch:active {
  75. background-color: rgba(255,255,255,.3)
  76. }
  77. .hovers{
  78. background-color: blue;
  79. }
  80. /* 旧版本样式 */
  81. .notStyleV2Btn button{
  82. font-weight: 400;
  83. }
  84. .notStyleV2Btn .type_primary{
  85. background-color: #1aad19;
  86. color:#fff;
  87. }
  88. .notStyleV2Btn.active .type_primary:active{
  89. background-color: rgb(33,153,35);
  90. color:rgb(166,214,167);
  91. }
  92. .notStyleV2Btn .plain.type_primary{
  93. color: #1aad19;
  94. background-color: #fff;
  95. border-color: #1aad19;
  96. }
  97. .notStyleV2Btn .plain.type_default{
  98. background-color: #fff;
  99. border-color: #353535;
  100. }
  101. .notStyleV2Btn.active .type_default:active{
  102. background-color: rgb(221,221,221);
  103. color:rgb(154,154,154);
  104. }
  105. .notStyleV2Btn .plain.type_warn{
  106. color: #e64340;
  107. border-color: #e64340;
  108. background-color: #fff;
  109. }
  110. .notStyleV2Btn.active .plain:active, .notStyleV2Btn.active .plain.type_warn:active{
  111. background-color: #fff;
  112. opacity: 0.6;
  113. }
  114. .notStyleV2Btn .type_warn{
  115. background-color: #e64340;
  116. color: #fff;
  117. }
  118. .notStyleV2Btn.active .type_warn:active{
  119. background-color: rgb(204,61,61);
  120. color: rgb(215,117,117);
  121. }