common.less 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  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: #48C5D7;
  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. width: 300px;
  37. min-height: 220px;
  38. border-right: 1px @gray solid;
  39. height: 100%;
  40. .logo {
  41. /*width: 100%;
  42. min-width: 300px;*/
  43. text-align: center;
  44. color: #fff;
  45. height: @header-height;
  46. padding-top: 8px;
  47. /*margin-bottom: 20px;*/
  48. box-sizing: border-box;
  49. }
  50. }
  51. .el-header {
  52. height: 60px;
  53. line-height: 60px;
  54. background: #fff;
  55. padding: 0 20px;
  56. width: 100%;
  57. border-bottom: 1px @gray solid;
  58. }
  59. /*注册部分公用*/
  60. @btnColor: #2485c4;
  61. @btnDisableColor: #c9c9c9;
  62. .inputBorder {
  63. border: 1px solid #c9c9c9;
  64. }
  65. /**分页**/
  66. .el-pagination {
  67. /* background: #fff;
  68. text-align: right;
  69. margin-top: 15px;
  70. padding: 16px 20px;
  71. position: fixed;
  72. z-index: 6;
  73. width: calc(80% - 80px);
  74. bottom: 0; */
  75. white-space: nowrap;
  76. padding: 15px;
  77. color: #303133;
  78. line-height: 20px;
  79. font-weight: 700;
  80. text-align: right;
  81. background: #fff;
  82. margin-top: 15px;
  83. }
  84. /*element-ui 样式覆盖*/
  85. .el-dialog__header{
  86. border-bottom: 1px #f0f0f0 solid;
  87. padding: 10px 20px;
  88. .el-dialog__headerbtn{
  89. top: 14px;
  90. }
  91. }
  92. .el-dialog__body{
  93. padding: 20px 20px 30px;
  94. }
  95. .el-dialog__title{
  96. font-size: 14px;
  97. }
  98. .demo-form-inline .el-input--mini .el-input__inner{
  99. width: 100px;
  100. }
  101. .el-input--mini .el-input__inner {
  102. width: 120px;
  103. height: 24px;
  104. line-height: 24px;
  105. border-radius: 2px;
  106. border-color: @gray;
  107. padding: 0 5px;
  108. }
  109. .el-form--inline .el-form-item__label {
  110. font-size: 12px;
  111. vertical-align: text-bottom; /*chrome错位bug*/
  112. padding: 0;
  113. }
  114. .el-button--mini, .el-button--mini.is-round {
  115. padding: 5px 15px 4px;
  116. }
  117. .el-button--warning.el-button--mini{
  118. background: @adminBase;
  119. border:1px @adminBase solid;
  120. }
  121. .el-form-item.is-success .el-input__inner, .el-form-item.is-success .el-input__inner:focus, .el-form-item.is-success .el-textarea__inner, .el-form-item.is-success .el-textarea__inner:focus{
  122. border-color:@adminBase;
  123. }
  124. .el-table td {
  125. padding: 0;
  126. text-align: center;
  127. }
  128. .el-pagination.is-background .btn-next, .el-pagination.is-background .btn-prev, .el-pagination.is-background .el-pager li {
  129. border: 1px @gray solid;
  130. }
  131. .el-table th {
  132. background: #eee;
  133. color: @baseFontColor;
  134. padding: 8px 0;
  135. text-align: center;
  136. }
  137. .el-table .cell{
  138. line-height: 40px;
  139. }
  140. .el-range-editor.el-input__inner {
  141. height: 24px;
  142. padding: 1px 10px;
  143. }
  144. .el-dropdown {
  145. width: 175px;
  146. }
  147. .el-dropdown .el-button--default {
  148. color: @baseFontColor;
  149. border-color: @gray;
  150. }
  151. .el-dropdown .el-button--default:not(:last-child) {
  152. width: 145px;
  153. height: 30px;
  154. }
  155. .el-button-group .el-button:last-child {
  156. height: 30px;
  157. }
  158. .el-dropdown-menu {
  159. width: 175px;
  160. max-height: 200px;
  161. overflow-y: auto;
  162. margin-top: -5px;
  163. }
  164. .el-form-item__error {
  165. top: 34px;
  166. }
  167. /* 选中状态边框颜色改变 */
  168. .activeBgc {
  169. background-color: #eae7e7;
  170. }
  171. .activeBgcF5 {
  172. background-color: #f5f5f5;
  173. }
  174. .btmFix {
  175. position: fixed;
  176. width: 100%;
  177. height:10px;
  178. left: 280px;
  179. bottom: 0;
  180. background-color: #dee2ea;
  181. }
  182. /***规则查询查看弹窗表格tooltip***/
  183. .elx-table--tooltip-wrapper{
  184. z-index: 9999!important;
  185. }