Skip to content
代码片段 群组 项目
提交 78cf14be 编辑于 作者: Sascha Eggenberger's avatar Sascha Eggenberger
浏览文件

Tree table: Fix table header in dark mode

上级 2b6667dd
No related branches found
No related tags found
2 合并请求!3031Merge per-main-jh to main-jh by luzhiyuan,!3030Merge per-main-jh to main-jh
...@@ -89,8 +89,8 @@ ...@@ -89,8 +89,8 @@
table.tree-table { table.tree-table {
@apply dark:gl-bg-neutral-900 gl-mb-0; @apply dark:gl-bg-neutral-900 gl-mb-0;
thead tr th { thead tr th[scope="col"] {
@apply gl-border-t-0; @apply gl-bg-subtle dark:gl-bg-neutral-800 gl-border-t-0;
} }
tbody tr { tbody tr {
...@@ -101,10 +101,6 @@ ...@@ -101,10 +101,6 @@
line-height: 21px; line-height: 21px;
} }
th[scope="col"] {
@apply gl-bg-subtle dark:gl-bg-neutral-800 gl-border-0;
}
td, th { td, th {
@apply gl-border-section; @apply gl-border-section;
} }
...@@ -133,20 +129,20 @@ ...@@ -133,20 +129,20 @@
td, th { td, th {
@apply gl-border-b-0; @apply gl-border-b-0;
box-shadow: inset 0 -1px 0 0 var(--gl-action-selected-border-color-default); box-shadow: inset 0 -1px 0 0 var(--gl-action-selected-border-color-default);
&:first-child { &:first-child {
box-shadow: inset 1px 0 0 0 var(--gl-action-selected-border-color-default), box-shadow: inset 1px 0 0 0 var(--gl-action-selected-border-color-default),
inset 0 -1px 0 0 var(--gl-action-selected-border-color-default); inset 0 -1px 0 0 var(--gl-action-selected-border-color-default);
border-bottom-left-radius: calc(#{$gl-border-radius-base} - 1px); border-bottom-left-radius: calc(#{$gl-border-radius-base} - 1px);
} }
&:last-child { &:last-child {
box-shadow: inset -1px 0 0 0 var(--gl-action-selected-border-color-default), box-shadow: inset -1px 0 0 0 var(--gl-action-selected-border-color-default),
inset 0 -1px 0 0 var(--gl-action-selected-border-color-default); inset 0 -1px 0 0 var(--gl-action-selected-border-color-default);
border-bottom-right-radius: calc(#{$gl-border-radius-base} - 1px); border-bottom-right-radius: calc(#{$gl-border-radius-base} - 1px);
} }
} }
} }
} }
&.selected { &.selected {
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册