index.scss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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 - 60px);
  32. height: calc(100% - 32px - 16px);
  33. :deep(.el-table) {
  34. .el-table__cell {
  35. .cell,
  36. &::after {
  37. font-size: 12px;
  38. font-weight: bold;
  39. }
  40. }
  41. .el-table__header {
  42. .el-table__cell {
  43. &.bg-yellow {
  44. background-color: #f9f3cb;
  45. }
  46. &.bg-purple {
  47. background-color: #9e99d0;
  48. }
  49. &.bg-green {
  50. background-color: #ace5d3;
  51. }
  52. &.bg-cyan {
  53. background-color: #b7d5e8;
  54. }
  55. }
  56. }
  57. .el-table__body {
  58. .el-table__row {
  59. &.bg-gray:not(.current-row, .hover-row) .el-table__cell {
  60. background-color: #d2d6df;
  61. }
  62. &.bg-light:not(.current-row, .hover-row) .el-table__cell {
  63. background-color: #eef3d6;
  64. }
  65. &.underline-red {
  66. border-bottom: 2px solid #e83f82;
  67. }
  68. .el-table__cell {
  69. height: 50px;
  70. flex-direction: column;
  71. &.cell-warning {
  72. background-color: #f6cda5 !important;
  73. }
  74. &.cell-alarm {
  75. background-color: #f38080 !important;
  76. }
  77. &.cell-success {
  78. background-color: #46af43 !important;
  79. }
  80. &.cell-click .el-table__cell-text {
  81. color: #2d67e3;
  82. cursor: pointer;
  83. }
  84. &.flight-state-cancel::after {
  85. content: '延误';
  86. display: block;
  87. color: #f38080;
  88. }
  89. &.flight-state-delay::after {
  90. content: '取消';
  91. display: block;
  92. color: #d89834;
  93. }
  94. }
  95. }
  96. }
  97. }
  98. }
  99. .table-footer {
  100. height: 60px;
  101. padding-left: 8px;
  102. display: flex;
  103. align-items: center;
  104. background-color: #dfe3ea;
  105. &-count {
  106. font-size: 16px;
  107. font-family: Helvetica, Microsoft YaHei;
  108. font-weight: bold;
  109. color: #303133;
  110. &:not(:last-of-type) {
  111. margin-right: 48px;
  112. }
  113. }
  114. }
  115. }