custom.less 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. @import "~assets/styles/variables.less";
  2. .form-control:focus {
  3. border-color: @base-border;
  4. box-shadow: none;
  5. }
  6. .btn-primary {
  7. background-color: @base;
  8. border-color: @base-border;
  9. }
  10. .btn-primary:hover,
  11. .btn-primary:active,
  12. .btn-primary:focus,
  13. .btn-primary.active,
  14. .btn-primary.hover {
  15. background-color: @base-active !important;
  16. }
  17. .nav-tabs-custom>.nav-tabs>li.active {
  18. border-top-color: @base;
  19. }
  20. .dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
  21. background-color: @base;
  22. }
  23. .main-header{
  24. .logo {
  25. background-color: @base-active !important;
  26. }
  27. .navbar {
  28. background-color: @base !important;
  29. }
  30. .sidebar-toggle {
  31. background-color: @base !important;
  32. &:hover,&:active,&:focus,&:visited{
  33. background-color: @base-active !important;
  34. }
  35. }
  36. }
  37. @sidebar-bg: darken(@base, 25%);
  38. .main-sidebar {
  39. background-color: @sidebar-bg !important;
  40. .sidebar-menu {
  41. li.active,li:hover {
  42. a {
  43. border-left-color: @base-active !important;
  44. }
  45. }
  46. li.active,li:hover,li.menu-open {
  47. a {
  48. background: darken(@sidebar-bg, 3%);
  49. }
  50. }
  51. li > a > .pull-right-container {
  52. margin-top: -8px;
  53. }
  54. }
  55. }
  56. .left-side {
  57. background-color: @sidebar-bg !important;
  58. }
  59. .main-footer {
  60. padding: 10px !important;
  61. text-align: center !important;
  62. // border:0;
  63. // color:#fff;
  64. // background-color: @base;
  65. // a {
  66. // color: #fff;
  67. // }
  68. }
  69. .text-primary {
  70. color: @base-active !important;
  71. }
  72. .btn-primary {
  73. background-color: @base !important;
  74. border-color: @base-active !important;
  75. }
  76. .box {
  77. &.box-primary {
  78. border-top-color: @base !important;
  79. }
  80. }
  81. .callout.callout-primary, .alert-primary, .label-primary, .modal-primary .modal-body {
  82. background-color: @base-active !important;
  83. border-color: @base-active !important;
  84. }
  85. * {
  86. outline: none !important;
  87. }
  88. .ellipsis {
  89. overflow: hidden;
  90. white-space: nowrap;
  91. text-overflow: ellipsis;
  92. }
  93. .form-horizontal .form-group label, .form-inline .form-group label {
  94. font-weight: 400;
  95. }
  96. .select2-container--default.select2-container--focus .select2-selection--multiple, .select2-container--default .select2-search--dropdown .select2-search__field {
  97. border-color: @base !important;
  98. }
  99. .qcontent-header {
  100. height: 50px;
  101. padding:15px 10px 10px 12px;
  102. background-color: white;
  103. width: 100%;
  104. font-weight: bold;
  105. font-size: 16px;
  106. }