styles.less 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. @import '~assets/less/variable';
  2. .columnStyleConfig {
  3. display: flex;
  4. flex-direction: row;
  5. border-bottom: 1px solid @border-color-base;
  6. padding: 8px;
  7. max-height: 500px;
  8. .title {
  9. display: flex;
  10. flex-direction: row;
  11. border-width: 1px 0;
  12. border-style: solid;
  13. border-color: @border-color-base;
  14. margin-top: -1px;
  15. padding: 8px;
  16. }
  17. h2 {
  18. flex: 1;
  19. font-size: 12px;
  20. padding-right: 8px;
  21. }
  22. i {
  23. font-size: 12px;
  24. }
  25. .content {
  26. flex: 1;
  27. display: flex;
  28. flex-direction: row;
  29. margin-bottom: 16px;
  30. }
  31. .left {
  32. width: 300px;
  33. border: 1px solid @border-color-base;
  34. display: flex;
  35. flex-direction: column;
  36. .list {
  37. flex: 1;
  38. display: flex;
  39. flex-direction: column;
  40. min-height: 0;
  41. ul {
  42. flex: 1;
  43. overflow-y: auto;
  44. }
  45. li {
  46. .ellipsis;
  47. line-height: 24px;
  48. padding: 0 8px;
  49. box-sizing: border-box;
  50. border-bottom: 1px solid @border-color-base;
  51. cursor: pointer;
  52. label {
  53. padding-left: 8px;
  54. cursor: pointer;
  55. }
  56. &:hover {
  57. background-color: lighten(@primary-color, 30%);
  58. }
  59. &.selected {
  60. background-color: lighten(@primary-color, 30%);
  61. }
  62. }
  63. }
  64. }
  65. .right {
  66. border: 1px solid @border-color-base;
  67. border-left: none;
  68. flex: 1;
  69. display: flex;
  70. flex-direction: column;
  71. .config {
  72. padding: 16px;
  73. flex: 1;
  74. overflow-y: auto;
  75. }
  76. .table {
  77. padding: 8px;
  78. overflow: auto;
  79. }
  80. .colorPickerWrapper {
  81. width: 36px;
  82. height: 32px;
  83. display: flex;
  84. justify-content: center;
  85. align-items: center;
  86. }
  87. :global {
  88. .ant-form-item {
  89. margin-bottom: 4px;
  90. }
  91. .ant-form-item-label {
  92. line-height: 1em;
  93. label {
  94. color: @disabled-text-color;
  95. font-size: 12px;
  96. font-weight: bold;
  97. }
  98. }
  99. .ant-form-item-required:before {
  100. margin-right: 2px;
  101. vertical-align: middle;
  102. }
  103. .ant-form-item-control {
  104. line-height: 32px;
  105. }
  106. }
  107. }
  108. }
  109. .btns {
  110. button + button {
  111. margin-left: 8px;
  112. }
  113. }
  114. .colColor {
  115. display: flex;
  116. flex-direction: row;
  117. line-height: 28px;
  118. label {
  119. padding-left: 8px;
  120. }
  121. }