.dscAppWrapper { display: flex; flex-direction: column; flex-grow: 1; overflow: hidden; } .dscAppContainer { > * { position: relative; } } discover-app { flex-grow: 1; } .dscHistogram { display: flex; height: 200px; padding: $euiSizeS; } // SASSTODO: replace the z-index value with a variable .dscWrapper { padding-left: $euiSizeXL; padding-right: $euiSizeS; z-index: 1; @include euiBreakpoint("xs", "s", "m") { padding-left: $euiSizeS; } } @include euiPanel(".dscWrapper__content"); .dscWrapper__content { padding-top: $euiSizeXS; background-color: $euiColorEmptyShade; .osd-table { margin-bottom: 0; } } .dscTimechart { display: block; position: relative; // SASSTODO: the visualizing component should have an option or a modifier .series > rect { fill-opacity: 0.5; stroke-width: 1; } } .dscResultCount { padding-top: $euiSizeXS; } .dscTimechart__header { display: flex; justify-content: center; min-height: $euiSizeXXL; padding: $euiSizeXS 0; } .dscOverlay { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 20; padding-top: $euiSizeM; opacity: 0.75; text-align: center; background-color: transparent; } .dscTable { overflow: auto; // SASSTODO: add a monospace modifier to the doc-table component .osdDocTable__row { font-family: $euiCodeFontFamily; font-size: $euiFontSizeXS; } } // SASSTODO: replace the padding value with a variable .dscTable__footer { background-color: $euiColorLightShade; padding: 5px 10px; text-align: center; } .dscResults { h3 { margin: -20px 0 10px; text-align: center; } } .dscResults__interval { display: inline-block; width: auto; } .dscSkipButton { position: absolute; right: $euiSizeM; top: $euiSizeXS; } .dscTableFixedScroll { overflow-x: auto; padding-bottom: 0; + .dscTableFixedScroll__scroller { position: fixed; bottom: 0; overflow-x: auto; overflow-y: hidden; } } .dscCollapsibleSidebar { position: relative; z-index: $euiZLevel1; .dscCollapsibleSidebar__collapseButton { position: absolute; top: 0; right: -$euiSizeXL + 4; cursor: pointer; z-index: -1; min-height: $euiSizeM; min-width: $euiSizeM; padding: $euiSizeXS * 0.5; } &.closed { width: 0 !important; border-right-width: 0; border-left-width: 0; .dscCollapsibleSidebar__collapseButton { right: -$euiSizeL + 4; } } } @include euiBreakpoint("xs", "s", "m") { .dscCollapsibleSidebar { &.closed { display: none; } .dscCollapsibleSidebar__collapseButton { display: none; } } }