app.bootstrap.less 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. .form-control {
  2. &.input-sm,
  3. .input-group-sm &,
  4. .form-group-sm & {
  5. line-height: normal;
  6. font-size: 12px;
  7. padding: 2px 4px;
  8. height: 24px;
  9. &:focus {
  10. border: 1px solid #5bc0de;
  11. outline: none;
  12. }
  13. }
  14. }
  15. .input-sm + .form-control-feedback,
  16. .input-group-sm + .form-control-feedback,
  17. .form-group-sm .form-control + .form-control-feedback {
  18. width: 1em;
  19. height: 1em;
  20. line-height: normal;
  21. top: 5px;
  22. right: 20px;
  23. }
  24. .has-feedback {
  25. .form-control {
  26. padding-right: 20px;
  27. }
  28. }
  29. .nav-pills {
  30. &.diy {
  31. font-size: 13px;
  32. font-weight: 600;
  33. > li {
  34. > a {
  35. &:hover,
  36. &:focus,
  37. &:active {
  38. background-color: @brand-primary;
  39. color: #fff;
  40. }
  41. background-color: #FFF;
  42. color: @brand-primary;
  43. text-align: center;
  44. padding: 5px 10px;
  45. }
  46. }
  47. > li.active {
  48. > a {
  49. background-color: @brand-primary;
  50. color: #fff;
  51. &:hover,
  52. &:focus,
  53. &:active {
  54. background-color: @brand-primary;
  55. color: #fff;
  56. }
  57. }
  58. }
  59. }
  60. }
  61. /*&.btn {
  62. &.btn-primary,
  63. &.btn-success {
  64. &:hover,&:focus {
  65. outline: none;
  66. background: #5bc0de;
  67. border: #5bc0de;
  68. }
  69. &:active, .open>.dropdown-toggle.btn-primary{
  70. border: none;
  71. outline: none;
  72. background-color: #439BB2;
  73. border-color: #439BB2;
  74. }
  75. }
  76. }*/