mirror of
https://github.com/mossy1022/Smart-Connections-Visualizer.git
synced 2026-07-22 10:20:27 +00:00
- Update intial values (threhsold + nodesize) - Added filtering + new note changing states - Keeping track of highlighted node id - Fixed node label display + position on hover + drag - Removed label down animation temporarily - Updated the label formating to cut out folders for dispalying central node - Updated smartEng to env - Updated avoid collision to work post refactor with node labels - Commented out multiselect temporarily - Updated UI Icons to match graph view - Updated labels to default upon refresh click - Ensure visualization is empty when nodesdata is empty - Commented out tooltips until we bring them back
186 lines
3.2 KiB
CSS
186 lines
3.2 KiB
CSS
/*
|
|
|
|
This CSS file will be included with your plugin, and
|
|
available in the app when your plugin is enabled.
|
|
|
|
If your plugin does not need CSS, delete this file.
|
|
|
|
*/
|
|
|
|
.link {
|
|
stroke: #4c7787;
|
|
stroke-opacity: 1;
|
|
cursor: pointer;
|
|
}
|
|
.label {
|
|
pointer-events: none;
|
|
fill: #bbb;
|
|
text-shadow: 0px 0px 2px black;
|
|
font-family: 'Cascadia';
|
|
}
|
|
.link-label {
|
|
font-family: 'Cascadia';
|
|
}
|
|
|
|
.node:hover {
|
|
stroke: #fff;
|
|
cursor: pointer;
|
|
stroke-width: 0.4px;
|
|
}
|
|
|
|
svg {
|
|
pointer-events: all;
|
|
}
|
|
|
|
svg .nodes circle {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.node {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.settings-icon {
|
|
position: absolute;
|
|
top: 14px;
|
|
right: 14px;
|
|
cursor: pointer;
|
|
font-size: 24px;
|
|
color: #bbb;
|
|
z-index: 999; /* Ensure the icon stays above other elements */
|
|
}
|
|
.dropdown-menu {
|
|
font-family: 'Cascadia';
|
|
display: none;
|
|
position: absolute;
|
|
top: 13px; /* Position on top of the settings icon */
|
|
right: 10px;
|
|
background-color: #333;
|
|
border: 1px solid #444;
|
|
border-radius: 5px;
|
|
padding: 10px;
|
|
width: 300px;
|
|
z-index: 1000; /* Ensure the menu stays above other elements */
|
|
}
|
|
.dropdown-menu {
|
|
background-color: rgba(51, 51, 51, 0.9) !important;
|
|
}
|
|
|
|
.dropdown-menu.visible {
|
|
display: block !important;
|
|
}
|
|
.dropdown-menu.open {
|
|
display: block !important;
|
|
}
|
|
.menu-header {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
margin-bottom: 5px;
|
|
font-family: sans-serif;
|
|
}
|
|
.menu-header .icon {
|
|
cursor: pointer;
|
|
font-size: 19px;
|
|
color: #bbb;
|
|
margin-left: 10px;
|
|
margin-top: -2px;
|
|
}
|
|
.menu-header .icon:hover {
|
|
color: #fff;
|
|
}
|
|
.accordion-item {
|
|
margin-bottom: 10px;
|
|
color: #a3aecb;
|
|
}
|
|
|
|
.slider {
|
|
width: 100% !important;
|
|
}
|
|
|
|
.slider-container {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
#score-threshold-label {
|
|
text-wrap: nowrap;
|
|
}
|
|
|
|
#refresh-icon {
|
|
font-size: 28px;
|
|
margin-top: -9px;
|
|
}
|
|
|
|
.lucide-x {
|
|
height: 24px !important;
|
|
width: 24px !important;
|
|
}
|
|
|
|
.workspace-leaf-content {
|
|
background-color: #2d3039 !important;
|
|
}
|
|
|
|
.settings-icon {
|
|
-webkit-app-region: no-drag;
|
|
background-color: transparent;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
border-radius: 1px;
|
|
color: #7c849c;
|
|
/* opacity: var(--icon-opacity); */
|
|
transition: opacity 0.15s ease-in-out;
|
|
height: auto;
|
|
border: 1px solid #434851;
|
|
position: absolute;
|
|
padding: 8px;
|
|
top: 14px;
|
|
right: 14px;
|
|
}
|
|
|
|
.accordion-header {
|
|
cursor: pointer;
|
|
background-color: #444;
|
|
color: #fff;
|
|
padding: 10px;
|
|
border-radius: 5px;
|
|
display: block;
|
|
align-items: center;
|
|
}
|
|
.accordion-header:hover {
|
|
background-color: #555;
|
|
}
|
|
.accordion-content {
|
|
display: none;
|
|
padding: 10px;
|
|
background-color: #333;
|
|
border-radius: 5px;
|
|
}
|
|
.accordion-content.show {
|
|
display: block;
|
|
}
|
|
.dropdown-indicator {
|
|
width: 16px;
|
|
height: 16px;
|
|
margin-right: 8px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.radio-container {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.radio-container label {
|
|
margin-right: 10px;
|
|
color: #a3aecb;
|
|
}
|
|
|
|
.settings-item-content-label {
|
|
margin-right: 20px;
|
|
}
|
|
|
|
.selection-box {
|
|
stroke: #00f;
|
|
stroke-width: 1;
|
|
fill: rgba(0, 0, 255, 0.3);
|
|
}
|