diff --git a/packages/react-components/src/components/abstract-output-component.tsx b/packages/react-components/src/components/abstract-output-component.tsx
index d35d37568..e97592bc3 100644
--- a/packages/react-components/src/components/abstract-output-component.tsx
+++ b/packages/react-components/src/components/abstract-output-component.tsx
@@ -161,8 +161,12 @@ export abstract class AbstractOutputComponent
- {this.props.pinned === undefined && - this.pinView()}>Pin View
}
- {this.props.pinned === true && - this.unPinView()}>Unpin View
}
+ {this.props.pinned === undefined && - this.pinView()}>
+
Pin View
+ }
+ {this.props.pinned === true && - this.unPinView()}>
+
Unpin View
+ }
{this.state.additionalOptions && this.showAdditionalOptions()}
;
diff --git a/packages/react-components/src/components/datatree-output-component.tsx b/packages/react-components/src/components/datatree-output-component.tsx
index 158477f9d..b2fbe0a3b 100644
--- a/packages/react-components/src/components/datatree-output-component.tsx
+++ b/packages/react-components/src/components/datatree-output-component.tsx
@@ -233,7 +233,9 @@ export class DataTreeOutputComponent extends AbstractOutputComponent
- - this.exportOutput()}>Export to csv
+ - this.exportOutput()}>
+
Export to csv
+
;
}
diff --git a/packages/react-components/src/components/table-output-component.tsx b/packages/react-components/src/components/table-output-component.tsx
index 44bc8909a..e1f8e02b6 100644
--- a/packages/react-components/src/components/table-output-component.tsx
+++ b/packages/react-components/src/components/table-output-component.tsx
@@ -783,7 +783,9 @@ export class TableOutputComponent extends AbstractOutputComponent
{
this.setState({showToggleColumns: !this.state.showToggleColumns});
- }}>Toggle Columns
+ }}>
+ Toggle Columns
+
{this.state.showToggleColumns && {this.renderToggleColumnsTable()}
}
;
diff --git a/packages/react-components/style/output-components-style.css b/packages/react-components/style/output-components-style.css
index 0de6dd194..f46ae6a68 100644
--- a/packages/react-components/style/output-components-style.css
+++ b/packages/react-components/style/output-components-style.css
@@ -41,55 +41,6 @@
.title-bar-label:hover {
background-color: var(--theia-list-hoverBackground);
}
-.remove-component-button:hover {
- cursor: pointer;
- background-color: var(--theia-list-hoverBackground);
-}
-.share-component-container {
- align-self: start;
- justify-self: center;
- position: relative;
- display: inline-block;
-}
-.share-component-button {
- background: none;
- border: none;
- color: var(--theia-ui-font-color0)
-}
-.share-component-button:hover {
- cursor: pointer;
- background-color: var(--theia-list-hoverBackground);
-}
-.share-component-drop-down {
- position: absolute;
- top: 100%;
- left: 50%;
- padding: 0;
- z-index: 2;
- min-width: 180px;
- background: var(--theia-menu-background);
- color: var(--theia-menu-foreground);
- font-size: var(--theia-ui-font-size1);
- box-shadow: 0px 1px 6px var(--theia-widget-shadow);
- border: 1px solid var(--theia-menu-border);
-}
-.share-component-drop-down > ul {
- list-style-type: none;
- margin: 0;
- padding: 0;
- display: table;
- width: 100%;
-}
-.drop-down-list-item {
- padding: 8px 12px;
- background-color: var(--theia-menu-background);
- color: var(--theia-menu-foreground);
-}
-.drop-down-list-item:hover {
- background: var(--theia-menu-selectionBackground);
- color: var(--theia-menu-selectionForeground);
- opacity: 1;
-}
.remove-component-button {
background: none;
border: none;
@@ -353,14 +304,16 @@ canvas {
position: absolute;
top: 0%;
left: 100%;
- padding: 0;
+ padding: 4px 0px;
z-index: 2;
- min-width: 180px;
+ min-width: 170px;
background: var(--theia-menu-background);
color: var(--theia-menu-foreground);
font-size: var(--theia-ui-font-size1);
- box-shadow: 0px 1px 6px var(--theia-widget-shadow);
+ box-shadow: 0px 0px 12px var(--theia-widget-shadow);
border: 1px solid var(--theia-menu-border);
+ outline: none;
+ user-select: none;
}
.options-menu-drop-down > ul {
list-style-type: none;
@@ -370,15 +323,21 @@ canvas {
width: 100%;
}
.drop-down-list-item {
- padding: 8px 12px;
- background-color: var(--theia-menu-background);
- color: var(--theia-menu-foreground);
+ min-height: var(--theia-private-menu-item-height);
+ max-height: var(--theia-private-menu-item-height);
+ padding: 0px;
+ line-height: var(--theia-private-menu-item-height);
+ display: table-row;
}
.drop-down-list-item:hover {
background: var(--theia-menu-selectionBackground);
color: var(--theia-menu-selectionForeground);
+ border: thin solid var(--theia-menu-selectionBorder);
opacity: 1;
}
+.drop-down-list-item-text {
+ padding-left: 18%;
+}
.toggle-columns-table {
height: 150px;
overflow: scroll;
@@ -386,8 +345,8 @@ canvas {
background: var(--theia-menu-background);
color: var(--theia-menu-foreground);
font-size: var(--theia-ui-font-size1);
- box-shadow: 0px 1px 6px var(--theia-widget-shadow);
- border: 1px solid var(--theia-tree-inactiveIndentGuidesStroke);
+ box-shadow: 0px 0px 15px var(--theia-widget-shadow);
+ border: 1px solid var(--theia-menu-border);
}
.react-grid-item:hover {