1. /* 明亮主题 */
    2. /* 设置 flex 布局 */
    3. .light div[data-rem-container-tags~=kanban] > .TreeNode {
    4. display: flex;
    5. background-color: #E7E7EE;
    6. border-radius: 10px;
    7. padding-left: 0 !important;
    8. }
    9. .light div[data-rem-container-tags~=kanban] > .TreeNode > div {
    10. flex: 1 1 0;
    11. margin: 6px;
    12. border-radius: 8px;
    13. position: relative;
    14. overflow: hidden;
    15. }
    16. /* 第一个子 rem 的左边距设置为 0 */
    17. .light div[data-rem-container-tags~=kanban] > .TreeNode >div:not(:first-child) {
    18. margin-left: 0 ;
    19. }
    20. /* 看板标题圆点隐藏,只在 hover 时显示 */
    21. .light div[data-rem-container-tags~=kanban] > .TreeNode > div > .tree-node--parent:not(:hover) .rem-bullet__container {
    22. visibility: hidden;
    23. }
    24. /* 看板标题增加下框线 */
    25. .light div[data-rem-container-tags~=kanban] > .TreeNode > div > .tree-node--parent {
    26. background-color: rgba(0, 0, 0, 0.09);
    27. margin: 0;
    28. border-bottom: 2px solid #E7E7EE;
    29. }
    30. /*看板标题文字居中*/
    31. .light div[data-rem-container-tags~=kanban] > .TreeNode > div > .tree-node--parent .rem .rem-container .rem-text {
    32. text-align: center;
    33. transform:translateX(-10px);
    34. }
    35. /* 看板内容margin 等设置 */
    36. .light div[data-rem-container-tags~=kanban] > .TreeNode div > .TreeNode {
    37. margin: 0 !important;
    38. padding: 0 !important;
    39. border: unset !important;
    40. }
    41. /* 看板内容子 rem 设置 */
    42. .light div[data-rem-container-tags~=kanban] > .TreeNode > div > .TreeNode > div .tree-node--parent {
    43. background-color: white;
    44. margin: 5px;
    45. border-radius: 2px;
    46. box-shadow: 0 0 1px 0;
    47. }
    48. /* 隐藏子 rem 的小圆点 */
    49. .light div[data-rem-container-tags~=kanban] > .TreeNode > div > .TreeNode > div .rem > div .rem-container:not(:hover) .rem-button__container {
    50. visibility: hidden;
    51. }
    52. .light div[data-rem-container-tags~=kanban] > .TreeNode > div > .TreeNode > div .rem > div .rem-container .rem-button__container .rem-bullet__container {
    53. height: 100%;
    54. width: 10px;
    55. top: 0;
    56. left: 0;
    57. margin-top: 0 !important;
    58. }
    59. .light div[data-rem-container-tags~=kanban] > .TreeNode > div > .TreeNode > div .rem > div .rem-container .rem-text {
    60. padding-left: 25px;
    61. margin-left: 0;
    62. }
    63. /*设置看板子内容的背景颜色*/
    64. .light div[data-rem-container-tags~=kanban] > .TreeNode > div:nth-child(1) {
    65. background-color: #ffeaa7;
    66. }
    67. .light div[data-rem-container-tags~=kanban] > .TreeNode >div:nth-child(2) {
    68. background-color: #74b9ff;
    69. }
    70. .light div[data-rem-container-tags~=kanban] > .TreeNode >div:nth-child(3) {
    71. background-color: #55efc4;
    72. }
    73. .light div[data-rem-container-tags~=kanban] > .TreeNode >div:nth-child(4) {
    74. background-color: #a29bfe;
    75. }
    76. .light div[data-rem-container-tags~=kanban] > .TreeNode >div:nth-child(5) {
    77. background-color: #dfe6e9;
    78. }
    79. /* 暗色主题 */
    80. /* 设置 flex 布局 */
    81. .dark div[data-rem-container-tags~=kanban] > .TreeNode {
    82. display: flex;
    83. background-color: #2A2A2F;
    84. border-radius: 10px;
    85. padding-left: 0 !important;
    86. }
    87. .dark div[data-rem-container-tags~=kanban] > .TreeNode > div {
    88. flex: 1 1 0;
    89. margin: 6px;
    90. border-radius: 8px;
    91. position: relative;
    92. overflow: hidden;
    93. }
    94. /* 第一个子 rem 的左边距设置为 0 */
    95. .dark div[data-rem-container-tags~=kanban] > .TreeNode >div:not(:first-child) {
    96. margin-left: 0 ;
    97. }
    98. /* 看板标题圆点隐藏,只在 hover 时显示 */
    99. .dark div[data-rem-container-tags~=kanban] > .TreeNode > div > .tree-node--parent:not(:hover) .rem-bullet__container {
    100. visibility: hidden;
    101. }
    102. /* 看板标题增加下框线 */
    103. .dark div[data-rem-container-tags~=kanban] > .TreeNode > div > .tree-node--parent {
    104. background-color: rgba(0, 0, 0, 0.09);
    105. margin: 0;
    106. border-bottom: 2px solid #2A2A2F;
    107. }
    108. /*看板标题文字居中*/
    109. .dark div[data-rem-container-tags~=kanban] > .TreeNode > div > .tree-node--parent .rem .rem-container .rem-text {
    110. text-align: center;
    111. transform:translateX(-10px);
    112. }
    113. /* 看板内容margin 等设置 */
    114. .dark div[data-rem-container-tags~=kanban] > .TreeNode div > .TreeNode {
    115. margin: 0 !important;
    116. padding: 0 !important;
    117. border: unset !important;
    118. }
    119. /* 看板内容子 rem 设置 */
    120. .dark div[data-rem-container-tags~=kanban] > .TreeNode > div > .TreeNode > div .tree-node--parent {
    121. background-color: #16161A;
    122. margin: 5px;
    123. border-radius: 2px;
    124. box-shadow: 0 0 1px 0;
    125. }
    126. /* 隐藏子 rem 的小圆点 */
    127. .dark div[data-rem-container-tags~=kanban] > .TreeNode > div > .TreeNode > div .rem > div .rem-container:not(:hover) .rem-button__container {
    128. visibility: hidden;
    129. }
    130. .dark div[data-rem-container-tags~=kanban] > .TreeNode > div > .TreeNode > div .rem > div .rem-container .rem-button__container .rem-bullet__container {
    131. height: 100%;
    132. width: 10px;
    133. top: 0;
    134. left: 0;
    135. margin-top: 0 !important;
    136. }
    137. .dark div[data-rem-container-tags~=kanban] > .TreeNode > div > .TreeNode > div .rem > div .rem-container .rem-text {
    138. padding-left: 25px;
    139. margin-left: 0;
    140. }
    141. /*设置看板子内容的背景颜色*/
    142. .dark div[data-rem-container-tags~=kanban] > .TreeNode > div:nth-child(1) {
    143. background-color: #fdcb6e;
    144. }
    145. .dark div[data-rem-container-tags~=kanban] > .TreeNode >div:nth-child(2) {
    146. background-color: #0984e3;
    147. }
    148. .dark div[data-rem-container-tags~=kanban] > .TreeNode >div:nth-child(3) {
    149. background-color: #00b894;
    150. }
    151. .dark div[data-rem-container-tags~=kanban] > .TreeNode >div:nth-child(4) {
    152. background-color: #6c5ce7;
    153. }
    154. .dark div[data-rem-container-tags~=kanban] > .TreeNode >div:nth-child(5) {
    155. background-color: #b2bec3;
    156. }