maintenance-statistics.component.less 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. @import "../../../../../src/theme.less";
  2. :host{
  3. background-color: #F0F2F5;
  4. width: 100%;
  5. height: 100vh;
  6. font-size: 14px;
  7. display: flex;
  8. flex-direction: column;
  9. ::ng-deep .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab{
  10. height: 36px!important;
  11. line-height: 34px!important;
  12. padding: 0 12px!important;
  13. }
  14. ::ng-deep .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-nav-container{
  15. height: 36px!important;
  16. }
  17. ::ng-deep .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab{
  18. background: #E9EAEC;
  19. }
  20. ::ng-deep .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-active{
  21. background: #fff;
  22. }
  23. .header{
  24. height: 48px;
  25. background-color: #fff;
  26. display: flex;
  27. justify-content: center;
  28. align-items: center;
  29. position: relative;
  30. .title{
  31. margin-right: 16px;
  32. cursor: pointer;
  33. &:last-of-type{
  34. margin-right: 0;
  35. }
  36. &.active{
  37. color: @primary-color;
  38. }
  39. }
  40. .hospital{
  41. position: absolute;
  42. right: 24px;
  43. top: 50%;
  44. transform: translateY(-50%);
  45. color: #666666;
  46. font-size: 16px;
  47. display: flex;
  48. align-items: center;
  49. cursor: pointer;
  50. .icon_transport{
  51. color: #666666;
  52. font-size: 24px;
  53. }
  54. }
  55. }
  56. .content{
  57. margin-top: 8px;
  58. display: flex;
  59. flex: 1;
  60. min-height: 0;
  61. overflow-x: hidden;
  62. height: 100%;
  63. .secondMenu{
  64. width: 175px;
  65. height: 100%;
  66. background-color: #fff;
  67. margin-right: 8px;
  68. flex-shrink: 0;
  69. .secondMenuItem{
  70. height: 44px;
  71. line-height: 44px;
  72. padding: 0 36px;
  73. border-bottom: 1px solid #E9E9E9;
  74. cursor: pointer;
  75. &.active{
  76. background-color: #E9F7E9;
  77. border-color: #E9F7E9;
  78. position: relative;
  79. &::after{
  80. content: '';
  81. position: absolute;
  82. right: 0;
  83. top: 0;
  84. width: 5px;
  85. height: 100%;
  86. background-color: @primary-color;
  87. }
  88. }
  89. }
  90. }
  91. .main{
  92. flex: 1;
  93. height: calc(100% - 36px);
  94. background-color: #fff;
  95. position: relative;
  96. top: 36px;
  97. }
  98. }
  99. }