Skip to content

Commit

Permalink
perf: view tab color
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuler committed Jul 8, 2024
1 parent c40770d commit bb0f968
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/app/elements/content/content-tab/content-tab.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ li {
&.active {
box-sizing: border-box;
border-bottom: 2px solid var(--primary-color);

span {
color: var(--el-header-tab-icon-color);
}
}

&:hover {
span {
color: var(--el-header-tab-icon-color);
}
}

&.disconnected {
Expand All @@ -34,7 +44,7 @@ li {
white-space: nowrap;
font-size: 13px;
cursor: default;
color: var(--el-header-tab-icon-color);
color: #cacaca;

.view_icon {
margin-right: 5px;
Expand Down
1 change: 1 addition & 0 deletions src/app/elements/content/content.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ $-border-y: var(--el-main-bg-color);
font-size: 20px;
color: var(--el-header-tab-icon-color);
background-color: var(--el-header-tab-item-bg-color);
cursor: pointer;

.right {
padding-left: 5px;
Expand Down

0 comments on commit bb0f968

Please sign in to comment.