Skip to content

Commit

Permalink
Fix up the dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
mofojed committed Oct 3, 2023
1 parent c20eddd commit 6ced152
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions packages/golden-layout/scss/goldenlayout-dark-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ body:not(.lm_dragging) .lm_header .lm_tab .lm_close_tab:hover {
// Single Pane content (area in which final dragged content is contained)
.lm_content {
background: $content-bg;
overflow: visible;
}

// Single Pane content during Drag (style of moving window following mouse)
Expand Down Expand Up @@ -163,7 +162,9 @@ body:not(.lm_dragging) .lm_header .lm_tab .lm_close_tab:hover {
margin: 0;
padding: 0 $spacer-1 0 $spacer-2;
box-shadow: inset -1px -1px 0 0 $background; // acting as bottom and right border
transition: color $transition, background-color $transition;
transition:
color $transition,
background-color $transition;
max-width: 12rem;
white-space: nowrap;
overflow: hidden;
Expand Down Expand Up @@ -224,7 +225,9 @@ body:not(.lm_dragging) .lm_header .lm_tab .lm_close_tab:hover {
box-shadow: inset -1px 0 0 0 $background; // act as right border only when active
// also kills the default shadow, doesn't work well with our design
&.lm_focusin {
box-shadow: inset 0 1px $primary, inset -1px 0 0 0 $background; // top focus indicator, right border
box-shadow:
inset 0 1px $primary,
inset -1px 0 0 0 $background; // top focus indicator, right border
}
}

Expand Down

0 comments on commit 6ced152

Please sign in to comment.