Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[6.4] Fix #21355, visualization controls showing up in reports (#21362) #21429

Merged
merged 1 commit into from
Jul 30, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -42,27 +42,31 @@ discover-app .discover-table-footer {
display: none;
}


/**
* The global banner (e.g. "Help us improve Elastic...") should not print.
*/
#globalBannerList {
display: none;
}

/**
* Visualize Editor Tweaks
*/

/* hide unusable controls */
visualize-app
visualize
> :not(.vis-editor-content):not(.vis_editor)/* all non-content rows in interface */,
visualize-app
visualize
.vis-editor-content
.default-vis-editor
> :not(.vis-editor-canvas):not(.vis_editor) {
display: none;
visualization-editor .default-vis-editor > :not(.vis-editor-canvas) {
display: none;
}

/** THIS IS FOR TSVB UNTIL REFACTOR **/
.vis_editor__visualization {
position: static !important;
position: static !important;
}
.visualize .rhythm_chart__legend-control,
.vis-editor-hide-for-reporting {
/* all non-content rows in interface */
display: none;
/* all non-content rows in interface */
display: none;
}
/** END TSVB BAD BAD HACKS **/

Expand All @@ -82,15 +86,15 @@ visualize-app .vis-editor-canvas {
*/

/* hide unusable controls */
visualize .legend-toggle,
visualize .agg-table-controls/* export raw, export formatted, etc. */ ,
visualize .leaflet-container .leaflet-top.leaflet-left/* tilemap controls */ ,
visualize paginate-controls /* page numbers */ {
.visualize .legend-collapse-button,
.visualize .agg-table-controls/* export raw, export formatted, etc. */ ,
.visualize .leaflet-container .leaflet-top.leaflet-left/* tilemap controls */ ,
.visualize paginate-controls /* page numbers */ {
display: none;
}

/* slightly increate legend text size for readability */
visualize visualize-legend .legend-value-title {
.visualize visualize-legend .legend-value-title {
font-size: 1.2em;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,24 +41,27 @@ discover-app .discover-table-footer {
display: none;
}

/**
* The global banner (e.g. "Help us improve Elastic...") should not print.
*/

#globalBannerList {
display: none;
}

/**
* Visualize Editor Tweaks
*/

/* hide unusable controls */
visualize-app
visualize
> :not(.vis-editor-content):not(.vis_editor)/* all non-content rows in interface */,
visualize-app
visualize
.vis-editor-content
.default-vis-editor
> :not(.vis-editor-canvas):not(.vis_editor) {
visualization-editor .default-vis-editor > :not(.vis-editor-canvas) {
display: none;
}
/** THIS IS FOR TSVB UNTIL REFACTOR **/
.vis_editor__visualization {
position: static !important;
}
.visualize .rhythm_chart__legend-control,
.vis-editor-hide-for-reporting {
/* all non-content rows in interface */
display: none;
Expand All @@ -82,15 +85,15 @@ visualize-app .vis-editor-canvas {
*/

/* hide unusable controls */
visualize .legend-toggle,
visualize .agg-table-controls/* export raw, export formatted, etc. */,
visualize .leaflet-container .leaflet-top.leaflet-left/* tilemap controls */,
visualize paginate-controls {
.visualize .legend-collapse-button,
.visualize .agg-table-controls/* export raw, export formatted, etc. */,
.visualize .leaflet-container .leaflet-top.leaflet-left/* tilemap controls */,
.visualize paginate-controls {
display: none;
}

/* slightly increate legend text size for readability */
visualize visualize-legend .legend-value-title {
.visualize visualize-legend .legend-value-title {
font-size: 1.2em;
}

Expand Down