Skip to content

Commit

Permalink
Fix dark theme issues with spy toggle and spy pane (elastic#13345)
Browse files Browse the repository at this point in the history
* Fix dark theme issues with spy toggle and spy pane

* Port dark theme portion of styling kuiIcon into uiFramework library
  • Loading branch information
stacey-gammon committed Oct 12, 2017
1 parent bab251f commit c7cbb62
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ui/public/styles/dark-theme.less
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,10 @@
border-top-color: @visualize-show-spy-border;
}

visualize-spy {
background-color: @visualize-spy-container-pre-bg;
}

.visualize-spy-container {
pre {
border-color: @visualize-show-spy-border;
Expand Down
4 changes: 4 additions & 0 deletions ui_framework/components/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@
&:hover {
opacity: 1;
}

@include darkTheme {
color: $globalTextColor--darkTheme !important; /* 1 */
}
}

/**
Expand Down
6 changes: 6 additions & 0 deletions ui_framework/dist/ui_framework.css
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,9 @@ body {
opacity: 0.35; }
.kuiCollapseButton:hover {
opacity: 1; }
.theme-dark .kuiCollapseButton {
color: #cecece !important;
/* 1 */ }

/**
* 1. If we use margins instead, columns get pushed to the next line.
Expand Down Expand Up @@ -1585,6 +1588,9 @@ body {
.theme-dark .kuiLocalDropdownCloseButton {
color: #cecece !important;
/* 1 */ }
.theme-dark .kuiLocalDropdownCloseButton {
color: #cecece !important;
/* 1 */ }

.kuiLocalDropdownPanels {
display: -webkit-box;
Expand Down

0 comments on commit c7cbb62

Please sign in to comment.