Skip to content

Commit

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

* 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 authored Aug 9, 2017
1 parent 252024d commit e8d1169
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 @@ -268,6 +268,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 @@ -680,6 +680,9 @@ main {
opacity: 0.35; }
.kuiCollapseButton:hover {
opacity: 1; }
.theme-dark .kuiCollapseButton {
color: #cecece !important;
/* 1 */ }

.kuiColorPicker {
cursor: pointer; }
Expand Down Expand Up @@ -1824,6 +1827,9 @@ main {
.theme-dark .kuiLocalDropdownCloseButton {
color: #cecece !important;
/* 1 */ }
.theme-dark .kuiLocalDropdownCloseButton {
color: #cecece !important;
/* 1 */ }

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

0 comments on commit e8d1169

Please sign in to comment.