app.bootstrap.less 1.4 KB

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