maintenance-statistics.component.less 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. @import "../../../../../src/theme.less";
  2. :host{
  3. background-color: #F0F2F5;
  4. width: 100%;
  5. height: calc(100vh - 48px);
  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. .content{
  24. margin-top: 8px;
  25. display: flex;
  26. flex: 1;
  27. min-height: 0;
  28. overflow-x: hidden;
  29. height: 100%;
  30. .secondMenu{
  31. width: 160px;
  32. height: 100%;
  33. background-color: #fff;
  34. margin-right: 8px;
  35. flex-shrink: 0;
  36. .secondMenuItem{
  37. height: 44px;
  38. line-height: 44px;
  39. padding: 0 36px;
  40. border-bottom: 1px solid #E9E9E9;
  41. cursor: pointer;
  42. display: block;
  43. color: rgba(0,0,0,0.65);
  44. &.active{
  45. background-color: #E9F7E9;
  46. border-color: #E9F7E9;
  47. position: relative;
  48. &::after{
  49. content: '';
  50. position: absolute;
  51. right: 0;
  52. top: 0;
  53. width: 5px;
  54. height: 100%;
  55. background-color: @primary-color;
  56. }
  57. }
  58. }
  59. }
  60. .main{
  61. flex: 1;
  62. height: calc(100% - 36px);
  63. background-color: #fff;
  64. position: relative;
  65. top: 36px;
  66. }
  67. }
  68. }