common.css 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. :root {
  2. --themeColor: #284a94;
  3. }
  4. .bg-theme{
  5. background-color: var(--themeColor) !important;
  6. }
  7. .pace .pace-progress {
  8. background: var(--themeColor) !important;
  9. position: fixed;
  10. z-index: 2000;
  11. top: 0;
  12. width: 100%;
  13. height: 2px;
  14. }
  15. /*解决底部有灰色区块*/
  16. .el-scrollbar__wrap {
  17. overflow-x: hidden!important;
  18. overflow-y: scroll!important;
  19. margin-bottom: 0px!important;
  20. }
  21. /*elementui 表单元素去掉圆角*/
  22. .el-input__inner {
  23. border-radius: 0px;
  24. }
  25. /*hplus 边框颜色*/
  26. .form-control:focus{
  27. border-color: var(--themeColor) !important;
  28. /*font-size: 13px!important;*/
  29. }
  30. .form-control{
  31. width: 100%!important;
  32. height: 32px;
  33. color: #606266!important;
  34. font-size: 13px!important;
  35. padding: 5px 15px!important;
  36. }
  37. .ui-jqgrid .form-control{
  38. height: auto;
  39. width: auto !important;
  40. padding: 0!important;
  41. font-size: .9em!important;
  42. }
  43. #input_pager .form-control{
  44. width: auto !important;
  45. }
  46. /*placeholder颜色设置*/
  47. input::-webkit-input-placeholder {
  48. color: #909399!important;
  49. }
  50. input::-moz-input-placeholder {
  51. color: #909399!important;
  52. }
  53. input::-ms-input-placeholder {
  54. color: #909399!important;
  55. }
  56. .navbar{
  57. background-color: #ffffff!important;
  58. border-bottom: 1px solid #eee;
  59. }
  60. .navbar-header{
  61. line-height: 60px!important;
  62. font-size: 24px;
  63. font-weight: bold;
  64. padding-left: 20px;
  65. }
  66. .navbar-header:before{
  67. content: '';
  68. position: absolute;
  69. height: 30px;
  70. width: 2px;
  71. background: #EDF4F5;
  72. top: 15px;
  73. left: 9px;
  74. }
  75. .sidebar-box{
  76. position: fixed;
  77. z-index: 10000000;
  78. top: 61px;
  79. left: 0;
  80. bottom: 0;
  81. width: 120px;
  82. background-color: #FFFFFF!important;
  83. /*overflow: hidden;*/
  84. }
  85. .sidebar-box.sidebar-box-h2{
  86. width: 280px;
  87. }
  88. .sidebar-box .sidebar-box-sub{
  89. position: relative;
  90. width: 120px;
  91. height: 100%;
  92. float: left;
  93. }
  94. .sidebar-box .sidebar-box-sub .sidebar-collapse{
  95. width: auto;
  96. height: 100%;
  97. }
  98. .sidenav{
  99. margin-bottom: 0;
  100. height: 100%;
  101. }
  102. .sidenav .side-list{
  103. height: 40px;
  104. line-height: 40px;
  105. }
  106. .sidenav .side-list a{
  107. display: block;
  108. width: 100%;
  109. height: 100%;
  110. color: #effeff;
  111. padding: 0 15px;
  112. font-size: 14px;
  113. }
  114. .sidenav .side-list a i{
  115. vertical-align: middle;
  116. margin-right: 4px;
  117. }
  118. .sidenav .side-list a span{
  119. vertical-align: middle;
  120. }
  121. .sidenav .side-list .active{
  122. background-color: #ffffff;
  123. color: #333333!important;
  124. }
  125. .sidenav .side-list a:hover,.sidenav .side-list a:focus{
  126. background-color: rgba(255, 255, 255,0.2);
  127. }
  128. .sidenav .side-list .active:hover,.sidenav .side-list .active:focus{
  129. background-color: #ffffff;
  130. color: #333333!important;
  131. }
  132. .sidenavsub{
  133. margin-bottom: 0;
  134. padding: 0 10px;
  135. }
  136. .sidebar-box-sub2{
  137. width: 160px!important;
  138. }
  139. .sidenavsub .side-group{
  140. height: auto;
  141. font-size: 12px;
  142. color: #999999;
  143. padding-top: 10px;
  144. }
  145. .sidenavsub .side-group .side-group-label{
  146. /*padding: 0 15px;*/
  147. padding-bottom: 5px;
  148. }
  149. .sidenavsub .side-group .side-list a{
  150. /*padding-left: 25px;*/
  151. }
  152. .sidenavsub .side-list{
  153. height: 40px;
  154. line-height: 40px;
  155. overflow: hidden;
  156. }
  157. .sidenavsub .side-list a{
  158. display: block;
  159. color: #333333;
  160. /*padding: 0 15px;*/
  161. padding-left: 10px;
  162. font-size: 14px;
  163. }
  164. .sidenavsub .side-list .active{
  165. background-color: #f5f5f5;
  166. }
  167. .sidenavsub .side-list a:hover,.sidenavsub .side-list a:focus{
  168. color: var(--themeColor)!important;
  169. }
  170. .main-box{
  171. width: 100%;
  172. height: calc(100% - 70px);
  173. /*width: 100%;*/
  174. /*height: 772px;*/
  175. margin-top: 70px;
  176. /*padding: 75px 15px 15px 295px;*/
  177. /*padding: 60px 0px 0px 280px;*/
  178. /*margin-left: 26px;*/
  179. /*min-height: 100%;*/
  180. }
  181. .main-box.main-box-h2{
  182. /*padding: 75px 15px 15px 135px;*/
  183. /*padding: 60px 0px 0px 120px;*/
  184. padding: 0px 19px 0px 19px;
  185. }
  186. .btn-primary {
  187. background-color: var(--themeColor) !important;
  188. border-color: var(--themeColor) !important;
  189. }
  190. .label-primary, .badge-primary {
  191. background-color: var(--themeColor) !important;
  192. }
  193. #form-search .form-control{
  194. width: 120px!important;
  195. }
  196. input[type=checkbox], input[type=radio] {
  197. margin: 9px 0 0;
  198. }
  199. .multiselect-container input[type=checkbox],.multiselect-container input[type=radio]{
  200. margin-top: 5px!important;
  201. }
  202. .multiselect-container .form-control{
  203. height: 34px!important;
  204. }
  205. .multiselect-container .input-group-addon{
  206. display: none!important;
  207. }
  208. .multiselect-container .multiselect-clear-filter{
  209. height: 34px!important;
  210. }