moduleManager.less 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. @import "./reset.less";
  2. .container{
  3. width: 100%;
  4. }
  5. h2{
  6. .h2;
  7. }
  8. .main-body{
  9. margin: 10px 40px;
  10. }
  11. .totalSumBox{
  12. margin: 0 0 10px 0;
  13. text-align: right;
  14. padding: 0 20px 0 0;
  15. .totalSum{
  16. color: red;
  17. }
  18. }
  19. table{
  20. width: 100%;
  21. border:1px solid #E2E5EF;
  22. border-collapse: collapse;/*关键代码*/
  23. min-width: 800px;
  24. thead{
  25. background: #EFF0F9;
  26. }
  27. th,td{
  28. height: 32px;
  29. box-sizing: border-box;
  30. padding: 0 20px;
  31. border:1px solid #E2E5EF;
  32. border-collapse: collapse;/*关键代码*/
  33. }
  34. th{
  35. font-size: 14px;
  36. font-weight: 500;
  37. }
  38. td{
  39. font-size: 14px;
  40. font-weight: 400
  41. }
  42. .moduleNumber{
  43. text-align: center;
  44. width: 15%;
  45. min-width: 30px;
  46. }
  47. .moduleName{
  48. width: 55%;
  49. }
  50. .moduleScore{
  51. text-align: center;
  52. width: 15%;
  53. min-width: 30px;
  54. }
  55. .moduleOpera{
  56. text-align: center;
  57. width: 15%;
  58. min-width: 30px;
  59. }
  60. }
  61. .tableTitle table{
  62. background: #EFF0F9;
  63. }
  64. .moduleScore, .totalSum{
  65. text-align: center;
  66. input{
  67. text-align: center ;
  68. height: 30px;
  69. }
  70. }
  71. .saveModuleBox{
  72. margin: 20px 0 0 0;
  73. }
  74. .saveModule{
  75. display: inline-block;
  76. float: right;
  77. background: @activeColor;
  78. color:#fff;
  79. padding: 9px 16px;
  80. border-radius: 5px;
  81. cursor: pointer;
  82. }
  83. .tableWrapper{
  84. }
  85. .tableInfo{
  86. overflow-y: auto;
  87. }
  88. .mask {
  89. position: fixed;
  90. width: 100%;
  91. height: 100%;
  92. background: #000;
  93. opacity: 0.5;
  94. left: 0;
  95. top: 0;
  96. }
  97. .textCenter{
  98. text-align: center;
  99. }
  100. .moduleOperaItem{
  101. color: @activeColor;
  102. cursor: pointer;
  103. }
  104. .moduleOperaItemDis{
  105. color: #aaa;
  106. cursor: not-allowed;
  107. }
  108. input::-webkit-outer-spin-button,
  109. input::-webkit-inner-spin-button {
  110. -webkit-appearance: none;
  111. }
  112. input[type="number"] {
  113. -moz-appearance: textfield;
  114. }