common.less 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. @import './base.less';
  2. /**
  3. *变量声明
  4. *
  5. **/
  6. /*公共变量*/
  7. @disableColor: #ccc;
  8. @aside-width: 20%;
  9. @aside-min-width:270px;
  10. @header-height: 60px;
  11. @gray: #c9c9c9;
  12. @baseBackage: #dee2ea;
  13. @baseFontColor: #424243;
  14. @shadowColor: #b7b7b7;
  15. @borderWidth: 2px;
  16. /*朗通后台基本颜色*/
  17. @adminBase: #22ccc8;
  18. @icssBorder: #c0c4cc;
  19. @icssHeight:240px;
  20. /*用户后台基本颜色*/
  21. @userBase: #1774f0;
  22. /*
  23. *公用样式
  24. */
  25. .el-container {
  26. background: @baseBackage;
  27. width: 100%;
  28. height: 100%;
  29. }
  30. .el-main {
  31. height: 100%;
  32. padding: 0 0 20px;
  33. }
  34. .el-aside {
  35. background: #fff;
  36. min-width: @aside-min-width;
  37. width: @aside-width !important;
  38. min-height: 220px;
  39. border-right: 1px @gray solid;
  40. height: 100%;
  41. .logo {
  42. /*width: 100%;
  43. min-width: 300px;*/
  44. text-align: center;
  45. color: #fff;
  46. height: @header-height;
  47. padding-top: 8px;
  48. margin-bottom: 20px;
  49. box-sizing: border-box;
  50. }
  51. }
  52. .el-header {
  53. height: 60px;
  54. line-height: 60px;
  55. background: #fff;
  56. padding: 0 20px;
  57. width: 100%;
  58. border-bottom: 1px @gray solid;
  59. }
  60. /*注册部分公用*/
  61. @btnColor: #2485c4;
  62. @btnDisableColor: #c9c9c9;
  63. .inputBorder {
  64. border: 1px solid #c9c9c9;
  65. }
  66. /**分页**/
  67. .el-pagination {
  68. /* background: #fff;
  69. text-align: right;
  70. margin-top: 15px;
  71. padding: 16px 20px;
  72. position: fixed;
  73. z-index: 6;
  74. width: calc(80% - 80px);
  75. bottom: 0; */
  76. white-space: nowrap;
  77. padding: 15px;
  78. color: #303133;
  79. line-height: 20px;
  80. font-weight: 700;
  81. text-align: right;
  82. background: #fff;
  83. margin-top: 15px;
  84. }
  85. /*element-ui 样式覆盖*/
  86. .el-input--mini .el-input__inner {
  87. width: 120px;
  88. height: 24px;
  89. line-height: 24px;
  90. border-radius: 2px;
  91. border-color: @gray;
  92. padding: 0 5px;
  93. }
  94. .el-form--inline .el-form-item__label {
  95. font-size: 12px;
  96. vertical-align: text-bottom;
  97. padding: 0;
  98. }
  99. .el-button--mini, .el-button--mini.is-round {
  100. padding: 5px 15px 4px;
  101. }
  102. .el-table td {
  103. padding: 0;
  104. text-align: center;
  105. }
  106. .el-pagination.is-background .btn-next, .el-pagination.is-background .btn-prev, .el-pagination.is-background .el-pager li {
  107. border: 1px @gray solid;
  108. }
  109. .el-table th {
  110. background: #eee;
  111. color: @baseFontColor;
  112. padding: 8px 0;
  113. text-align: center;
  114. }
  115. .el-table .cell{
  116. line-height: 40px;
  117. }
  118. .el-range-editor.el-input__inner {
  119. height: 24px;
  120. padding: 1px 10px;
  121. }
  122. .el-dropdown {
  123. width: 175px;
  124. }
  125. .el-dropdown .el-button--default {
  126. color: @baseFontColor;
  127. border-color: @gray;
  128. }
  129. .el-dropdown .el-button--default:not(:last-child) {
  130. width: 145px;
  131. height: 30px;
  132. }
  133. .el-button-group .el-button:last-child {
  134. height: 30px;
  135. }
  136. .el-dropdown-menu {
  137. width: 175px;
  138. max-height: 200px;
  139. overflow-y: auto;
  140. margin-top: -5px;
  141. }
  142. .el-form-item__error {
  143. top: 34px;
  144. }
  145. /* 选中状态边框颜色改变 */
  146. .activeBgc {
  147. background-color: #eae7e7;
  148. }
  149. .activeBgcF5 {
  150. background-color: #f5f5f5;
  151. }