station.scss 2.6 KB

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