Skip to content
52 changes: 52 additions & 0 deletions packages/theia-integration/css/smart-connector.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
/* expand button */

#smart-connector-expand-button {
border-radius: 50%;
border: 1px solid black;
background: var(--theia-titleBar-activeBackground);
color: var(--theia-titleBar-activeForeground);
}

/* container */

.smart-connector-search {
background: var(--theia-input-background);
color: var(--theia-input-foreground);
border: var(--theia-border-width) solid var(--theia-input-border);
font-family: var(--theia-ui-font-family);
font-size: var(--theia-ui-font-size1);
line-height: var(--theia-content-line-height);
}

.smart-connector-group-header {
background: var(--theia-titleBar-activeBackground);
color: var(--theia-titleBar-activeForeground);
}

.smart-connector-group-container {
border-left: 1px solid black;
border-right: 1px solid black;
background: var(--theia-menu-background);
color: var(--theia-titleBar-activeForeground);
max-width: 200px;

/* display: flex; */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove it if it is not required.

}

/* scrollbar */
.smart-connector-group::-webkit-scrollbar {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

display: none;
}

.smart-connector-button {
border-top: 1px solid black;
opacity: 0.8;
}

.smart-connector-button:hover:not(.clicked) {
background: var(--theia-list-hoverBackground);
}

.smart-connector-group-header:hover:not(.clicked) {
background: var(--theia-menubar-selectionBackground);
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import '../../css/decoration.css';
import '../../css/diagram.css';
import '../../css/theia-dialogs.css';
import '../../css/tool-palette.css';
import '../../css/smart-connector.css';
import {
GLSPContribution,
WebSocketConnectionInfo,
Expand Down