/* 明亮主题 */
/* 设置 flex 布局 */
.light div[data-rem-container-tags~=kanban] > .TreeNode {
display: flex;
background-color: #E7E7EE;
border-radius: 10px;
padding-left: 0 !important;
}
.light div[data-rem-container-tags~=kanban] > .TreeNode > div {
flex: 1 1 0;
margin: 6px;
border-radius: 8px;
position: relative;
overflow: hidden;
}
/* 第一个子 rem 的左边距设置为 0 */
.light div[data-rem-container-tags~=kanban] > .TreeNode >div:not(:first-child) {
margin-left: 0 ;
}
/* 看板标题圆点隐藏,只在 hover 时显示 */
.light div[data-rem-container-tags~=kanban] > .TreeNode > div > .tree-node--parent:not(:hover) .rem-bullet__container {
visibility: hidden;
}
/* 看板标题增加下框线 */
.light div[data-rem-container-tags~=kanban] > .TreeNode > div > .tree-node--parent {
background-color: rgba(0, 0, 0, 0.09);
margin: 0;
border-bottom: 2px solid #E7E7EE;
}
/*看板标题文字居中*/
.light div[data-rem-container-tags~=kanban] > .TreeNode > div > .tree-node--parent .rem .rem-container .rem-text {
text-align: center;
transform:translateX(-10px);
}
/* 看板内容margin 等设置 */
.light div[data-rem-container-tags~=kanban] > .TreeNode div > .TreeNode {
margin: 0 !important;
padding: 0 !important;
border: unset !important;
}
/* 看板内容子 rem 设置 */
.light div[data-rem-container-tags~=kanban] > .TreeNode > div > .TreeNode > div .tree-node--parent {
background-color: white;
margin: 5px;
border-radius: 2px;
box-shadow: 0 0 1px 0;
}
/* 隐藏子 rem 的小圆点 */
.light div[data-rem-container-tags~=kanban] > .TreeNode > div > .TreeNode > div .rem > div .rem-container:not(:hover) .rem-button__container {
visibility: hidden;
}
.light div[data-rem-container-tags~=kanban] > .TreeNode > div > .TreeNode > div .rem > div .rem-container .rem-button__container .rem-bullet__container {
height: 100%;
width: 10px;
top: 0;
left: 0;
margin-top: 0 !important;
}
.light div[data-rem-container-tags~=kanban] > .TreeNode > div > .TreeNode > div .rem > div .rem-container .rem-text {
padding-left: 25px;
margin-left: 0;
}
/*设置看板子内容的背景颜色*/
.light div[data-rem-container-tags~=kanban] > .TreeNode > div:nth-child(1) {
background-color: #ffeaa7;
}
.light div[data-rem-container-tags~=kanban] > .TreeNode >div:nth-child(2) {
background-color: #74b9ff;
}
.light div[data-rem-container-tags~=kanban] > .TreeNode >div:nth-child(3) {
background-color: #55efc4;
}
.light div[data-rem-container-tags~=kanban] > .TreeNode >div:nth-child(4) {
background-color: #a29bfe;
}
.light div[data-rem-container-tags~=kanban] > .TreeNode >div:nth-child(5) {
background-color: #dfe6e9;
}
/* 暗色主题 */
/* 设置 flex 布局 */
.dark div[data-rem-container-tags~=kanban] > .TreeNode {
display: flex;
background-color: #2A2A2F;
border-radius: 10px;
padding-left: 0 !important;
}
.dark div[data-rem-container-tags~=kanban] > .TreeNode > div {
flex: 1 1 0;
margin: 6px;
border-radius: 8px;
position: relative;
overflow: hidden;
}
/* 第一个子 rem 的左边距设置为 0 */
.dark div[data-rem-container-tags~=kanban] > .TreeNode >div:not(:first-child) {
margin-left: 0 ;
}
/* 看板标题圆点隐藏,只在 hover 时显示 */
.dark div[data-rem-container-tags~=kanban] > .TreeNode > div > .tree-node--parent:not(:hover) .rem-bullet__container {
visibility: hidden;
}
/* 看板标题增加下框线 */
.dark div[data-rem-container-tags~=kanban] > .TreeNode > div > .tree-node--parent {
background-color: rgba(0, 0, 0, 0.09);
margin: 0;
border-bottom: 2px solid #2A2A2F;
}
/*看板标题文字居中*/
.dark div[data-rem-container-tags~=kanban] > .TreeNode > div > .tree-node--parent .rem .rem-container .rem-text {
text-align: center;
transform:translateX(-10px);
}
/* 看板内容margin 等设置 */
.dark div[data-rem-container-tags~=kanban] > .TreeNode div > .TreeNode {
margin: 0 !important;
padding: 0 !important;
border: unset !important;
}
/* 看板内容子 rem 设置 */
.dark div[data-rem-container-tags~=kanban] > .TreeNode > div > .TreeNode > div .tree-node--parent {
background-color: #16161A;
margin: 5px;
border-radius: 2px;
box-shadow: 0 0 1px 0;
}
/* 隐藏子 rem 的小圆点 */
.dark div[data-rem-container-tags~=kanban] > .TreeNode > div > .TreeNode > div .rem > div .rem-container:not(:hover) .rem-button__container {
visibility: hidden;
}
.dark div[data-rem-container-tags~=kanban] > .TreeNode > div > .TreeNode > div .rem > div .rem-container .rem-button__container .rem-bullet__container {
height: 100%;
width: 10px;
top: 0;
left: 0;
margin-top: 0 !important;
}
.dark div[data-rem-container-tags~=kanban] > .TreeNode > div > .TreeNode > div .rem > div .rem-container .rem-text {
padding-left: 25px;
margin-left: 0;
}
/*设置看板子内容的背景颜色*/
.dark div[data-rem-container-tags~=kanban] > .TreeNode > div:nth-child(1) {
background-color: #fdcb6e;
}
.dark div[data-rem-container-tags~=kanban] > .TreeNode >div:nth-child(2) {
background-color: #0984e3;
}
.dark div[data-rem-container-tags~=kanban] > .TreeNode >div:nth-child(3) {
background-color: #00b894;
}
.dark div[data-rem-container-tags~=kanban] > .TreeNode >div:nth-child(4) {
background-color: #6c5ce7;
}
.dark div[data-rem-container-tags~=kanban] > .TreeNode >div:nth-child(5) {
background-color: #b2bec3;
}