layout.less 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. .dashboarddesigner-layout {
  2. height: 100%;
  3. overflow: hidden;
  4. &>.ant-layout-header {
  5. background: none;
  6. padding: 0 10px;
  7. height: 40px;
  8. line-height: 40px;
  9. border-width: 1px 0;
  10. border-style: solid;
  11. border-color: #CCCCCC;
  12. }
  13. &>.ant-layout-content {
  14. flex: 1;
  15. .content {
  16. height: 100%;
  17. &>.dashboard-content {
  18. height: calc(~"100% - 20px");
  19. margin: 10px;
  20. overflow: hidden;
  21. &.nomargin {
  22. margin: 0;
  23. }
  24. &>.content-layout {
  25. flex-direction: row;
  26. overflow: hidden;
  27. height: 100%;
  28. &>.viewlayout {
  29. padding: 5px 5px 50px 5px;
  30. overflow-x: hidden;
  31. border: 1px solid #CCCCCC;
  32. }
  33. .config-sider {
  34. border: none;
  35. .ant-layout-sider-children {
  36. margin: 0 10px 0 0;
  37. padding: 5px;
  38. overflow: auto;
  39. border: 1px solid #CCCCCC;
  40. }
  41. &-closed {
  42. .ant-layout-sider-children {
  43. margin: 0;
  44. padding: 0;
  45. overflow: hidden;
  46. border: none;
  47. }
  48. }
  49. }
  50. }
  51. }
  52. .ant-layout-header {
  53. background: none;
  54. padding: 0 10px;
  55. height: auto;
  56. min-height: 40px;
  57. line-height: 37px;
  58. border-width: 1px 0;
  59. border-style: solid;
  60. border-color: #CCCCCC;
  61. display: flex;
  62. justify-content: space-between;
  63. .filters {
  64. display: flex;
  65. width: 100%;
  66. flex-wrap: wrap;
  67. .filter-tag {
  68. max-width: 200px;
  69. overflow: hidden;
  70. white-space: nowrap;
  71. text-overflow: ellipsis;
  72. border-style: dashed;
  73. margin: 8px 2px 8px 2px;
  74. }
  75. .filter-tag-using {
  76. border-style: solid;
  77. border-color: #1890FF;
  78. background-color: #1890ff;
  79. color: white;
  80. }
  81. .filter-tag-add {
  82. background-color: white;
  83. border-style: solid;
  84. }
  85. }
  86. }
  87. }
  88. }
  89. .ant-layout-sider {
  90. background: none;
  91. border-width: 0 1px 0 1px;
  92. border-style: solid;
  93. border-color: #CCCCCC;
  94. .ant-form-item {
  95. margin-bottom: 0;
  96. }
  97. }
  98. .ant-tabs {
  99. .chartconfig {
  100. .ant-cascader-picker {
  101. .ant-cascader-picker-label {
  102. height: 100%;
  103. padding: 0 6px;
  104. .cascader-label {
  105. margin-left: 6px;
  106. }
  107. .empty-label {
  108. color: #bfbfbf;
  109. }
  110. }
  111. }
  112. }
  113. }
  114. .ant-tabs-bar {
  115. margin: 0;
  116. }
  117. }