Сборка фронт части
This commit is contained in:
parent
43f0bc1cdc
commit
dfbd387fae
176 changed files with 7839 additions and 1032 deletions
108
FRONT/BUILD/resources/app/src/assets/css/flow.css
Normal file
108
FRONT/BUILD/resources/app/src/assets/css/flow.css
Normal file
|
|
@ -0,0 +1,108 @@
|
|||
.react-flow {
|
||||
/* Custom Variables */
|
||||
--xy-theme-selected: #F57DBD;
|
||||
--xy-theme-hover: #C5C5C5;
|
||||
--xy-theme-edge-hover: black;
|
||||
--xy-theme-color-focus: #E8E8E8;
|
||||
|
||||
/* Built-in Variables see https://reactflow.dev/learn/customization/theming */
|
||||
--xy-node-border-default: 1px solid #EDEDED;
|
||||
|
||||
/* --xy-node-boxshadow-default:
|
||||
0px 3.54px 4.55px 0px #00000005,
|
||||
0px 3.54px 4.55px 0px #0000000D,
|
||||
0px 0.51px 1.01px 0px #0000001A; */
|
||||
|
||||
--xy-node-border-radius-default: 8px;
|
||||
|
||||
--xy-handle-background-color-default: #ffffff;
|
||||
--xy-handle-border-color-default: #AAAAAA;
|
||||
|
||||
--xy-edge-label-color-default: #505050;
|
||||
}
|
||||
|
||||
.react-flow.dark {
|
||||
--xy-node-boxshadow-default:
|
||||
0px 3.54px 4.55px 0px rgba(255, 255, 255, 0.05), /* light shadow */
|
||||
0px 3.54px 4.55px 0px rgba(255, 255, 255, 0.13), /* medium shadow */
|
||||
0px 0.51px 1.01px 0px rgba(255, 255, 255, 0.2); /* smallest shadow */
|
||||
--xy-theme-color-focus: #535353;
|
||||
}
|
||||
|
||||
/* Customizing Default Theming */
|
||||
|
||||
.react-flow__node {
|
||||
/* box-shadow: var(--xy-node-boxshadow-default);
|
||||
border-radius: var(--xy-node-border-radius-default);
|
||||
background-color: var(--xy-node-background-color-default); */
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
flex-direction: column;
|
||||
/* border: var(--xy-node-border-default);
|
||||
color: var(--xy-node-color, var(--xy-node-color-default)); */
|
||||
pointer-events: all;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.react-flow__node.selectable:focus {
|
||||
box-shadow: 0px 0px 0px 4px var(--xy-theme-color-focus);
|
||||
border-color: #d9d9d9;
|
||||
}
|
||||
|
||||
.react-flow__node.selectable:focus:active {
|
||||
box-shadow: var(--xy-node-boxshadow-default);
|
||||
}
|
||||
|
||||
|
||||
.react-flow__node.selectable:hover,
|
||||
.react-flow__node.draggable:hover {
|
||||
border-color: var(--xy-theme-hover);
|
||||
}
|
||||
|
||||
.react-flow__node.selectable.selected {
|
||||
border-color: var(--xy-theme-selected);
|
||||
box-shadow: var(--xy-node-boxshadow-default);
|
||||
}
|
||||
|
||||
.react-flow__node-group {
|
||||
background-color: rgba(207, 182, 255, 0.4);
|
||||
border-color: #9E86ED;
|
||||
}
|
||||
|
||||
.react-flow__edge.selectable:hover .react-flow__edge-path,
|
||||
.react-flow__edge.selectable.selected .react-flow__edge-path {
|
||||
stroke: var(--xy-theme-edge-hover);
|
||||
}
|
||||
|
||||
.react-flow__handle {
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
}
|
||||
|
||||
.react-flow__handle.connectionindicator:hover {
|
||||
pointer-events: all;
|
||||
border-color: var(--xy-theme-edge-hover);
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.react-flow__handle.connectionindicator:focus ,
|
||||
.react-flow__handle.connectingfrom,
|
||||
.react-flow__handle.connectingto {
|
||||
border-color: var(--xy-theme-edge-hover);
|
||||
}
|
||||
|
||||
.react-flow__node-resizer {
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.react-flow__resize-control.handle {
|
||||
background-color: #ffffff;
|
||||
border-color: #9E86ED;
|
||||
border-radius: 0;
|
||||
width: 5px;
|
||||
height: 5px;
|
||||
}
|
||||
36
FRONT/BUILD/resources/app/src/assets/css/index.css
Normal file
36
FRONT/BUILD/resources/app/src/assets/css/index.css
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
html,
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: sans-serif;
|
||||
box-sizing: border-box;
|
||||
min-height: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#root{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#app {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
button{
|
||||
background-color: #006666;
|
||||
border: none;
|
||||
padding: 6px 10px;
|
||||
border-radius: 8px;
|
||||
color: white;
|
||||
font-size: 14px;
|
||||
cursor: pointer;
|
||||
|
||||
&:hover{
|
||||
background-color: #255252;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue