Skip to content

Commit

Permalink
Fix DockPanel Tab Styles
Browse files Browse the repository at this point in the history
Tweaked styles to re-use fluentui styles

Signed-off-by: Gordon Smith <[email protected]>
  • Loading branch information
GordonSmith committed Dec 11, 2023
1 parent bc9616b commit 2db6cef
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions esp/src/eclwatch/css/hpcc.css
Original file line number Diff line number Diff line change
Expand Up @@ -1322,7 +1322,7 @@ table.miniSelect span {
left: 0;
right: 0;
height: auto;
border-color: rgb(158, 158, 158);
border-style: none;
}

.flat .dgrid-page-size {
Expand Down Expand Up @@ -1928,22 +1928,28 @@ span.dijitReset.dijitInline.dijitIcon.fa.disabled {
border-top: 4px solid white;
}

.flat .phosphor_WidgetAdapter {
background: inherit;
.flat .phosphor_WidgetAdapter.p-DockPanel-widget {
border-top: none;
box-shadow: 0 -1px var(--colorNeutralStroke1), var(--shadow2);
}

.flat .p-TabBar-tab {
background: rgb(229, 229, 229);
.flat .phosphor_WidgetAdapter {
background-color: var(--colorNeutralBackground1);
border-color: var(--colorNeutralStroke1)
}

.flat-dark .p-TabBar-tab {
background: rgb(48, 48, 48);
.flat .p-TabBar-tab {
background-color: var(--colorNeutralBackground3);
border-bottom-style: solid;
border-color: var(--colorNeutralStroke1);
border-width: 1px;
}

.flat-dark .p-TabBar-tab:hover:not(.p-mod-current) {
background: rgb(72, 72, 72);
.flat .p-TabBar-tab:hover:not(.p-mod-current) {
background-color: var(--colorNeutralBackground3Hover);
}

.flat .p-TabBar-tab.p-mod-current {
background: inherit;
background-color: var(--colorNeutralBackground1);
border-bottom-color: var(--colorNeutralStroke1);
}

0 comments on commit 2db6cef

Please sign in to comment.