mirror of
https://github.com/bunny-lab-io/Borealis.git
synced 2025-07-27 06:38:29 -06:00
215 lines
5.1 KiB
CSS
215 lines
5.1 KiB
CSS
/* ///////// PROJECT FILE SEPARATION LINE ////////// CODE AFTER THIS LINE ARE FROM: <ProjectRoot>/Data/WebUI/src/Borealis.css
|
|
|
|
/* ======================================= */
|
|
/* FLOW EDITOR */
|
|
/* ======================================= */
|
|
|
|
/* FlowEditor background container */
|
|
.flow-editor-container {
|
|
position: relative;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
}
|
|
|
|
/* Blue Gradient Overlay */
|
|
.flow-editor-container::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
pointer-events: none;
|
|
background: linear-gradient(
|
|
to bottom,
|
|
rgba(9, 44, 68, 0.9) 0%,
|
|
rgba(30, 30, 30, 0) 45%,
|
|
rgba(30, 30, 30, 0) 75%,
|
|
rgba(9, 44, 68, 0.7) 100%
|
|
);
|
|
z-index: -1;
|
|
}
|
|
|
|
/* ======================================= */
|
|
/* NODE SIDEBAR */
|
|
/* ======================================= */
|
|
|
|
/* Emphasize Drag & Drop Node Functionality */
|
|
.sidebar-button:hover {
|
|
background-color: #2a2a2a !important;
|
|
box-shadow: 0 0 5px rgba(88, 166, 255, 0.3);
|
|
cursor: grab;
|
|
}
|
|
|
|
/* ======================================= */
|
|
/* NODES */
|
|
/* ======================================= */
|
|
|
|
/* Borealis Node Styling */
|
|
.borealis-node {
|
|
background: #2c2c2c;
|
|
border: 1px solid #3a3a3a;
|
|
border-radius: 4px;
|
|
color: #ccc;
|
|
font-size: 12px;
|
|
min-width: 160px;
|
|
max-width: 260px;
|
|
position: relative;
|
|
box-shadow: 0 0 5px rgba(88, 166, 255, 0.15),
|
|
0 0 10px rgba(88, 166, 255, 0.15);
|
|
transition: box-shadow 0.3s ease-in-out;
|
|
}
|
|
.borealis-node-header {
|
|
background: #232323;
|
|
padding: 6px 10px;
|
|
border-top-left-radius: 4px;
|
|
border-top-right-radius: 4px;
|
|
font-weight: bold;
|
|
color: #58a6ff;
|
|
font-size: 10px;
|
|
}
|
|
.borealis-node-content {
|
|
padding: 10px;
|
|
font-size: 9px;
|
|
}
|
|
.borealis-handle {
|
|
background: #58a6ff;
|
|
width: 10px;
|
|
height: 10px;
|
|
}
|
|
|
|
/* Global dark form inputs */
|
|
input,
|
|
select,
|
|
button {
|
|
background-color: #1d1d1d;
|
|
color: #ccc;
|
|
border: 1px solid #444;
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* Label / Dark Text styling */
|
|
label {
|
|
color: #aaa;
|
|
font-size: 9px;
|
|
}
|
|
|
|
/* Node Header - Shows drag handle cursor */
|
|
.borealis-node-header {
|
|
cursor: grab;
|
|
}
|
|
|
|
/* Optional: when actively dragging */
|
|
.borealis-node-header:active {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
/* Node Body - Just pointer, not draggable */
|
|
.borealis-node-content {
|
|
cursor: default;
|
|
}
|
|
|
|
/* ======================================= */
|
|
/* FLOW TABS */
|
|
/* ======================================= */
|
|
|
|
/* Multi-Tab Bar Adjustments */
|
|
.MuiTabs-root {
|
|
min-height: 32px !important;
|
|
}
|
|
|
|
.MuiTab-root {
|
|
min-height: 32px !important;
|
|
padding: 6px 12px !important;
|
|
color: #58a6ff !important;
|
|
text-transform: none !important;
|
|
}
|
|
|
|
/* Highlight tab on hover if it's not active */
|
|
.MuiTab-root:hover:not(.Mui-selected) {
|
|
background-color: #2C2C2C !important;
|
|
}
|
|
|
|
/* We rely on the TabIndicatorProps to show the underline highlight for active tabs. */
|
|
|
|
/* ======================================= */
|
|
/* REACT-SIMPLE-KEYBOARD */
|
|
/* ======================================= */
|
|
|
|
/* keyboard-dark-theme.css */
|
|
|
|
/* react-simple-keyboard dark theming */
|
|
.hg-theme-dark {
|
|
background-color: #1e1e1e;
|
|
border: 1px solid #444;
|
|
}
|
|
|
|
.hg-button {
|
|
background: #2c2c2c;
|
|
color: #ccc;
|
|
border: 1px solid #444;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.hg-button:hover {
|
|
background: #58a6ff;
|
|
color: #000;
|
|
border-color: #58a6ff;
|
|
}
|
|
|
|
.borealis-keyboard .hg-button.hg-standardBtn {
|
|
border-radius: 3px;
|
|
}
|
|
|
|
/* Force rows to appear horizontally */
|
|
.simple-keyboard-main .hg-row {
|
|
display: flex !important;
|
|
flex-flow: row wrap;
|
|
justify-content: center;
|
|
}
|
|
|
|
/* Slight spacing around each key (optional) */
|
|
.simple-keyboard-main .hg-row .hg-button {
|
|
margin: 3px !important;
|
|
}
|
|
|
|
/* Keep the entire keyboard from shrinking or going vertical */
|
|
.simple-keyboard-main {
|
|
display: inline-block !important;
|
|
width: auto !important;
|
|
max-width: 1000px; /* or whatever max width you like */
|
|
}
|
|
|
|
/* ======================================= */
|
|
/* NUMBER INPUT SPINNER OVERRIDE */
|
|
/* ======================================= */
|
|
|
|
input[type="number"] {
|
|
background-color: #2c2c2c;
|
|
color: #ccc;
|
|
border: 1px solid #444;
|
|
padding: 4px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* Webkit browsers */
|
|
input[type="number"]::-webkit-inner-spin-button,
|
|
input[type="number"]::-webkit-outer-spin-button {
|
|
appearance: none;
|
|
background-color: #2c2c2c;
|
|
border-left: 1px solid #444;
|
|
border-right: 1px solid #444;
|
|
height: 100%;
|
|
width: 16px;
|
|
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='12' height='12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 4l3 3H3z' fill='%2358a6ff'/%3E%3Cpath d='M6 8l3-3H3z' fill='%2358a6ff'/%3E%3C/svg%3E");
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
background-size: 10px 10px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* Firefox */
|
|
input[type="number"] {
|
|
-moz-appearance: textfield;
|
|
}
|
|
|