Upgrade Alias-Agent to 0.2.0 (#51)
Upgrade Alias-Agent to 0.2.0 --------- Co-authored-by: ZiTao-Li <zitao.l@alibaba-inc.com> Co-authored-by: xieyxclack <yuexiang.xyx@alibaba-inc.com> Co-authored-by: Zexi Li <tomleeze@qq.com> Co-authored-by: SSSuperDan <dlaura2218@gmail.com> Co-authored-by: lalaliat <78087788+lalaliat@users.noreply.github.com> Co-authored-by: jinli.yl <jinli.yl@alibaba-inc.com> Co-authored-by: Dengjiaji <dengjiaji.djj@alibaba-inc.com> Co-authored-by: 于南 <zengtianjing.ztj@alibaba-inc.com> Co-authored-by: JustinDing <166603159+sleepy-bird-world@users.noreply.github.com> Co-authored-by: y1y5 <269557841@qq.com> Co-authored-by: 柳佚 <yly287738@alibaba-inc.com> Co-authored-by: LiangguiWeng <347185100@qq.com> Co-authored-by: 潜星 <zhijian.mzj@alibaba-inc.com> Co-authored-by: StCarmen <1106135234@qq.com> Co-authored-by: LuYi <yilu_2000@outlook.com> Co-authored-by: 刺葳 <ciwei.cy@alibaba-inc.com>
This commit is contained in:
49
alias/frontend/src/components/Artifacts/Tree.scss
Normal file
49
alias/frontend/src/components/Artifacts/Tree.scss
Normal file
@@ -0,0 +1,49 @@
|
||||
// Tree.scss
|
||||
$indent-base: 24px; // Base indent unit
|
||||
|
||||
.node {
|
||||
display: flex !important;
|
||||
align-items: center;
|
||||
// padding: 4px 8px;
|
||||
cursor: pointer;
|
||||
width: 100% !important;
|
||||
box-sizing: border-box;
|
||||
transition: padding 0.2s ease;
|
||||
|
||||
// Dynamically generate level styles (supports 1-8 levels)
|
||||
@for $i from 0 through 100 {
|
||||
&.level-#{$i} {
|
||||
padding-left: ($indent-base * $i) !important;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: var(--message-option-bg-hover);
|
||||
}
|
||||
|
||||
&.selected {
|
||||
background-color: var(--filenode-selected-bg);
|
||||
}
|
||||
|
||||
.node-content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
|
||||
.icon {
|
||||
flex-shrink: 0;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.node-text {
|
||||
font-family: system-ui;
|
||||
font-size: 14px;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user