File tree Expand file tree Collapse file tree 1 file changed +45
-43
lines changed
src/BootstrapBlazor/Components/TreeView Expand file tree Collapse file tree 1 file changed +45
-43
lines changed Original file line number Diff line number Diff line change 151151 & :not (:hover ) .tree-node-toolbar-edit {
152152 display : none ;
153153 }
154-
155- & .drag-item {
156- opacity : 0.5 ;
157- background-color : #d4edff ;
158- }
159-
160- .tree-node-placeholder {
161- position : absolute ;
162- bottom : -4px ;
163- height : 8px ;
164- left : 0 ;
165- right : 0 ;
166- display : flex ;
167- flex-direction : row ;
168- align-items : center ;
169- pointer-events : none ;
170-
171- .tree-node-ph-circle {
172- width : 8px ;
173- height : 8px ;
174- border-radius : 50% ;
175- background-color : var (--bb-tree-drop-preview-color );
176- }
177-
178- .tree-node-ph-line {
179- flex : 1 ;
180- min-width : 0px ;
181- width : 1% ;
182- height : 2px ;
183- background-color : var (--bb-tree-drop-preview-color );
184- }
185- }
186- }
187-
188- .tree-drop-pass {
189- pointer-events : none ;
190- }
191-
192- & .dragging {
193- .tree-node :not (.drag-item ) {
194- pointer-events : none ;
195- }
196154 }
197155}
198156
243201 }
244202 }
245203
246-
247204 .tree-preview-child-last {
248205 position : absolute ;
249206 top : -2px ;
306263 background-color : var (--bb-tree-drop-preview-color );
307264 }
308265 }
266+
267+ .tree-drop-pass {
268+ pointer-events : none ;
269+ }
270+
271+ & .dragging {
272+ .tree-node :not (.drag-item ) {
273+ pointer-events : none ;
274+ }
275+ }
276+
277+ .tree-node {
278+
279+ & .drag-item {
280+ opacity : 0.5 ;
281+ background-color : #d4edff ;
282+ }
283+
284+ .tree-node-placeholder {
285+ position : absolute ;
286+ bottom : -4px ;
287+ height : 8px ;
288+ left : 0 ;
289+ right : 0 ;
290+ display : flex ;
291+ flex-direction : row ;
292+ align-items : center ;
293+ pointer-events : none ;
294+
295+ .tree-node-ph-circle {
296+ width : 8px ;
297+ height : 8px ;
298+ border-radius : 50% ;
299+ background-color : var (--bb-tree-drop-preview-color );
300+ }
301+
302+ .tree-node-ph-line {
303+ flex : 1 ;
304+ min-width : 0px ;
305+ width : 1% ;
306+ height : 2px ;
307+ background-color : var (--bb-tree-drop-preview-color );
308+ }
309+ }
310+ }
309311}
You can’t perform that action at this time.
0 commit comments