app.bootstrap.less 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. .nav-pills {
  31. &.diy {
  32. font-size: 13px;
  33. font-weight: 600;
  34. > li {
  35. > a {
  36. &:hover,
  37. &:focus,
  38. &:active {
  39. background-color: @brand-primary;
  40. color: #fff;
  41. }
  42. background-color: #FFF;
  43. color: @brand-primary;
  44. text-align: center;
  45. padding: 5px 10px;
  46. }
  47. }
  48. > li.active {
  49. > a {
  50. background-color: @brand-primary;
  51. color: #fff;
  52. &:hover,
  53. &:focus,
  54. &:active {
  55. background-color: @brand-primary;
  56. color: #fff;
  57. }
  58. }
  59. }
  60. }
  61. }
  62. /*&.btn {
  63. &.btn-primary,
  64. &.btn-success {
  65. &:hover,&:focus {
  66. outline: none;
  67. background: #5bc0de;
  68. border: #5bc0de;
  69. }
  70. &:active, .open>.dropdown-toggle.btn-primary{
  71. border: none;
  72. outline: none;
  73. background-color: #439BB2;
  74. border-color: #439BB2;
  75. }
  76. }
  77. }*/