File size: 1,045 Bytes
b0c3c39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/* Simple one-box layout for React Flow node */
.editable-color-node {
    padding: 10px 20px;
    border-radius: 8px;
    min-width: 150px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.editable-color-node:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.editable-color-node.selected {
    border-color: #2196f3;
}

/* Label style inside the node */
.editable-color-node-label {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    cursor: text;
    padding: 4px;
    border-radius: 4px;
}

.editable-color-node-label:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Input style for editing the label */
.editable-color-node-label-input {
    width: 100%;
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
}

.editable-color-node-label-input:focus {
    border-color: #2196f3;
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.2);
}