station.scss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. .station-view {
  2. width: 100%;
  3. height: 100%;
  4. .station-header {
  5. display: flex;
  6. margin-bottom: 16px;
  7. .station-form {
  8. margin-right: 30px;
  9. }
  10. .station-count {
  11. flex: 1;
  12. display: flex;
  13. align-items: center;
  14. .count-box {
  15. flex: 1;
  16. }
  17. }
  18. .station-settings {
  19. display: flex;
  20. align-items: center;
  21. .station-switch {
  22. margin-right: 24px;
  23. }
  24. }
  25. }
  26. .station-table {
  27. width: 100%;
  28. height: calc(100% - 32px - 16px);
  29. :deep .el-table-v2 {
  30. .el-table-v2__header-cell,
  31. .el-table-v2__row-cell {
  32. padding: 0;
  33. &:not(:last-child) {
  34. border-right: 1px solid #dfe3ea;
  35. }
  36. }
  37. .el-table-v2__header-cell-text,
  38. .el-table-v2__cell-text {
  39. font-size: 14px;
  40. font-family: Helvetica, Microsoft YaHei;
  41. font-weight: bold;
  42. color: #101116;
  43. white-space: pre-line;
  44. }
  45. .el-table-v2__header {
  46. .el-table-v2__header-cell {
  47. &.bg-yellow {
  48. background-color: #f9f3cb;
  49. }
  50. &.bg-green {
  51. background-color: #ace5d3;
  52. }
  53. &.bg-cyan {
  54. background-color: #b7d5e8;
  55. }
  56. }
  57. }
  58. .el-table-v2__body {
  59. .el-table-v2__row {
  60. &.bg-gray {
  61. background-color: #d2d6df;
  62. }
  63. &.underline-red {
  64. border-bottom: 2px solid #e83f82;
  65. }
  66. .el-table-v2__row-cell {
  67. position: relative;
  68. .el-table-v2__cell-text {
  69. .cell-text {
  70. position: relative;
  71. z-index: 1;
  72. }
  73. .cell-background {
  74. content: '';
  75. width: 100%;
  76. height: 100%;
  77. position: absolute;
  78. top: 0;
  79. left: 0;
  80. z-index: 0;
  81. display: none;
  82. }
  83. &.cell-warning .cell-background {
  84. display: block;
  85. background-color: #f6cda5;
  86. }
  87. &.cell-error .cell-background {
  88. display: block;
  89. background-color: #f38080;
  90. }
  91. }
  92. }
  93. }
  94. }
  95. .table-footer {
  96. padding-left: 8px;
  97. height: 100%;
  98. display: flex;
  99. align-items: center;
  100. background-color: #dfe3ea;
  101. &-count {
  102. font-size: 16px;
  103. font-family: Helvetica, Microsoft YaHei;
  104. font-weight: bold;
  105. color: #303133;
  106. &:not(:last-of-type) {
  107. margin-right: 48px;
  108. }
  109. }
  110. }
  111. }
  112. }
  113. }