layout.less 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. .layout-dashboarddesigner {
  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: @border-color-base;
  12. }
  13. &>.ant-layout-content {
  14. flex: 1;
  15. .content {
  16. height: 100%;
  17. &>.dashboard-content {
  18. display: flex;
  19. flex-direction: column;
  20. margin: 10px;
  21. overflow: hidden;
  22. &.nomargin {
  23. margin: 0;
  24. }
  25. &>.content-layout {
  26. flex-direction: row;
  27. overflow: hidden;
  28. height: 100%;
  29. background: @content-background-color;
  30. &>.viewlayout {
  31. display: flex;
  32. flex-direction: column;
  33. padding: 0;
  34. overflow: hidden;
  35. >.dashboard-viewcontent {
  36. flex: 1;
  37. overflow: auto;
  38. // margin: 8px;
  39. }
  40. }
  41. >.config-sider {
  42. border: none;
  43. .ant-layout-sider-children {
  44. margin: 0 10px 0 0;
  45. padding: 5px;
  46. overflow: auto;
  47. border: 1px solid @border-color-base;
  48. }
  49. &-closed {
  50. .ant-layout-sider-children {
  51. margin: 0;
  52. padding: 0;
  53. overflow: hidden;
  54. border: none;
  55. }
  56. }
  57. }
  58. }
  59. }
  60. .ant-layout-header {
  61. background: none;
  62. padding: 0;
  63. height: auto;
  64. // min-height: 40px;
  65. line-height: 37px;
  66. border-width: 1px 0;
  67. border-style: solid;
  68. border-color: @border-color-base;
  69. display: flex;
  70. justify-content: space-between;
  71. border: none;
  72. .filters {
  73. display: flex;
  74. border: none;
  75. background: #FCFCFC;
  76. width: 100%;
  77. justify-content: space-between;
  78. padding-left: 8px;
  79. transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  80. &.closed {
  81. height: 39px;
  82. overflow: hidden;
  83. }
  84. .content {
  85. flex: 1;
  86. display: flex;
  87. flex-wrap: wrap;
  88. .filter-tag {
  89. max-width: 200px;
  90. overflow: hidden;
  91. white-space: nowrap;
  92. text-overflow: ellipsis;
  93. border-style: dashed;
  94. margin: 8px 2px 8px 2px;
  95. }
  96. .filter-tag-using {
  97. border-style: solid;
  98. border-color: #1890FF;
  99. background-color: #1890ff;
  100. color: white;
  101. }
  102. .filter-tag-add {
  103. border: none;
  104. background: transparent;
  105. line-height: 20px;
  106. }
  107. }
  108. .right {
  109. padding-right: 8px;
  110. .anticon {
  111. cursor: pointer;
  112. }
  113. }
  114. }
  115. }
  116. }
  117. }
  118. .ant-layout-sider {
  119. background: none;
  120. border-width: 0 1px 0 1px;
  121. border-style: solid;
  122. border-color: @border-color-base;
  123. .ant-form-item {
  124. margin-bottom: 0;
  125. }
  126. }
  127. .ant-tabs {
  128. .chartconfig {
  129. .ant-cascader-picker {
  130. .ant-cascader-picker-label {
  131. height: 100%;
  132. padding: 0 6px;
  133. .cascader-label {
  134. margin-left: 6px;
  135. }
  136. .empty-label {
  137. color: #bfbfbf;
  138. }
  139. }
  140. }
  141. }
  142. }
  143. .ant-tabs-bar {
  144. margin: 0;
  145. }
  146. }