index.scss 2.5 KB

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