app.bootstrap.less 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. .form-control {
  2. &.input-sm,
  3. .input-group-sm &,
  4. .form-group-sm & {
  5. line-height: normal;
  6. font-size: 12px;
  7. font-family: "微软雅黑","宋体";
  8. padding: 2px 4px;
  9. height: 24px;
  10. &:focus {
  11. border: 1px solid #5bc0de;
  12. outline: none;
  13. }
  14. }
  15. }
  16. .input-sm + .form-control-feedback,
  17. .input-group-sm + .form-control-feedback,
  18. .form-group-sm .form-control + .form-control-feedback {
  19. width: 1em;
  20. height: 1em;
  21. line-height: normal;
  22. top: 5px;
  23. right: 20px;
  24. }
  25. .has-feedback {
  26. .form-control {
  27. padding-right: 20px;
  28. }
  29. }
  30. .btn {
  31. &.btn-blue {
  32. background: #5bc0de;
  33. border: #5bc0de;
  34. line-height: normal;
  35. width: 72px;
  36. height: 24px;
  37. padding: 2px 4px;
  38. font-size: 12px;
  39. &:hover,&:focus {
  40. outline: none;
  41. background: #5bc0de;
  42. border: #5bc0de;
  43. }
  44. &:active, .open>.dropdown-toggle.btn-primary{
  45. border: none;
  46. outline: none;
  47. background-color: #439BB2;
  48. border-color: #439BB2;
  49. }
  50. }
  51. }
  52. .btn {
  53. &.btn-red {
  54. background: #d9534f;
  55. border: #d9534f;
  56. line-height: normal;
  57. width: 72px;
  58. height: 24px;
  59. padding: 2px 4px;
  60. font-size: 12px;
  61. &:hover,&:focus {
  62. outline: none;
  63. background: #d9534f;
  64. border: #d9534f;
  65. }
  66. &:active, .open>.dropdown-toggle.btn-primary{
  67. border: none;
  68. outline: none;
  69. background-color: #A5403E;
  70. border-color: #A5403E;
  71. }
  72. }
  73. }
  74. .nav-pills {
  75. &.defaults {
  76. font-size: 13px;
  77. font-weight: 600;
  78. > li {
  79. > a {
  80. &:hover,
  81. &:focus,
  82. &:active {
  83. background-color: #5bc0de;
  84. color: #fff;
  85. }
  86. background-color: #FFF;
  87. color: #5bc0de;
  88. text-align: center;
  89. padding: 5px 10px;
  90. }
  91. }
  92. > li.active {
  93. > a {
  94. background-color: #5bc0de;
  95. color: #fff;
  96. &:hover,
  97. &:focus,
  98. &:active {
  99. background-color: #5bc0de;
  100. color: #fff;
  101. }
  102. }
  103. }
  104. }
  105. }
  106. .nav-pills {
  107. &.slide {
  108. font-size: 12px;
  109. font-family: "微软雅黑","宋体";
  110. font-weight: normal;
  111. > li {
  112. > a {
  113. background-color: #FFF;
  114. border: 1px solid #e6e6e6;
  115. color: #777;
  116. padding: 5px 20px;
  117. margin-bottom: 15px;
  118. border-radius: 15px;
  119. text-align: left;
  120. &.animate {
  121. animation-name:animateRt;
  122. animation-duration:0.1s;
  123. animation-timing-function:linear;
  124. animation-iteration-count:1;
  125. animation-direction:normal;
  126. /* Safari and Chrome: */
  127. -webkit-animation-name:animateRt;
  128. -webkit-animation-duration:0.1s;
  129. -webkit-animation-timing-function:linear;
  130. -webkit-animation-iteration-count:1;
  131. -webkit-animation-direction:normal;
  132. }
  133. }
  134. @keyframes animateRt {
  135. 0% {text-align: left;background-color:#FFF;color: #777;}
  136. 100% {text-align: right;background-color:#eee;color: #009688;}
  137. }
  138. @-webkit-keyframes animateRt {
  139. 0% {text-align: left;background-color:#FFF;color: #777;}
  140. 100% {text-align: right;background-color:#eee;color: #009688;}
  141. }
  142. }
  143. > li.active {
  144. > a {
  145. border: 1px solid #e6e6e6;
  146. background-color:#eee;
  147. color: #009688;
  148. text-align: right;
  149. }
  150. }
  151. }
  152. }
  153. .pagination-sm {
  154. &.diy {
  155. li >a {
  156. color: #009EE0;
  157. }
  158. li.active >a {
  159. color: #FFF;
  160. border: 1px solid #5bc0de;
  161. background: #5bc0de;
  162. }
  163. li.disabled >a{
  164. color: #888;
  165. &:focus{
  166. outline: none;
  167. }
  168. }
  169. }
  170. }