schangxiang@126.com
2025-05-07 cace264ad9d86a7831099810b079da1141957add
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
.tools {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  width: 46px;
  position: absolute;
  left: 0px;
  top: 340px;
  z-index: 99;
  border-radius: 5px;
  height: auto;
  background-color: #fff;
  user-select: none;
 
  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12),
    0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
  // border: 1px solid #e2e2e2;
  // box-shadow: 0px 1px 5px #aaa;
  .box {
    width: 39px;
    height: 39px;
    flex-shrink: 0;
    display: flex;
    flex-shrink: 1;
    justify-content: center;
    align-items: center;
    cursor: pointer;
 
    &:hover {
      color: #5a84ff;
    }
    &:active {
      opacity: 0.7;
    }
    > span {
      font-size: 10px;
    }
    .icon {
      width: 26px;
      height: 26px;
      padding: 4px;
      border-radius: 4px;
      display: flex;
      justify-content: center;
      align-items: center;
 
      &:hover {
        .img {
          filter: invert(50%) sepia(45%) saturate(3890%) hue-rotate(208deg)
            brightness(102%) contrast(106%);
        }
      }
    }
    .selectNode {
      background-color: rgba(90, 132, 255, 0.9);
      .img {
        filter: invert(100%) sepia(6%) saturate(7478%) hue-rotate(180deg)
          brightness(101%) contrast(106%);
      }
      &:hover {
        background-color: rgba(90, 132, 255, 0.9);
        .img {
          filter: invert(100%) sepia(6%) saturate(7478%) hue-rotate(180deg)
            brightness(101%) contrast(106%);
        }
      }
    }
  }
  .nodeBox {
    width: 100%;
    height: 45px;
    flex-direction: column;
  }
  .boxLi {
    width: 100%;
    height: 45px;
    font-size: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    > span {
      margin-top: 2px;
    }
  }
}
.popover {
  padding-right: 0 !important;
}
.nodes {
  width: 100%;
  max-height: 350px;
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  // border-radius: 5px;
  // position: absolute;
  // border: 1px solid #e2e2e2;
  // left: 85px;
  // top: 56px;
  z-index: 9;
  overflow: auto;
  background-color: #fff;
 
  .ul {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    flex: 1;
 
    .li {
      width: 154px;
      height: 30px;
      list-style-type: none;
      font-size: 12px;
      color: #333;
      display: flex;
      align-items: center;
      padding: 5px 10px;
      border: 1px solid #ddd;
      border-radius: 5px;
      // box-shadow: 0px 1px 3px #ccc;
      cursor: pointer;
      margin: 0 5px;
      margin-top: 5px;
      cursor: move;
 
      .icon {
        margin-right: 10px;
      }
      &:hover {
        color: #5a84ff;
        border: 1px solid #5b8ff9;
      }
    }
  }
}
.hoverEdge {
  filter: brightness(2.5);
}
.hide {
  display: none;
}
.boxShow {
  color: rgba(90, 132, 255);
  .icon {
    background-color: rgba(90, 132, 255);
  }
  .img {
    filter: brightness(2.5);
  }
}